How to stop Qtranslated posts from being indexed in Google (3 posts)

  1. Pereira
    Posted 2 years ago #

    Here's my problem: I only get to translate specific posts in my blog, i use the "?lang=en" URL mode, and I have a lot of posts that don't get translated.

    I've noticed, for some reason, that a lot of pages being indexed by google are the "english version" (which actually its just the same as the original post most of the time, but with the ?lang=en in the end of the URL).

    I would like to know how to stop google from indexing my QTranslated pages. Like if they didn't exist.

    Any help? Thanks.


  2. Pereira
    Posted 2 years ago #


  3. Simon
    Posted 2 years ago #

    I would add something like this to robots.txt:

    User-agent: Googlebot
    Disallow: /*?lang=en$

    Which will make Googlebot ignore all URLs that end in '?lang=en'.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic