Closing Rss Feeds in Wordpress For Rss Thiefs

Discussion in 'WordPress' started by rcp, Apr 20, 2009.

  1. #1
    Hello, just found some codes to avoid rss feed stealing from your wordpress blogs. If you want to close all your site feeds to avoid rss steals all your need to do:
    Open "functions.php" in your template and add these codes to anywhere in the file..
    remove_action('do_feed_rdf', 'do_feed_rdf', 10, 1);
    remove_action('do_feed_rss', 'do_feed_rss', 10, 1);
    remove_action('do_feed_rss2', 'do_feed_rss2', 10, 1);
    remove_action('do_feed_atom', 'do_feed_atom', 10, 1); 
    Code (markup):
    +reps :)
     
    rcp, Apr 20, 2009 IP
    anildewani likes this.
  2. staffsergeantpeterson

    staffsergeantpeterson Member

    Messages:
    356
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    33
    #2
    That is BRILLIANT THANK YOU THANK YOU!!! This will come in handy... I put them in my Snippets Text File... I will set it up later but it is a great great idea...
     
    staffsergeantpeterson, Apr 22, 2009 IP
  3. rcp

    rcp Banned

    Messages:
    68
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    well lots of wiew put not any rep :)
     
    rcp, Apr 30, 2009 IP
  4. anildewani

    anildewani Peon

    Messages:
    1,132
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for the code snippet.
    rep on the way ;)

    I will use them in one of my blog :D
     
    anildewani, May 2, 2009 IP
  5. netbie

    netbie Peon

    Messages:
    77
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    netbie, May 2, 2009 IP