Here’s a challenge for anyone who knows how WordPress resolves its domain name.
I set up a domain, mydomaintest.com and installed wordpress in the root directory. Everything was working fine.
I then pointed the DNS server from Dreamhost to MediaTemple servers, and the DNS is correctly resolving to the MT server.
An important point is that I changed the root folder name from mydomaintest to mydomain
The site does not read wordpress because several files, css & javascript files are now linking to an incorrect path, so I want to set up things in the control panel.
However, when I try to login at http://mydomain.com/wp-login.php
the login page redirects to http://mydomainatest.com/wp-login.php
and I get an error: Forbidden You don’t have permission to access /wp-login.php on this server.
So for some reason WordPress is redirecting to mydomaintest.com
I need all the relevant files to become mydomain.com
I am happy to use phpMyAdmin or direct FTP to update the files.
Please can you help?
Thank you.