Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issues on changing domain #109

Open
nelero opened this issue Jul 3, 2019 · 1 comment
Open

issues on changing domain #109

nelero opened this issue Jul 3, 2019 · 1 comment

Comments

@nelero
Copy link

nelero commented Jul 3, 2019

Hi,
we've switched from WPMU domain mapping to your component.
On staging environment, it was ok for Network Admin (www.domain1.com) , subsite admin and subsite frontend url (test.domain1.com)

We moved to production : www.domain1.com remains for network admin, and subsite becomes www.domain2.com

=> On backend

  • it's ok for network admin
  • it's not ok for subsite admin with url www.domain2.com/wp-admin/ : either we can't log in or it ends on redirect loop (SSO mercator)
  • to access the subsite admin, we still need to use test.domain1.com/wp-admin/ . So we can't have the navbar to quickly switch to backend when we navigate on frontend.

=> On frontend

  • it's ok for www.domain2.com if we are not logged in on backend
  • If we are logged in on backend, we got a 403 error if we want to display a page...

we checked wp_blogs table, wp_site table, wp_domain_mapping table, wp_options table (for network) and wp_X_options table (for subsite) and all is ok.
We can't figure out where and how old test.domain.com is mandatory

Of course, we cleared our cookies and try different browers

@splaquet
Copy link

I’m finding that it’s mostly a drop in replacement for WPMU mapping, as I’m facing some of these same issues.

The most recent hurdle is when woocommerce is in the mix. The CORS cookie, image CDN, and third party web fonts are throwing all sorts of issues in the error console... which can mostly be ignored. BUT, it was brought to my attention that items aren’t sticking in the cart!!!

Add all your items, then find an empty cart upon checkout. DOH!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants