Reading a recent post of g1smd, and looking back at the Joomla .htaccess file, I see the recommended order looks like it should be:
# Begin - Common Exploits
# Begin - Redirect index.php to /
# Begin - Redirect non-www to www
# Begin - Common Exploits
# Begin - Joomla! core SEF Section
Going back to one of the other questions, as I've found a second solution to this code:
RewriteCond %{QUERY_STRING} ^option=com_rss&feed=RSS2.0&no_html=1$ [OR]
RewriteCond %{QUERY_STRING} ^option=option=com_rss&no_html=1$ [OR]
RewriteCond %{QUERY_STRING} ^option=com_rss&no_html=1$ [OR]
RewriteCond %{QUERY_STRING} ^option=com_rss&feed=RSS2.0$ [OR]
RewriteCond %{QUERY_STRING} ^option=com_rss&feed=RSS2.0&no_html=0$ [OR]
RewriteCond %{QUERY_STRING} ^option=com_rss&feed=RSS1.0&no_html=1$ [OR]
RewriteCond %{QUERY_STRING} ^option=com_rss&%25253bfeed=RSS2.0&%25253bno_html=1$ [OR]
RewriteCond %{QUERY_STRING} ^option=com_rss&feed=RSS2.0&no_html=1$
RewriteRule ^index2\.php$ /rss.feed? [R=301,L]
Option 1:
RewriteCond %{QUERY_STRING} ^option=com_rss(.+)$
RewriteRule ^index2\.php$ /rss.feed? [R=301,L]
Option 2:
RewriteCond %{QUERY_STRING} ^(.*&)?option=com_rss(&.*?$ [NC]
RewriteRule ^index2\.php$ /rss.feed? [R=301,L]
Option 3:
RewriteCond %{QUERY_STRING} ^/index.php?option=com_rss(.*) [NC]
RewriteRule ^index2\.php$ /rss.feed? [R=301,L]
The other question about this is remains too:
I also saw warning by g1smd that if:
RewriteCond %{THE_REQUEST}
I think it was Lucy24 that pointed to a site where regular expressions was explained (university of virginia). I never understood what this was doing until I read that post. The question above really has to do with the explanatino of wildcards, which I still have yet to find a good explanation.
I've disabled smiles, but in preview it looks like it might post in the above so I placed it in "code."
Again, thanks in advance with the above. I don't know what happened to Jim, his last post was about 7 months ago. Looks like g1smd and Lucy 24 have been holding down the fort. (I do hope nothing is wrong with Jim if I missed it, apologies to all).
Bill