Support » Plugin: WordPress Mobile Pack - Mobile Plugin for Progressive Web Apps & Hybrid Mobile Apps » [Plugin: WordPress Mobile Pack] Conflict with WordPress' canonical redirects

  • John Blackbourn


    WordPress Core Developer

    In the Mobile Switcher plugin for WPMP, the redirect_canonical filter is removed (line #103 as of version 1.2.3). This, obviously, causes canonical redirects to stop working.

    I’ve removed this section of code so the filter is no longer removed.

    May I ask why this filter is removed? Is there a side effect that I’ve yet to find? Any information would be appreciated.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Canonical redirects break a LOT of things even when using
    mature desktop browsers, so I’m sure they cause even
    more problems on mobile browsers, some of which are about
    as developed as IE 2.0.

    Some of the bigger problems you see on all browsers

    Breaks if your site is accessible via https as well as http.
    Breaks anything that uses cookies and is accessible as and
    Breaks PHP sessions in many cases.
    Breaks load balancing such as
    I could go on and on, requiring the use of fully qualified
    URLs via the redirect or the new “validation” of the base URL
    just really screws up a lot of things.

    On the other hand, it does help your Google rank, but only
    in the land of fairy tales. In the real world, Google already
    assumes that and are the normally the same.
    So the actual benefit is .. nothing. Just a huge pain in the
    rear, causing all sorts of incompatibilities, for no reason
    at all.

    Is this in fact the same issue as in ? The short URL redirects are working fine on my desktop site, and have considerably helped my Google rankings. Why does the mobile plugin need to break this aspect of a desktop site? For me this is a complete killer for WPMP – I would rather have no mobile site than a broken desktop one.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WordPress Mobile Pack] Conflict with WordPress' canonical redirects’ is closed to new replies.