WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

issues on changing domain #109

@nelero

Description

@nelero

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions