I want to be able to go to
www.mysite.com/webpage and it load webpage.php or webpage.html (whichever the file is). The htaccess file currently has Code: --------- RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond...
I want to be able to go to
www.mysite.com/webpage and it load webpage.php or webpage.html (whichever the file is). The htaccess file currently has
Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.html [L,QSA]
in it but when I added the php version
Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.php [L,QSA]
of that underneath it, it did not allow the php file to be brought up.