Support » Plugin: WordPress Mobile Pack - Mobile Plugin for Progressive Web Apps & Hybrid Mobile Apps » [Plugin: WordPress Mobile Pack] Problem in wpmp_switcher cookie

  • Hello,

    I was trying to force the wpmp_switcher cookie through htaccess (I’ll explain later) and then, I realized the cookie name was not properly guessed.

    I use this on my blog, at
    However, your plugin creates the cookie for ‘’. It should be on ‘’.

    Indeed, when I force the creation of the cookie (I redirect to the regular website), with a htaccess RewriteRule ([]), the cookie is created with ‘’.
    So the browser lives with 2 wpmp_switcher cookies: yours, and mine.

    If I do that, it’s because I want both redirections: by domain + user agent, with a single living domain.
    I want to avoid redirections for mobiles (except for those trying to force the mobile website, with the ‘m’ subdomain) and ease content sharing through this.

    How could we achieve that?
    I wanted to bypass WP, because it’s too heavy to load all WP depencies just for a redirect.

    Thanks 🙂

  • The topic ‘[Plugin: WordPress Mobile Pack] Problem in wpmp_switcher cookie’ is closed to new replies.