I recently redesigned my college newspaper’s website and have been doing everything I can to make sure the archives properly redirect. The site is powered by WordPress and the permalinks are set to /%category%/%post_id%/%postname%/.
Basically, WordPress takes a request like www.bupipedream.com/*anything*/post_id/*anything*/ and redirects it to the post with that post_id whether or not the category or postname are correct.
This is causing problems when someone tries to access an old-URL like www.bupipedream.com/Issues/443, WordPress redirects them to the post that has a post_id of 443.
How can I stop WordPress from redirecting requests to www.bupipedream.com/Issues? I want WP to show a 404 instead.
Thanks, Dan
Similar to ThinkingMonkey, but in reverse: block categories you want to 404: