I.E. page1.php you could just go to domain.com/page1 and it would load the page1.php
picture.png would load with just domain.com/picture
Currently the pictures still do it. However, the php files do not, it goes now to my 404 page.
Sorry if I wasn't very clear above.
right now the one I have most recently tried is:
- Code: Select all
RewriteEngine on
RewriteBase /
RewriteRule ^(.*)\.html$ $1.php [L]
Whenever I go to my pages it doesn't go to a 404 instead it says "No input file specified."