• Resolved Ivan Jaquez

    (@ivan-jaquez)


    Hello. When admin or subscriber from my site visit a post from a subdomain url, wordpress is automatically logging them out. Home page is working fine. I’ve created a test post (not in a subdomain category) and the wordpress meta login/register session in widget area is working fine too. The main issue is subdomains. Any help on this? Thanks for your consideration.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author dersax

    (@dersax)

    open wp-config.php and put this code

    define('COOKIE_DOMAIN', '.yourdomain.com' );

    make sure put dot(.) in front of yourdomain.com
    Add it above ‘/* That’s all, stop editing! Happy blogging. */’

    if your users can’t login into admin area
    please tell them to clear cookie first in their browsers

    Thread Starter Ivan Jaquez

    (@ivan-jaquez)

    It worked! Thanks a lot ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin Subscribers Automatically Log out From Subdomains Posts’ is closed to new replies.