I AM LISTENING TO
|
WHAT I LIKE

Forcing a different HTTP Response Header in WordPress

12. April 2015








Forcing a different HTTP Response Header in WordPress

I had a problem with the tag pagination throwing 404 errors and was forced to integrate a custom query into the 404 page, while fixing the rewrite rules ;)

This is how you force a different HTTP response header with WordPress, in this case a simple HTTP/1.1 200 OK.

Some tweaking to add your own classes to the body tag

 




Leave a Reply

avatar
  Subscribe  
Notify of
Previous Next