Ready to get started?Download WordPress


Fix ?wpmp_switcher=desktop errors with a redirect (4 posts)

  1. gauravshukla
    Posted 3 years ago #

    I had installed WordPress Mobile Pack, but I switched to WP Touch later.

    Now, Google has already indexed several containing ?wpmp_switcher=desktop in the URL, and now these pages return 404 errors and even results in duplicate meta tags.

    Can I create a common redirect to send such page to their original URL.

    Example Problem URL: http://androidos.in/2009/07/buy-htc-magic-in-india-for-just-rs-26000-approx-541.html?wpmp_switcher=desktop

    I want redirect to: http://androidos.in/2009/07/buy-htc-magic-in-india-for-just-rs-26000-approx-541.html

    so, can you guys help me with a redirect expression to solve this issue for all such URLs.

  2. galbaras
    Posted 3 years ago #

    You can tell Google to ignore this parameter in Webmaster Tools.

    Try creating a regular expression redirect with the following:

    Pattern: (.*)\?wpmp_switcher=desktop
    Destination: $1

    Come back and tell us if this worked.

  3. gauravshukla
    Posted 3 years ago #


    The regular expression indeed seems to work.

  4. popac
    Posted 3 years ago #

    Galbaras / gauravshukla, plese tell me how to do that ?

    where to enter

    Pattern: (.*)\?wpmp_switcher=desktop
    Destination: $1


    Thank you in advance !

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic