Cannot access WordPress control panel
-
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.
-
An important point is that I changed the root folder name from mydomaintest to mydomain
You’re right. That’s VERY important.
Go to http://codex.ww.wp.xz.cn/Moving_WordPress
Look for Suppose you accidentally moved the files before you changed the URIs: you have two options.
That should help you.
Hi,
Refer these articles:
http://codex.ww.wp.xz.cn/Moving_WordPress
http://codex.ww.wp.xz.cn/Giving_WordPress_Its_Own_DirectoryThanks,
Shane G.
Great! Thank you. I really appreciate the help.
The hosting company (MediaTemple) helped me out.
The easy fix was to go into the database (phpMyAdmin) and change the “siteurl” and “home” values in the wordpress options table.
The topic ‘Cannot access WordPress control panel’ is closed to new replies.