Title: Cannot access WordPress control panel
Last modified: August 19, 2016

---

# Cannot access WordPress control panel

 *  [rjharris](https://wordpress.org/support/users/rjharris/)
 * (@rjharris)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/cannot-access-wordpress-control-panel-1/)
 * 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](http://mydomain.com/wp-login.php)
 * the login page redirects to [http://mydomainatest.com/wp-login.php](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.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [16 years, 6 months ago](https://wordpress.org/support/topic/cannot-access-wordpress-control-panel-1/#post-1294536)
 * > 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.wordpress.org/Moving_WordPress](http://codex.wordpress.org/Moving_WordPress)
 * Look for **Suppose you accidentally moved the files before you changed the URIs:
   you have two options.**
 * That should help you.
 *  [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * (@shane-g-1)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/cannot-access-wordpress-control-panel-1/#post-1294795)
 * Hi,
 * Refer these articles:
 * [http://codex.wordpress.org/Moving_WordPress](http://codex.wordpress.org/Moving_WordPress)
   
   [http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)
 * Thanks,
 * Shane G.
 *  Thread Starter [rjharris](https://wordpress.org/support/users/rjharris/)
 * (@rjharris)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/cannot-access-wordpress-control-panel-1/#post-1294899)
 * Great! Thank you. I really appreciate the help.
 *  Thread Starter [rjharris](https://wordpress.org/support/users/rjharris/)
 * (@rjharris)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/cannot-access-wordpress-control-panel-1/#post-1294925)
 * 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.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Cannot access WordPress control panel’ is closed to new replies.

## Tags

 * [Failed](https://wordpress.org/support/topic-tag/failed/)
 * [login](https://wordpress.org/support/topic-tag/login/)
 * [permission](https://wordpress.org/support/topic-tag/permission/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [rjharris](https://wordpress.org/support/users/rjharris/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/cannot-access-wordpress-control-panel-1/#post-1294925)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
