Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- PHP5.3, htaccess, and removing index.php


Marked - 12:21 am on Dec 18, 2012 (gmt 0)


The question was the simple case of removing index.php from the URL, but when i made the topic I wasn't aware that it wasn't a htaccess issue.

The site was showing the homepage because $_SERVER["PATH_INFO"] was always empty without index.php. The framework I'm using relies on $_SERVER["PATH_INFO"] to know what php classes to load. Eg /{controller}/{function}/{variable}

I'm not sure I need to redirect those URLs because none of my pages have ever linked to a URL with index.php in it. Furthermore they're returning a 404 error and most of my pages have rel canonical set.


Thread source:: http://www.webmasterworld.com/apache/4528625.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com