Developer rev 940562 mapped/unmapped issues
-
Confused links: some have mapped some unmapped domain
Confused login: logout from subdomain doesn’t log out from domain, have to log out twice (user on subdomain with Editor privileges also exists on main domain; same for user with SuperAdmin privileges)
WordPress installed on: http://lernerconsulting.info
unmapped domain: http://lcblog.lernerconsulting.info
mapped to: lcblog.lernerconsult.comWalk you through the setup, behavior, setting changes and new behavior…
Domain Options
Starting configuration
x Redirect administration pages to site’s original domain (remote login disabled if this redirect is disabled)
x Remote Login
x Map links in /wp-admin/. get_permalink() et al will use the domain mapped URL.
x Permanent redirect (better for your blogger’s pagerank)
x User domain mapping page. (Individual blogs can set their own domain)
– Disable primary domain check. Sites will not redirect to one domain name. May cause duplicate content issues.login from subdomain loops, login from main domain works
— uncheck Map links in /wp-admin/. get_permalink() et al will use the domain mapped URL.
login from subdomain loops, with it checked or not
login from main domain works, with it checked or not— Change to not Redirect administration pages
Posts have mix of mapped and unmapped URL in links, e.g. twentyfourteen theme below post has:
June 23, 2014 (http://lcblog.lernerconsulting.info/2014-tracking-down-deprecated-functions/) [incorrect, this is the unmapped URL]
George (http://lcblog.lernerconsulting.info/author/glerner/) [incorrect]
2 Comments http://lcblog.lernerconsulting.info/2014-tracking-down-deprecated-functions/#comments [incorrect]
Edit http://lcblog.lernerconsult.com/wp-admin/post.php?post=601&action=edit [this one is as expected]Menu has unmapped URLs, e.g. Computer Use – http://lcblog.lernerconsulting.info/category/computer-use/ (incorrect)
HTML, CSS, PHP – http://lcblog.lernerconsulting.info/category/html-css-php/ (incorrect)
Should all be lcblog.lernerconsult.comclicking brings up http://lcblog.lernerconsult.com/category/html-css-php/ [which is correct]
— Change to Redirect administration pages, with Remote Login unchecked.
[Should recheck to confirm, realized later that I didn’t clear browser cache] same mixed up URLs
log out of subdomain site doesn’t log me out of main siteAdd “Map links in /wp-admin/…”
Links on page are all goodLogin from subdomain works, though brings me to http://lcblog.lernerconsulting.info/wp-admin/ instead of expected lcblog.lernerconsult.com/wp-admin/ [logged in as SuperAdmin]
Back to a post, logged in, the Edit link is correct, brings me to unmapped domain for editing, which is acceptable. Preview Changes displays with the mapped domain
From edit screen on http://lcblog.lernerconsulting.info, log out brings me to http://lernerconsulting.info (also acceptable) but am still Logged In to http://lernerconsulting.info (?!)
Back to that edit page, refresh, displays with me logged in on subdomain (SuperAdmin user), see flickering loading info from both domains (mapped and unmapped)
Tried again clicking the Logout link, “You are attempting to log out of Lerner Consulting Do you really want to log out?” (with mapped link). Am logged in (as SuperAdmin) on main site, logged out on subdomain (viewing subdomain doesn’t have “Edit” link, for example).
Browsing to [mapped domain] http://lcblog.lernerconsult.com/wp-admin/ brings me to mapped domain login screen http://lcblog.lernerconsult.com/wp-login.php?redirect_to=http%3A%2F%2Flcblog.lernerconsult.com%2Fwp-admin%2F&reauth=1 .
Log in as an Editor, and now I’m on the unmapped dashboard http://lcblog.lernerconsulting.info/wp-admin/ but logged in as the SuperAdmin!!!
Repeat logging out, still when I log in as Editor I am logged in as SuperAdmin.
Now from main domain, http://lernerconsulting.info/ log out http://lernerconsulting.info/wp-login.php?action=logout and I get “You are now logged out”
Browse to http://lcblog.lernerconsult.com/wp-admin/ [mapped domain] I get http://lcblog.lernerconsult.com/wp-login.php?redirect_to=http%3A%2F%2Flcblog.lernerconsult.com%2Fwp-admin%2F&reauth=1 and logging in as Editor brings me to http://lcblog.lernerconsult.com/wp-login.php?redirect_to=http%3A%2F%2Flcblog.lernerconsulting.info%2Fwp-admin%2F%3Fsucuriscan_lastlogin%3D1&reauth=1 [mix of mapped domain and unmapped domain]
http://lcblog.lernerconsult.com/wp-login.php login brings me to http://lcblog.lernerconsult.com/wp-login.php?redirect_to=http%3A%2F%2Flcblog.lernerconsulting.info%2Fwp-admin%2F%3Fsucuriscan_lastlogin%3D1&reauth=1 [mix of mapped domain and unmapped domain]
Wouldn’t work for subdomain people with Editor permissions! Would be better to allow people with mapped domains always see their mapped domain name. I used to be able to do this (better for if I had clients on my multi-site, even though I had to log in at each domain as if were separate installations). (used to = before new Domain Options screen)
—
Log in to http://lernerconsulting.info/wp-login.php [unmapped domain, root site] as Editor, brings me to http://lernerconsulting.info/wp-admin/?sucuriscan_lastlogin=1 [works as expected]
Browse to http://lcblog.lernerconsulting.info/wp-admin/ brings me to unmapped dashboard http://lcblog.lernerconsulting.info/wp-admin/ [acceptable]
Browse to http://lcblog.lernerconsult.com/ [works, but doesn’t show I’m logged in]
Log out, Log in to http://lcblog.lernerconsult.com/wp-admin/ [mapped domain], brings me to http://lcblog.lernerconsult.com/wp-login.php?redirect_to=http%3A%2F%2Flcblog.lernerconsult.com%2Fwp-admin%2F&reauth=1
Works, brings me to http://lcblog.lernerconsulting.info/wp-admin/?sucuriscan_lastlogin=1 [unmapped domain, acceptable]Log out [from drop down link at top right from my username], brings me to http://lernerconsulting.info/?dm=3078ec0afda30a3a405c6284bce3160b&action=logout&blogid=20&k=1080f6a89f55b7f14c6d73fb5aa2e6f0&t=1279063839 [site root, oops Still Logged In]
Log out, brings me to “You are now logged out” http://lernerconsulting.info/wp-login.php?loggedout=true
The topic ‘Developer rev 940562 mapped/unmapped issues’ is closed to new replies.