URL /?p=x ,where x is any non-numeric string, results in index.php showing all posts.
I would prefer it to show my home page (static) or a 404 page as I filter the content depending on user and don’t want to show all to all and sundry.
If the url is for a page not found e.g. /?p=12345678 then response is correctly a 404. However any other /?p=[something] results in index.php showing all posts.
I am not using permalinks.
Is this a bug or a feature? If a feature, is there a work-around?
- The topic ‘invalid page query shows index page instead of 404 or home page’ is closed to new replies.