Support » Plugin: WordPress Mobile Pack - Mobile Plugin for Progressive Web Apps & Hybrid Mobile Apps » [Plugin: WordPress Mobile Pack] How to remove this Ghastly plugin completely?

  • This plugin has in my opinion completely destroyed the SEO of my website.

    I have uninstalled the plugin, but over 500 pages remain NOT FOUND by Google.

    example: /?cat=1%2Fpage%2F2%2F&paged=32&wpmp_switcher=desktop

    I have no idea how to fix this.

    Can someone please point me in the right direction?
    http://coudynews.com

Viewing 15 replies - 1 through 15 (of 24 total)
  • Not even a reply?

    This plugin should be removed. I can see that it has caused more problems for many people than anything else.

    I guess I’ll have to find a solution to this problem myself. I’ll post it here once I have.

    I’m not sure what the issue is now, but have you tried changing back to simple permalinks then back to pretty?

    Also check .htaccess for any oddities.

    Thanks for the response. I did indeed switch the permalinks with no success.

    Also, my .htaccess file is quite small with no oddities.

    Can you tell me what type of script would still be leftover after deactivating this plugin?

    Not really, I’m not familiar with it. All I can suggest is looking at the code and seeing if it gives any clues.

    You have to go into Google Webmaster Central and tell it to ignore the “wpmp_switcher” query variable. You might also make sure your sitemap is updated.

    To cover all your bases, you may want to consider, as an additional step, editing your .htaccess file to return a “410 – Gone” code whenever a URL with the WP Mobile Pack parameters is requested.

    This will prevent all other search engines and crawlers from attempting to index those bad URLs and help you avoid further penalization for duplicate or unreachable content.

    I’m just posting a follow-up to my post.

    Previously, I had suggested having your site return a “Content removed” code (410) whenever a URL with WP Mobile Pack parameters was requested.

    I inquired over at Google Webmaster Central and was told that it was a better idea to strip the Mobile Pack parameters from incoming requested URLs and do a 301 redirect to the appropriate content.

    This can be done internally in WordPress using something like the Redirection plugin, or via .htaccess.

    zoddy11

    (@zoddy11)

    how did u do it via htacess

    this is a stupid plugin, isnt there anyway to completely remove it from your site….. it is killiing some of my sites

    frikafrax

    (@frikafrax)

    The problem is that search engines continue to crawl the previously generated and indexed Mobile Pack URLs after the plug-in itself has been deactivated or uninstalled.

    So you need to tell the web server what to do when a request is made for a URL that contains the Mobile Pack Switcher query string.

    In my case, what I did was use .htaccess to remove the Mobile Pack Switcher query strings from the requested URL, then redirect the search engine or visitor to the cleaned URL:

    ## Strip Mobile Pack query strings ##
    RewriteCond %{QUERY_STRING} ^wpmp_.*$
    RewriteRule ^(.*)$ $1?%1 [R=301,L]

    You may have to tweak the code to suit your blog set-up.

    zoddy11

    (@zoddy11)

    yeah i tried that code doesnt seem to do anything, at least if i enter one of those switcher links it doesn redirect… i do have super cache on with a bunch of other rules, not sure if they are taking over somehow

    zoddy11

    (@zoddy11)

    ah turned off super cache still no go…. hmmmmmm

    zoddy11

    (@zoddy11)

    how can i really test it, just by puting the url in? see if it redirects?

    frikafrax

    (@frikafrax)

    I tested that redirect on my site and it works.

    .htaccess is processed in a top-down order so make sure the redirect code comes before the Supercache code in .htaccess.

    It would help if you provided a link to your blog and an example of one of the invalid URLs.

    frikafrax

    (@frikafrax)

    @zoddy11

    Try this version of the code:

    ## Strip Mobile Pack query strings ##
    RewriteCond %{QUERY_STRING} ^wpmp_.* [NC,OR]
    RewriteCond %{QUERY_STRING} (.+)&?wpmp_.*$ [NC]
    RewriteRule ^(.*)$ $1?%1 [R=301,L]

    This version takes into account query strings that are placed before the wpmp_switcher query string.

    zoddy11

    (@zoddy11)

    hey thanks man i try that version as well, i actually got the first one working, i was stupid as i put it before the engine… was pretty tired

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘[Plugin: WordPress Mobile Pack] How to remove this Ghastly plugin completely?’ is closed to new replies.