A WordPress password protected page not working usually has a narrow cause: the browser did not save the access cookie, a cache is serving the locked or unlocked response incorrectly, or a plugin or theme changed the password form or authentication behavior. The page password itself may also have been changed or entered with an unexpected space or character.
In this guide
Start with a private browser window and the exact page URL. Enter the password once, reload the page, and check whether the problem follows you to another browser or device. Do not disable all security controls or edit the database as a first step. The ordered checks below separate a visitor-side problem from a WordPress, caching, or hosting problem.
What “not working” looks like
Identify the exact symptom before changing anything. Different symptoms point to different causes:
- The password is rejected: the saved page password may not match what you are entering, or the form may be altered by a plugin or theme.
- The password is accepted, but the page remains locked: the authentication cookie may be blocked, deleted, or prevented from reaching the page.
- The page shows protected content without asking for a password: a page cache or CDN may be serving a previously unlocked response. Treat this as a privacy issue.
- The form is missing, blank, or redirects: a template, security plugin, redirect rule, JavaScript feature, or cache configuration may be interfering.
- It works for you but not other people: your browser, logged-in session, or cache may be hiding the real problem.
First checks that are safe for beginners
1. Confirm the page is actually password protected
Log in to WordPress and open the page for editing. In the page settings, find the visibility or status control and confirm that it is set to password protected rather than public or private. The exact control label and location can vary with the WordPress version and editor.
Replace the password temporarily with a short test password containing ordinary letters and numbers. Avoid copying it from a document while testing, because copied text can include a trailing space or a different dash character. Update the page, open its public URL in a private window, and test again. Change the password back to a strong unique value after the test.
2. Test without an old login or browser session
Open the URL in a private or incognito window, or use a different browser and device. Sign out of WordPress before testing. If the page works privately but not in your normal browser, clear cookies for that site and try again. A stale cookie can preserve a failed authentication state.
Also test with browser extensions temporarily disabled, especially extensions that block cookies, scripts, or redirects. Do not install a new troubleshooting plugin yet; adding more code makes the cause harder to isolate.
3. Check the exact URL and page status
Make sure you are testing the published page URL, not an editor preview, a cached search result, or an old URL that redirects elsewhere. In the editor, confirm the page is published and copy its current permalink. If the site recently moved from HTTP to HTTPS or changed its domain, test the final HTTPS URL.
Check caching before changing WordPress files
Caching is one of the most common reasons a password protected page behaves inconsistently. A page cache, hosting cache, CDN, or optimization plugin may store the password form and replay it to everyone, or store the unlocked page and expose it to visitors who have not entered the password.
Clear the correct cache layers
- Clear any cache available in the WordPress caching or performance plugin.
- Clear the host’s server-side page cache if your host provides one.
- Purge the CDN or proxy cache, if the domain uses one.
- Close the browser window, open a private window, and test the URL again.
Names and controls vary by plugin and host, so use the cache provider’s documentation if you cannot identify the purge control. Do not repeatedly purge every cache while changing multiple settings; record which layer you cleared and test after each change.
Exclude the protected page from full-page caching

Configure the cache system to bypass this page, and if the system supports it, bypass requests that contain the WordPress password-protection cookie. The cookie name and cache controls can vary by WordPress version, host, and plugin. Confirm the required exclusion syntax with the cache provider rather than copying a rule intended for a different platform.
After saving the exclusion, purge old cached copies and test from a private window. Ask a second person on a different connection to test without sharing your browser session.
Security warning: if an unprotected visitor can see the page after another user entered the password, stop testing the page publicly and purge all caches immediately. A protected page must never be treated like ordinary public content.
Find plugin and theme conflicts
If the page still fails after a clean browser test and cache purge, temporarily isolate plugins that can affect authentication, caching, redirects, forms, security, or page rendering. Common examples include cache plugins, security and login plugins, membership tools, redirect managers, cookie-consent tools, and custom code plugins.
The safest approach is to use a staging copy or a WordPress troubleshooting mode that changes plugin and theme behavior only for your logged-in session. If your host provides staging, create a current backup or restore point first. On a production site, avoid deactivating security or caching controls for longer than necessary.
- Record the current active plugins and theme.
- Test with the suspected cache, security, redirect, or membership plugin disabled or bypassed.
- Retest the protected page in a private window.
- Reactivate or restore one component at a time.
- When the failure returns, update or reconfigure that component and check its support documentation.
Switching temporarily to a default WordPress theme can identify a theme template problem, but do this on staging where possible. A custom page template may omit the normal password form or fail to call the WordPress password-protection functions correctly. If the default theme works, ask the theme developer to inspect the template rather than editing it blindly.
For a broader conflict workflow, see common WordPress error diagnosis steps. Do not leave a plugin deactivated permanently if the site depends on it; fix the conflict or choose a compatible replacement.
Inspect redirects, cookies, and HTTPS
Redirect checks
Watch the address bar after submitting the password. Does the URL return to the same page, switch between HTTP and HTTPS, add or remove www, or redirect to the homepage? A changing host or protocol can prevent the browser from sending the authentication cookie to the URL that displays the content.
Check the site URL and WordPress URL in the general settings, if available, and confirm they use the intended HTTPS hostname. If a CDN or reverse proxy is involved, confirm its SSL mode agrees with the hosting server. Do not change wp-config.php, DNS, or .htaccess without a backup and a way to restore access. A redirect problem can affect the entire site.
Cookie checks
Browsers can block cookies because of privacy settings, consent tools, security extensions, domain changes, or an incorrect server response. In the browser’s site settings, allow cookies for the site temporarily and retest. If this fixes the page, adjust the privacy or consent configuration carefully rather than weakening cookies for every domain.
If the browser’s developer tools are familiar to you, inspect the request after submitting the form and look for a response that sets a WordPress password cookie. The exact cookie name can vary, but the important question is whether a cookie is set and then sent on the next request. If you are not comfortable reading request headers, provide this observation to your host or developer.
Check custom code and server behavior
Custom snippets can filter password checks, alter the password form, remove cookies, or redirect protected pages. Review recently added code in a snippets plugin, the active theme, or a must-use plugin. Disable one recent change at a time on staging and retest.
Ask your hosting provider to review server and CDN logs if the page returns a 403, 404, 500 error, repeated redirect, or unusual response after password submission. The host can also confirm whether a firewall rule, bot challenge, object cache, or server page cache is interfering. Do not assume that a 500 error is a password problem; it may indicate a PHP or plugin failure.

For file-level changes, make a backup and keep an independent recovery method. Avoid replacing .htaccess, deleting cookies globally, or editing database rows just to make one page work. These actions can cause wider outages or remove protection from other content.
Use this cause-and-fix guide
- Fails only in one browser: clear that site’s cookies, test extensions, and review cookie blocking.
- Fails for everyone after a cache purge: inspect the page password, cache exclusions, and the active theme or plugin.
- Accepted password returns to the form: investigate cookies, HTTPS/hostname mismatches, redirects, and security rules.
- Unlocked content appears to strangers: stop sharing the URL, purge every cache layer, and exclude the page from full-page caching.
- Form is missing or visually broken: test the theme and page template, then check JavaScript and optimization settings.
- Only one page fails: compare its template, password, status, custom fields, and recent edits with a new test page.
Verify the fix properly
Do not verify only while logged in as an administrator. Use a private browser window, a second browser, and—if possible—a second device or connection. Test all of the following:
- An unauthenticated visitor sees the password form, not the protected content.
- The correct password displays the page.
- An incorrect password does not reveal the page.
- Refreshing the unlocked page continues to work as intended.
- Opening the URL after clearing cookies returns to the password form.
- The page does not redirect between HTTP, HTTPS, or different hostnames.
Ask a colleague to test without sending them a password first. This catches accidental public caching. If you use a CDN, check from a location outside your own network and purge the CDN again after the final configuration change.
When to get professional help
Escalate if the page exposes private content, the site enters a redirect loop, a production theme must be edited, or the problem involves server cache, DNS, firewall rules, or database changes. Include the page URL, the exact symptom, whether the password is accepted, browsers tested, recent changes, and whether the problem affects other protected pages.
If you need someone to trace the issue without making untracked production changes, WP Fix It’s WordPress Site Repair service can be a suitable next step. For general WordPress documentation and version-specific guidance, consult the official WordPress Documentation.
Specific questions readers often ask
Why does the password work once and then stop working?
The browser may have lost or blocked the authentication cookie, or a cache may have stored an outdated response. Clear the site cookies, purge relevant caches, and test again in a private window. If it repeats, inspect redirects and cookie delivery rather than changing the page password repeatedly.
Why does a password protected page work for administrators but not visitors?
Administrators may see a fresh response or bypass some cache and security rules. Test while logged out and use a second device. If only visitors fail, focus on page caching, CDN rules, cookie consent, and firewall behavior.
Can a WordPress cache plugin cache a protected page?
Yes. Depending on its configuration, it may cache the password form, an unlocked response, or a redirect. Exclude the page and relevant authentication-cookie requests from full-page caching, purge existing copies, and verify from an unauthenticated browser.
Should I remove the page password and add a membership plugin?
Not as a troubleshooting shortcut. A membership system changes access control and may introduce its own sessions, redirects, and cache requirements. First determine whether the native page password fails because of cookies, caching, a template, or a conflict. Choose membership protection only when you need roles, accounts, expiration, or more advanced permissions.



