• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Wordpress relates wrong domain

carlsson

Basic Pleskian
Server operating system version
Ubuntu 20.04.06
Plesk version and microupdate number
18.0.58 Update #2
Short Story:
I have DomainA and DomainB on my Plesk server.
If I change anything in DomainA it also do stuff in DomainB. Eg, I just added a user to DomainB, that very same user showed up in DomainA.
I started to delete stuff in DomainA, everything effed up in DomainB.

Long Story:
I moved DomainB to my server a while ago (wth of Duplicator). To test the site and see if every plug worked as it should, I installed the site on DomainA, and changed the relevant data in the configuration files.
The test worked as it should, so we pointed the domain to my Plesk installation, and moved the files to the correct Domain. However, this time I didn't use Duplicator but I moved them manually (I know, don't ask ).
Now I want to wipe the WP installation on DomainA, but doing so affects DomainB as well.
Something in Plesk ties these two domains together, but I don't know what. Databases felt most likely, but there are no databases in DomainA.
If I go to www.DomainA.se I end up at www.DomainB.se.
On DomainB I have used Better Search Replace to replace every instance of DomainB to DomainA.


At the moment I dare not to touch anything. These two sites seems to live by themselves…
Please help!
 
[Edit time limit on 4 minutes is kinda tight]
"On DomainB I have used Better Search Replace to replace every instance of DomainB to DomainA." Should of course be
On DomainB I have used Better Search Replace to replace every instance of DomainA to DomainB.
 
Something in Plesk ties these two domains together, but I don't know what. Databases felt most likely, but there are no databases in DomainA.
Please compare the database configuration entries in your wp-config.php files of the two domains. They likely use the same database.
 
You are of course correct sir!

I wonder why Plesk can't see that?
1710004648818.png

However, I'll create a new one.

Thanks Peter!
 
Done and done.
What I really want to do is to wipe the entire installation of DomainA, and install a new WP installation. What is the most safe and easiest way to do that.
 
Update
After installing a new database, Wordpress understood this was a new installation and behaved accordingly. I wonder though if that is the correct way to do it? It doesn't feel right. :-|
 
When you use the "Wordpress" menu and click "Install" to install a fresh Wordpress, the WP toolkit creates a new database for you. But you can also take the route you took, it works, too.
 
Back
Top