Support » Plugin: WordPress Mobile Pack - Mobile Plugin for Progressive Web Apps & Hybrid Mobile Apps » [Plugin: WordPress Mobile Pack] WPMP Breaks Redirects?

  • By luck today, I noticed was not redirecting to and was not adding the trailing slash as After playing around for hours with .htaccess files, pulling backup files, deleting file after file trying to figure this out, I deactivated this plugin. Right after, the redirects starting working.

    While the plugin was enabled, I tried adding a 301 redirect to the .htaccess file, and all it did was broke my site. I don’t think that will work.

    I did see one other question on this topic with no response:

    Anyone else having this issue? This can be a huge duplicate content issue. I only noticed it by mistake so others might be missing it. This, along with the wpmp_switcher duplicate content, is really alarming. I told GW to ignore the parameters but on a new page I added to my site, google indexed the page with the parameter first.

    Any thoughts from the experts out there?

    Has anyone tried something like this? Do a subdomain install of wordpress on say Then in that wordpress configuration file, point it to your main site’s databases so you don’t have to have multiple databases. Then point the mobile install to this sub domain. Block the subdomain from bots with a robots file. Not sure if something like that is possible?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Wish I could help mail. I’m going to do a separate wordpress install on a subdomain like Point that install’s to the original database and do a very toned down mobile site.

    Thanks. Me also working on the same, will update you if success.

    It’s also not working on iphone,getting same problem on iphone.

    I think you need to post your own question and not hijack other threads.

    Best of luck

    Having just the same problem, as noted in several threads. Isn’t this supposed to be a support forum? Is there anyone out there offering support on WPMP? If not I will have to look elsewhere.

    I have the same problem and on a multisite, this also makes the subdomain redirect incorrectly.

    After commenting out the line in wpmp_switcher.php that says

    remove_filter('template_redirect', 'redirect_canonical');

    The plugin now shows both mobile and desktop versions, but requires using the ?wpmp_switcher=desktop or ?wpmp_switcher=mobile at least once to do it on Firefox, even when my user agent is set to iPhone 3.0.

    This pack has had a lot of work done on it, so I’m hoping the developer(s) will come through this time for us too.

    OK, here’s an update you’re gonna love.

    1. I’ve restored the “remove_filter” line.
    2. I’ve added a canonical redirect in my .htaccess file
      Options +FollowSymLinks
      RewriteEngine on
      RewriteCond %{HTTP_HOST} ^ [NC]
      RewriteRule ^(.*)$$1 [L,R=301]

    This made things work on my standalone blog.

    For my multisite top-level blog, I could not get the subdomain to work, so I’ve disabled domain name switching in the plugin and put the following in .htaccess:

    Options +FollowSymlinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^ [NC]
    RewriteRule ^(.*)$$1?wpmp_switcher=mobile [L,R=301]

    On a fresh browser, this works, but not if you’ve visited the site before with the switcher on, so clear cookies and cache to reset and try again.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: WordPress Mobile Pack] WPMP Breaks Redirects?’ is closed to new replies.