Site logo

Archived topic

if modified header

3 replies · Started by Klaus on August 7, 2019

Viewing posts 1–4 of 4

Hello, I would like to use GP "elements" to insert "if modified since" for google-bots into the header. It seems I would have to use a custom hook, the template_redirect action hook. Do you have a suggestion for me, how to configure this "element"?

Yes, that's what I thought about. I don't want to treat you as my "developer" but allow one question: I would like to inform my google bot about changes / no changes on my website. Do you know (or someone in this forum), if this header (the "if modified header") is needed and supplied for the site, or is it supplied for each page and post.

The second question would then be: is the hook-element the right spot to place the "if modified" info?

Thanks.

Sorry I'm not familiar with Google bot and the modified header you are referring to.

The second question would then be: is the hook-element the right spot to place the “if modified” info?

Did the source of the code provide some instructions on where you should be adding it?

This archived topic is closed to new replies.