Blog Help

  Homes arrow Blog Help arrow Page 4 - WordPress CMS Tips: Removing RSS Feeds
 Webmaster Tools
Base64 Encoding 
Browser Settings 
CSS Coder 
CSS Navigation Menu 
Datetime Converter 
DHTML Tooltip 
Dig Utility 
DNS Utility 
Dropdown Menu 
Fetch Content 
Fetch Header 
Floating Layer 
htaccess Generator 
HTML Encoder 
HTML Entities 
IP Convert 
Meta Tags 
Password Encryption
Password Strength
Pattern Extractor 
Ping Utility 
Pop-Up Window 
Regex Extractor 
Regex Match 
Scrollbar Color 
Source Viewer 
Syntax Highlighting 
URL Encoding 
Web Safe Colors 
Forums Sitemap 
Weekly Newsletter
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Contact Us 
Site Map 
Privacy Policy 
  >>> SIGN UP!  
  Lost Password? 

WordPress CMS Tips: Removing RSS Feeds
By: Codex-M
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 3

    Table of Contents:
  • WordPress CMS Tips: Removing RSS Feeds
  • RSS problem for non-blogging applications
  • Technical solution using PHP and HTML editing
  • The .htaccess solution

  • Rate this Article: Poor Best 
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article




    WordPress CMS Tips: Removing RSS Feeds - The .htaccess solution

    (Page 4 of 4 )

    Another workaround for disabling all feed URLs in WordPress is to simply 301 redirect all of them to your home page. In this case the header status will be 301. To do this, you need to edit the .htaccess file which is located at the root of the WordPress directory.

    Note: always make a backup of your .htaccess before editing, and do this ONLY if you are comfortable with editing this file. Error lines in the .htaccess can cause server error.

    Step 1: Download the .htaccess.

    Step 2: Using a text editor, copy the line below to your existing .htaccess code and replace ""with your domain.

    redirect 301 /wp-rss.php

    redirect 301 /wp-rss2.php

    redirect 301 /wp-rdf.php

    redirect 301 /wp-atom.php

    redirect 301 /?feed=rss

    redirect 301 /?feed=rss2

    redirect 301 /?feed=rdf

    redirect 301 /?feed=atom

    redirect 301 /feed/

    redirect 301 /feed/rss/

    redirect 301 /feed/rss2/

    redirect 301 /feed/rdf/

    redirect 301 /feed/atom/


    The final .htaccess should look like the screen shot below:


    This will redirect all possible WordPress feed URLs back to the home page. You can double check with the server header status checker to make sure it is a 301 redirect.

    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.


    - Blogging to Attract Holiday Shoppers
    - Commit to Your Blog, or Don`t Blog
    - Should You Blog on Google Plus?
    - Fast Blog Post Ideas
    - Organize Your Business Blogging
    - Too Busy to Blog?
    - The Value of a Business Blog
    - WordPress CMS Tips: Removing RSS Feeds
    - Add Google Custom Search to WordPress Blogs
    - Start Blogging with Blogger
    - Bloggers and the Associated Press: the Past ...
    - WordPress Vs. Blogger: Which Should You Choo...
    - Can You Make Money with a Free Blog?
    - A Beginner`s Guide to Self Hosting Your Blog
    - No Blog Stands Alone: Why You Need Affiliates

    Developer Shed Affiliates


    © 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap