Home Forums WordPress Plugins Hide My WP MyMail 2.1

This topic is: not resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #7560
    alexus
    Pro
    Post count: 30

    Guys good day! Have a little problem. Mymail trying to add rule to htaccess but it not appears there. Here is the rule ^(index\.php/)?mymail/(subscribe|update|unsubscribe)/?$ => index.php?_mymail=$matches[2]
    What can i do to make it work? And how it must look for nginx? Big thanks!

    #7563
    Suman M.
    Post count: 12478

    Hi, add the rewrite rule (within server block) in you site’s nginx config file.

    It should look something like below. Please confirm with MyMail support.

    rewrite ^(index\.php/)?mymail/(subscribe|update|unsubscribe)/?$ index.php?_mymail=$matches[2]

    • This reply was modified 8 years, 11 months ago by Suman M..
    #7580
    alexus
    Pro
    Post count: 30

    Hi! If i add this rule to nginx i get this error: “unknown “matches” variable”.

    #7581
    alexus
    Pro
    Post count: 30

    Maybe it must be look like this? rewrite ^/(index.php/)?mymail/(subscribe|update|unsubscribe)/?$ /index.php?_mymail=$2;

    #7595
    Suman M.
    Post count: 12478

    Hi, the above rule I mentioned might not be the exact rule (I’ve not tested it). I’m not a pro at nginx rules, but you can do hit and trial to see if the rule works. And since it’s related to MyMail we highly recommend you to contact MyMail support. Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.