Skip to content

Instantly share code, notes, and snippets.

@marczhermo
Created August 9, 2012 02:05
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marczhermo/3300300 to your computer and use it in GitHub Desktop.
Save marczhermo/3300300 to your computer and use it in GitHub Desktop.
Joomla:htaccess: Disable native RSS Feed of Joomla
## 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