Return to Snippet

Revision: 41372
at February 17, 2011 03:45 by batfan

Initial Code
RewriteCond %{THE_REQUEST} ^[A-Z]+\ /index\.php(/[^\ ]*)?\ HTTP/
RewriteRule ^index\.php(/(.*))?$ /$2 [R=301,L]

Initial URL

Initial Description
When using Joomla, allows you to redirect index.php to the root ( to prevent duplicate content ), without affecting the Joomla admin.

Initial Title
HTACCESS - Joomla index.php Fix

Initial Tags
htaccess, joomla

Initial Language