WordPress.org

Ready to get started?Download WordPress

Forums

Stop Google indexing RSS (1 post)

  1. noshoes
    Member
    Posted 2 years ago #

    Hey all!

    Just noticed in the last few days that Google seems to be indexing my RSS feeds instead of the blog posts, and the URL it seems to index has this after the end of the usual URL: ?utm_source=rss&utm_medium=rss&utm_campaign=

    I had a read around and some tips on adding a disallow to the robots file, which I did, but I'm not sure if it's correct or working.

    I'm using xml-sitemap generator which produced a virtual robots file and my WordPress installation is in a sub-directory called 'blog'

    Here's what I added to the robots file in the root of the site.

    User-agent: *
    Disallow: /blog/*/feed/$
    Disallow: /blog/*/feed/rss/$
    Allow: /

Topic Closed

This topic has been closed to new replies.

About this Topic