Redirecting to index.php instead of 404
-
We are using the Custom Permalinks plugin on our website (humancondition.com). We have an articles page (/freedom-essays) where we list articles from the “freedom-essays” category.
When accessing /freedom-essays/article-slug-that-does-exist/ the post loads correctly, BUT, if we access a url like this:
/freedom-essays/article-slug-which-does-not-exist/
…the index.php file is loaded, which lists the recent posts that were created. Instead, we expect a 404 page to be loaded instead in this case.
Is it possible to fix this ?
Thanks very much for your time.
- The topic ‘Redirecting to index.php instead of 404’ is closed to new replies.