Changing meta tags in header.php

This topic contains 2 replies, has 2 voices, and was last updated by  jltrinka 9 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #9465

    jltrinka
    Free User
    Post count: 183

    So i want to modify header.php with the following meta tags to prevent caching of the pages and keep the dynamic content on my page as relevant as possible:

    
    
    <meta http-equiv="cache-control" content="max-age=0" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
    <meta http-equiv="pragma" content="no-cache" />
    
    

    But i dont want it to overwrite during upgrade. If i copy header.php over into the child theme’s root and update the info there, will i run into issues in the future with GD?

    #9478

    Paolo
    Site Admin
    Post count: 31206

    nope, that’s the way to go…

    Thx

    #9662

    jltrinka
    Free User
    Post count: 183

    Thanks 😀

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket