Login Trouble

From 워드프레스(WORDPRESS) 한국어 위키

Jump to: navigation, search

If you are having trouble logging into your WordPress Administration Panels, here are some possible solutions. 만약 당신이 사용하고 있는 워드프레스의 Administration Panels에 로그인 하는데 문제를 겪고 있다면 아래의 몇가지 해결방법들을 시도해 보시기 바랍니다.

Contents

Enable Cookies

Make sure that cookies are enabled for your browser. 브라우저에서 쿠키를 사용가능 하도록 하십시오.

  • 브라우저 쿠키 삭제.
  • 브라우저 캐시 삭제.

Disable Plugins

Some WordPress Plugins may interfere with the login process. Disable all of your WordPress plugins, either through the admin panel, or by removing them from the /wp-content/plugins/ folder so they will not be recognized by the program.

간혹 WordPress Plugins이 로그인 프로세스를 방해하는 경우가 있습니다. admin panel을 이용하거나, /wp-content/plugins/폴더의 파일들을 제거하는 방법으로 프로그램이 인식하지 못하도록 해서 WordPress plugins 을 모두 비활성화 시키십시오.

New Login File

Sometimes, the wp-login.php file may be corrupted or not have been uploaded correctly.

  • Delete wp-login.php off of your server and upload a new copy from a fresh WordPress download. Remember, overwriting file via FTP can lead to incomplete transfers.
  • Edit wp-login.php as follows:
    • Go to the case retrievepassword section, found under this comment:
// redefining user_login ensures we return the right case in the email
Replace:
$user_login = $user_data["user_login"];
With:
$user_login = $user_data->user_login;

Edit Users Table

Access your site's phpMyAdmin and edit the database carefully.

  • Open the WordPress database.
  • Click on the users table in the left menu (default is wp_users, or yourprefix_users if you defined a different table prefix.)
  • Click BROWSE.
  • Click on the EDIT button next to the admin user.
  • Delete whatever is in the password field.
  • Using the md5 hasher, enter your desired password, and copy the hash that it generates.
  • Paste the hash in the password field for user admin.
  • Save the info in the database.
  • Login to WordPress using "admin" and the password you used to create the hash.

For more information, see Resetting Your Password.

Problems with Password

For information on problems logging in due to a wrong or lost password, see Resetting Your Password.

Please remember, Username and Password fields are case sensitive!

Site URL Redirecting

In certain cases your WordPress address URI may have been reset.

  • Check the siteurl value in the wp-options table of your WordPress database. A guide to doing this is available here.
  • Is it set as http:/?
  • If it is, change site_url to the correct value.
  • Open wp-login.php in a text-editor and comment or delete the following lines:
// If someone has moved WordPress let's try to detect it
//if ( dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) != get_settings('siteurl') )
 // update_option('siteurl', dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) );

Secure HTTPS

If you are having a problem with secure HTTPS, change the following line in wp-includes/vars.php from:

define('COOKIEPATH', preg_replace('|http://[^/]+|i', '', get_settings('home') . '/' ) );

To:

define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_settings('home') . '/' ) );

Be sure also to change the URL in OPTIONS to https://.

Headers Already Sent

If you get an error about headers already sent, see Solving the Headers Already Being Sent Problem in the FAQ.

Check Your URL Options

In some situations your blog can be seen from inside your domain, but not outside. Following the instruction above about changing the wp-options MySQL table still might cause logins to fail.

In that event, double-check your wp-options table siteurl (WordPress address URL) and home (Blog Address URL) values to make sure they reference the same base externally available address; i.e. http:/blog.yourdomain.com. The standard install may set them to your local (internal) host name, such as http://servername

Check your Firewall

Some WordPress users have reported that their firewall (e.g. eTrust Personal Firewall) blocked them from logging into WordPress -- so disable your firewall and try to login again.

If All Else Fails

If these steps fail, please indicate that you have tried all these possible solutions when posting at the WordPress Support Forum. Be sure to give details of your server setup if you know it, including mySQL and PHP versions, as well as your operating system (OS) and browser. Also ensure that you provide the WordPress version that is causing these problems.


This article is marked as in need of editing. You can help Codex by editing it.

Personal tools