If-Modified-Since HTTP header not working

I’m not sure if this is the right place to ask, but adding the code to the child theme function.php doesn’t register. Anyone know how to set it up?

Hey @teddyjames23,

Would you mind specifying what code you are trying to add to the child theme that is not taking effect?

For the meantime, please make sure that you have the child theme activated on the site.

Hope this helps.

Thanks for getting back. My theme is activated, here’s the code below

Hi theodore,

I’m not exactly sure what you are trying to achieve with that code.
Can you please provide us some more info.

For the mean time, please check the links below


Thanks

I was just going through Google webmaster guidelines and figured it would be a good idea to implement. Here’s a snippet

Hello Theodore,

You maybe adding an incorrect code. If you have the code from a 3rd party site or from a coder, please get back to them. To make sure that you are modifying the http headers in WordPress properly, you might want to check out this links:

Please note that custom coding is outside the scope of our support. Issues that might arise from the use of custom code and further enhancements should be directed to a third party developer.

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.