Tagged Questions
0
votes
1answer
139 views
How to properly print a 404 error without redirecton? (i.e. keeping the current URL)
There are some pages on my BuddyPress install that I would like to hide by printing a 404 error.
With the help of the following question: Redirect Restricted Page to 404
I came up with this code:
...