WordPress hijacking 404 pages
-
Hello! I’ve searched for a while about this problem but haven’t found anything conclusive yet, so I’m coming to you.
The problem: WordPress is hijacking my 404 pages. If I type in mysite.com/p87aw9m (or any other nonsense), it always appears as a WordPress page that says “Sorry, no posts matched your criteria.”
I discovered that this was happening because my permalink structure was something other than the default (I think I was using the “Month and name” structure). When I changed the permalink structure back to Default (?p=123), WordPress magically stopped handling the 404 pages.
My permalinks themselves are fine no matter what structure I use – I just find it very, very bizarre that using a structure other than the default makes WordPress take over my 404 pages. What gives? Is there any way to avoid this? I don’t particularly like the default permalink structure, but I also don’t like WordPress stepping in every time a page isn’t found. Help? Thanks!
- The topic ‘WordPress hijacking 404 pages’ is closed to new replies.