Posted By

batfan on 02/17/11


Tagged

htaccess joomla


Versions (?)

HTACCESS - Joomla index.php Fix


 / Published in: Apache
 

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

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

Report this snippet  

You need to login to post a comment.