Link to the Original Articles in your RSS Feeds

It is not uncommon to find websites who republish RSS feeds of other blogs without permission. Why they do this is anyone’s guess but as a content owner, this is something to worry about especially when you publish full feeds.

That’s because when duplicate copies of your articles exist elsewhere on the web, some search engines may have trouble finding out the true source. What if Googlebot discovers the repulished article before stumbling across the original article on your website?

So how do you deal with such web content scrapers?

Well, you can either take the legal route with the help of Google Docs or try something simple - just add a link to your original article somewhere in the RSS feed. When search engine see this link, they’ll instantly know the real source. The other advantage is that since the spam blog is republishing your RSS feed, they are also linking to your website and thus indirectly helping you improve your own search rankings.

If you are on Blogger, open your blog dashboard and go to Settings -> Site Feed. In the Post Feed Footer, add the following code:

<hr />
<a href="http://www.myblog.com">My Blog Name</a>

This will add a link to your main blog at the bottom of every article in the RSS feed. For this to work, you should be syndicated full feeds as Blogger would add not add footers inside partial feeds.

If you are on WordPress (self hosted), open the functions.php file of your WordPress blog theme and add the following code:

function embed_rss($content) {
  if(is_feed())
     $content .= "<p><a href='". get_permalink() ."'>'";
     $content .= get_the_title() ."</a></p>";
  return $content;
  }
add_filter('the_content', 'embed_rss');

This WordPress hack will add two links in the feed - one points to your blog post while the other one would point to the main blog. You can see this code in action here.

Amit Agarwal

Amit Agarwal

Google Developer Expert, Google Cloud Champion

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India.

Amit has developed several popular Google add-ons including Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

0

Awards & Titles

Digital Inspiration has won several awards since it's launch in 2004.

Google Developer Expert

Google Developer Expert

Google awarded us the Google Developer Expert award recogizing our work in Google Workspace.

ProductHunt Golden Kitty

ProductHunt Golden Kitty

Our Gmail tool won the Lifehack of the Year award at ProductHunt Golden Kitty Awards in 2017.

Microsoft MVP Alumni

Microsoft MVP Alumni

Microsoft awarded us the Most Valuable Professional (MVP) title for 5 years in a row.

Google Cloud Champion

Google Cloud Champion

Google awarded us the Champion Innovator title recognizing our technical skill and expertise.

Email Newsletter

Sign up for our email newsletter to stay up to date.

We will never send any spam emails. Promise.