Skip to main content

New answers tagged

1 vote

setting custom HTTP header based on HTTP error code (Apache 2.4)

From my understanding, you want to add a particular header depending on the request status of the client. While you can't do that directly as an IF statement (per documentation), here's a workaround ...
Luis Alberto Barandiaran's user avatar
0 votes

How to return error 404 on non existent page on WordPress?

I know this question was asked many years ago but it looks like it was never properly answered. I wrote a guide on how to force a 404 error page in WordPress. So for this question specifically you ...
WPExplorer's user avatar

Top 50 recent answers are included