extensionless url on apache - 404 error
Posted on 2008-10-17
Hi, I was testing a website in my local server and I was able to transform url such as: /index.php or /logout.php into /index and /logout (without extension). Now I moved my site online and I have a 404 for those pages.
This is my .htaccess:
RewriteRule ^login$ login.php [L]
RewriteRule ^logout$ logout.php [L]
RewriteRule ^home$ index.php [L]