add to php header
-
Hey guys,
I’m trying to stop my site from being cached locally by adding the following to the PHP header
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
however, i obviously cant just put this in the header.php because the headers have already been sent by WordPress..
does anyone know how to add to/replace the default header that WordPress sends?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘add to php header’ is closed to new replies.