Forum Moderators: phranque
RewriteCond %{THE_REQUEST} ^[A-Z]+\ /index\.php(\%(25)*3[Ff]([^\ ]*))?\ HTTP/
RewriteRule ^index\.php http://www.example.com/?%3 [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]+\ /index\.php\%(25)*3[Ff]([^\ ]*)\ HTTP/
RewriteRule ^index\.php http://www.example.com/index.php?%2 [R=301,L]
/index.php?option=com_frontpage and /index.php?option=com_frontpage&Itemid=1 requiring more complicated redirects than you might first imagine.