Created
August 9, 2012 02:05
-
-
Save marczhermo/3300300 to your computer and use it in GitHub Desktop.
Joomla:htaccess: Disable native RSS Feed of Joomla
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Begin - Custom redirects | |
# | |
# If you need to redirect some pages, or set a canonical non-www to | |
# www redirect (or vice versa), place that code here. Ensure those | |
# redirects use the correct RewriteRule syntax and the [R=301,L] flags. | |
# | |
# Disable native RSS Feed of Joomla by Marco | |
RewriteCond %{QUERY_STRING} format=feed | |
RewriteRule .* http://www.yourdomain.com? [R=301,L] | |
## End - Custom redirects |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment