{"id":544,"date":"2011-06-06T22:26:45","date_gmt":"2011-06-07T03:26:45","guid":{"rendered":"https:\/\/hostease.com\/blog\/?p=544"},"modified":"2024-11-21T04:37:14","modified_gmt":"2024-11-21T09:37:14","slug":"problem-on-wordpress-background-password","status":"publish","type":"post","link":"https:\/\/www.hostease.com\/blog\/website\/problem-on-wordpress-background-password\/","title":{"rendered":"Problem on WordPress Background Password"},"content":{"rendered":"<p>My dear fellow, have you ever met such problem when you\u2019re using wordpress:<\/p>\n<p>After you enter the username and password, you are brought to the logging page when you click the \u201cLog In\u201d button on the right at the bottom of the page. And you\u2019re sure you have entered the right username and password, so you tried it again and again. Unfortunately, the same thing came up time after time.<\/p>\n<p>Some hostease users reflected this phenomenon to us when they met such problem in the course of using wordpress. Taking a user who is using wordpress 3.1.1 for example, he told us that he was a newbie and met this serious problem when he is using wordpress to build his personal blog. And he has tried to click the \u201cLost Your Password?\u201d on the logging in page, but it still didn\u2019t work. Finally, he decided to install wordpress again. To his sadness, the same problem still came up after it was installed. And then he came to us.<br \/>\nNow I will share the tips with you all:<\/p>\n<p>This problem was caused by the unique thing called cookie. That is, we should change the directory which is under the control of cookie. You can do it as the following tips:<\/p>\n<p>First, log into your cPanel and find the file named \u201c\/wp-includes\/pluggable.php\u201d; then please modify the function called \u201cwp_set_auth_cookie\u201d in this file. You can use Ctrl+F to search this function if you\u2019re using windows personal operating system such as XP and etc\u2026<\/p>\n<p>Find the former code:<br \/>\nsetcookie($auth_cookie_name, $auth_cookie, $expire, ADMIN_COOKIE_PATH, COOKIE_DOMAIN, $secure, true);<br \/>\nAnd then change it to:<br \/>\nsetcookie($auth_cookie_name, $auth_cookie, $expire, SITECOOKIEPATH, COOKIE_DOMAIN, $secure, true);<br \/>\nClick \u201cSave\u201d button and you\u2019ll find you have solved this problem successfully.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My dear fellow, have you ever met such problem when you\u2019re using wordpress: After you enter the username and password, you are brought to the logging page when you click the \u201cLog In\u201d button on the right at the bottom of the page. And you\u2019re sure you have entered the right username and password, so &#8230; <a title=\"Problem on WordPress Background Password\" class=\"read-more\" href=\"https:\/\/www.hostease.com\/blog\/website\/problem-on-wordpress-background-password\/\" aria-label=\"Read more about Problem on WordPress Background Password\">Read more<\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[200,199,201],"class_list":["post-544","post","type-post","status-publish","format-standard","hentry","category-website","tag-pluggable-php","tag-wordpress-backgroud-password","tag-wp_set_auth_cookie"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/posts\/544","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/comments?post=544"}],"version-history":[{"count":1,"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/posts\/544\/revisions"}],"predecessor-version":[{"id":2034,"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/posts\/544\/revisions\/2034"}],"wp:attachment":[{"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/media?parent=544"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/categories?post=544"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostease.com\/blog\/wp-json\/wp\/v2\/tags?post=544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}