Protected Pages Not Working in IE, Chrome, and Safari
On a client site, I’ve set up three password protected pages using the default WordPress behavior. They all have the same password and were working fine in all browsers. I tested them in IE, Safari, and Firefox.
I also changed wp-pass.php’s code to make the password only save for a minute:
// 10 days setcookie('wp-postpass_' . COOKIEHASH, $_POST['post_password'], time() + 60, COOKIEPATH);
Now they’re only working in Firefox. When a user enters the password in one of the other browsers, the page refreshes, keeping the user on the password entry page and not taking them to the actual protected page.
I read some other posts on this. I tried clearing my cache, cookies, and restarting my computer. The website’s URL is the same under General Settings (does not have a www, but no pages on the site use www).
It’s still only working in Firefox, and it’s strange because it used to work in all the browsers.
- The topic ‘Protected Pages Not Working in IE, Chrome, and Safari’ is closed to new replies.