Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Shortening index.php?var= in the URL


hottrout - 3:40 pm on Nov 4, 2011 (gmt 0)


I understand. Thanks for clearing that up. Is it good practice or does it provide a google url benefit to remove the index.php from the url?

Also can I modify this command in the root htaccess to do the job of both?

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ ([^/]+/)*index\.php\ HTTP/
RewriteRule ^(([^/]+/)*)index\.php$ http://www.example.com/$1 [R=301,L]


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