humanmade / humanmade/Mercator

issues on changing domain

Open
#109 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
PHP
Stars
527
Forks
61
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.