Set up 404 page
-
Is it possible to load the 404 page whenever/reason you want?
The thing is that I have a custom field and WP doesn’t use it by default to check if that taxonomy is supposed to be open or not… so I am checking with PHP that field and if it is not “Active” I am redirecting the user to the homepage but I would like to show the 404 page instead of redirect them… is there any function to do that?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.