• 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 https://case.oncle-tom.net.
    However, your plugin creates the cookie for ‘case.oncle-tom.net’. It should be on ‘.case.oncle-tom.net’.

    Indeed, when I force the creation of the cookie (I redirect m.case.oncle-tom.net to the regular website), with a htaccess RewriteRule ([CO=wpmp_switcher:mobile:case.oncle-tom.net]), the cookie is created with ‘.case.oncle-tom.net’.
    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.