Mirroring Site, but login not working anymore (cross domain)

debcat24
User w
User w
Posts: 5
Joined: Tue Mar 01, 2022 10:03 am

Re: Mirroring Site, but login not working anymore (cross domain)

Post by debcat24 »

Since you're using the phpbb config details and some of the WP would it be possible to change the WP domain url to be relative ?

Since the phpbb login is also using cookie information to login, so having two different domains like i showed you previously, would still have the issue of redirection to the staging site.. even if the url of wp was changed to relative correct?
User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Mirroring Site, but login not working anymore (cross domain)

Post by axew3 »

Ok got it, let see ... but i start to think that your problem is something else

...ps i hope you mean as not linked users mode, because if not i still have not well understand maybe what you try to do :cry:
User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Mirroring Site, but login not working anymore (cross domain)

Post by axew3 »

So here we go with an example, or i think i go to mess up not understanding.
I have a test site old domain my infamous w3it.org.
So i installed there Woocommerce, WP, and phpBB.

Now i linked the w3it.org plugin db connection to the axew3.com database, and i have setup the integration as NOT LINKED USERS.
The result i have is that of course WP at w3it.org run as independent and just use db connections values to retrieve forum's posts that display on widgets or shortcodes and are pointing to axew3.com.

But there is no issue with any user into this site, that is completely different from axew3.com.
I created at w3it.org an user
crossdomain and pass crossdomain
as test that you can try to login with credentials both into WP default or woocommerce login to test that all is working fine:
https://www.w3it.org/main/my-account/
or
https://www.w3it.org/main/wp-admin

could you point me to what instead are you doing that return you the wrong result, that i have not understand?
It is something else that leads you to the login redirect problem you have?
debcat24
User w
User w
Posts: 5
Joined: Tue Mar 01, 2022 10:03 am

Re: Mirroring Site, but login not working anymore (cross domain)

Post by debcat24 »

Thanks for your example, would it be possible to chat privately ?
Post Reply