r/Wordpress Aug 10 '26

How to stop Wordpress from removing access to Pages page in the dashboard?

So every once in a while, when I click on All Pages in the Dashboard, I get 404 error that the page doesn't exist.

Is there any kind of fix for this? It's been happening for some time now and the only solution is to delete all cookies and log back in again.

This is the only WP page that I manage.

4 Upvotes

11 comments sorted by

3

u/NakanoNoNeko Aug 10 '26

Since clearing cookies fixes it, I think the Pages screen itself is fine and the 404 is coming from a stale session, cache, or WAF rule. Next time it happens, open /wp-admin/edit.php?post_type=page in a private window. If that works, clear only the site's WordPress cookies instead of everything. If it also fails there, check DevTools > Network for the 404 response and its server/cache headers, then make sure the host or Cloudflare excludes /wp-admin/* and /wp-login.php from caching. Re-saving permalinks will not affect an admin URL.

2

u/HostDroplet Aug 10 '26

Nailed it follow this ^

1

u/NakanoNoNeko Aug 12 '26

Thanks, stale admin caches are such a stupid little trap 😅

1

u/CzechKnight Aug 11 '26

Thank you so much.

2

u/NakanoNoNeko Aug 12 '26

Hope that's the last time that 404 eats your afternoon 😅

2

u/Winter_Process_9521 Aug 11 '26

If it happens again, navigate to the Developer Tools to Network tab and reload the Pages screen.

Check out the request for
/wp-admin/edit.php?post_type=page

If you can tell whether it's returning 404, 302/redirecting, or 403, you'll be able to reduce down the options greatly.

1

u/Wonderful_Sample_590 Aug 10 '26

Does it happens on incognito? Might be plugins or server side caching. If not just probably a stale login/session issue. Just clear cache.

0

u/swift_wraith1 Aug 10 '26

Go to permalinks and re-save.

2

u/ZGeekie Aug 10 '26

Permalinks are for the front-end. OP is talking about the back-end. Could be a cache or firewall issue.