Setting Last-Modified as gmdate("D, d M Y H:i:s")." GMT")

Discussion in 'Google' started by anjanesh, Jul 30, 2007.

  1. #1
    Hi

    According to Google Webmaster Guidelines,
    But I got a dynamic website, where all the pages originate from index.php for which I've given:
    header("Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0");
    header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
    header("Content-type: text/html");
    header("Pragma: no-cache");
    PHP:
    Does sending Last-Modified as gmdate("D, d M Y H:i:s")." GMT") even if a page is not modified in the last couple of months hurt google (seo) indexing ?

    Thanks
     
    anjanesh, Jul 30, 2007 IP
  2. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #2
    i think you are a joomla user :D like me.

    i dont think that those header will help your seo.

    i have removed those part of my joomla index.php file.

    i suggest you to use joomla patch which is developed by joomlatwork.com
     
    trichnosis, Jul 30, 2007 IP
  3. anjanesh

    anjanesh Well-Known Member

    Messages:
    344
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    165
    #3
    I didnt notice, but in W3's RFC, If-Modified-Since if different from Last-Modified.

    And Im not using Joomla in this case.
     
    anjanesh, Jul 30, 2007 IP
  4. oseymour

    oseymour Well-Known Member

    Messages:
    3,960
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    135
    #4
    You can also set it in the sitemap....I'm sure there are sitemap plugins for Joomla and other CMS
     
    oseymour, Jul 30, 2007 IP
  5. anjanesh

    anjanesh Well-Known Member

    Messages:
    344
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    165
    #5
    And will this override the page's header ?
     
    anjanesh, Jul 30, 2007 IP