When I access my website, apache automatically loads the index.php
page.
Is it possible to change this in htaccess
?
I want it to always look for the Login.php
page.
When I access my website, apache automatically loads the index.php
page.
Is it possible to change this in htaccess
?
I want it to always look for the Login.php
page.
Your htaccess must be root (public_html, I believe). Try this in your .htaccess:
DirectoryIndex Login.php
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ NomeDoArquivoAqui/$1 [L]
In FileNameHere you put the name of the file you want to redirect, Login.php
for example.