Title: Broken login
Last modified: August 30, 2016

---

# Broken login

 *  [thottbubble](https://wordpress.org/support/users/thottbubble/)
 * (@thottbubble)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/broken-login-1/)
 * Hi,
 * I was trying to direct wordpress to point to [http://www.mysite.com](http://www.mysite.com)
   instead of [http://www.mysite.com/wp](http://www.mysite.com/wp) and somewhere
   along the lines I broke the login page.
 * I was following the directions from here [https://codex.wordpress.org/Login_Trouble](https://codex.wordpress.org/Login_Trouble)
   forum page to try and resolve the issue but to no avail.
 * The situation currently is this… when I try use the [http://www.mysite.com/wp/wp-login.php](http://www.mysite.com/wp/wp-login.php)
   the page doesn’t look normal..its as if there is an html page without css. When
   I enter my information and hit log in button I get the following:
 * Not Found
 * The requested URL /wp-login.php was not found on this server.
 * Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument
   to handle the request.
    …..
 * When I look for the /wp-login.php file via cpanel I can find it in the wp directory
   and I never made any changes to it.
 * I do have a recent backup of the site, but am unsure of how to restore it from
   the .tar.gz file I have.
 * Any suggestions?

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

 *  [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/broken-login-1/#post-6195596)
 * Is your WordPress install in mysite.com, or mysite.com/wp?
 * It sounds like what you need to do is open cPanel and go to Databases -> phpMyAdmin,
   then click the “+” by your WordPress database, click on the “options” table (
   or “wp_options” if you use a prefix).
 * Edit the entries for the option_name siteurl and home entries so they both are
   correct for where your site is installed.
 * That should fix it.
 *  Thread Starter [thottbubble](https://wordpress.org/support/users/thottbubble/)
 * (@thottbubble)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/broken-login-1/#post-6195598)
 * Thanks for the reply,
 * I did correct the login issue by restoring from a recent backup. There is a lesson
   in there somewhere 🙂
 * As for the initial reason for my problem—
 * My wordpress installation was not initially set up in the root folder on my server
   and I had changed hosts recently so I had to monkey around a bit but eventually
   found some solutions here at [https://codex.wordpress.org/Moving_Wordpress](https://codex.wordpress.org/Moving_Wordpress).
   The solution for my issue was corrected by following the Moving Directories on
   Your Existing Server section which is about a 1/3 of the way down the page.
 * Hope this helps someone else.
 * 10/4

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

The topic ‘Broken login’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [thottbubble](https://wordpress.org/support/users/thottbubble/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/broken-login-1/#post-6195598)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
