How to modify WordPress headers on specific page?

Posted by Editorial Staff | Updated on

How to modify WordPress headers on specific page?

If you want to change HTTP headers only to posts of a specific category or specific pages, then use the below code inside your theme’s functions.php file.

From How can I change HTTP headers only to posts of a specific category from a plugin:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers