• Resolved tammygfv

    (@tammygfv)


    Hello,

    I have a subdomain WP multisite setup. I used the native mapping feature to map gfvpetboutique.com to petboutique.guiltfreevegetarian.com using the instructions here.

    The problem is that I can’t access the admin area for the mapped domain. I automatically get redirected to this URL:
    https://gfvpetboutique.com/wp-login.php?redirect_to=http%3A%2F%2Fgfvpetboutique.com%2Fwp-admin%2F&reauth=1

    I’ve tried setting the site URL to the mapped domain and the home URL to the subdomain (and vice versa) but the mapping only works if both are set to the mapped domain, but again I lose access to the admin area.

    I’ve also tried adding this code to my wp-config file but it doesn’t make a difference:
    define(‘ADMIN_COOKIE_PATH’, ‘/’);
    define(‘COOKIE_DOMAIN’, ”);
    define(‘COOKIEPATH’, ”);
    define(‘SITECOOKIEPATH’, ”);

    I am not using a dedicated IP, but all of my domains are pointed to the same Cloudflare name-servers. Any help will be greatly appreciated. I really don’t want to use a plugin.

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try clearing cookies (or use a new browser). Also try turning off cloudflare.

    Thread Starter tammygfv

    (@tammygfv)

    Turning off CloudFlare and pointing the domains back to my host fixed the issue. Thank you!!

    I’m having the same issue, with what seems to be the same setup. I have however I’m not using cloud flare, unless it’s automatically enabled in CPanel. I looked and it doesn’t seem to be. Does anyone have any other suggestions?

    This is the page need help with: Link

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t login to admin after domain mapping’ is closed to new replies.