WordPress.org

Support

Support » How-To and Troubleshooting » disable rss feeds

disable rss feeds

  • I ran across a previous post asking how to disable rss feeds.
    I just determined the following solution, which I apply to the bottom of my .htaccess

    RedirectMatch 404 ^.*\/feed$
    RedirectMatch 404 ^.*\/feed\/.*$
    RedirectMatch 404 ^.*\/rss$
    RedirectMatch 404 ^.*\/rss\/.*$
    RedirectMatch 404 ^.*\/trackback$
    RedirectMatch 404 ^.*\/trackback\/.*$

    Note this also disables access to */rss and */trackback

    I hope somebody can confirm that this method is in fact correct and if so I hope it helps others get rid feeds when its undesired

    Thanks in advance

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘disable rss feeds’ is closed to new replies.