Can you help me make Google happy?

Discussion in 'Customization & add-ons' started by 123Marketing, Sep 18, 2006.

  1. 123Marketing

    123Marketing Member

    Joined:
    Jun 4, 2005
    Messages:
    138
    I just got my hands on a secret Google document showing the importance of having an HTML header display the Last-Modified date.

    Can you point me in the right direction on how to have the Last-Modified show up on my headers (probably via .htaccess)?

    Once I confirm my findings, I'll post 'em here.
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Well, it is not something that aMember could handle, and unfortunately, it is impossible to do via .htaccess. It would be easy if your pages were PHP.
  3. 123Marketing

    123Marketing Member

    Joined:
    Jun 4, 2005
    Messages:
    138
    Hi Alex... my pages are PHP... any ideas?
  4. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
  5. 123Marketing

    123Marketing Member

    Joined:
    Jun 4, 2005
    Messages:
    138
    Alex... I appreciate that link, but the last modified date and time needs to show up in the HTTP header to make Google happy... any thoughts?
  6. Chai

    Chai New Member

    Joined:
    Sep 19, 2003
    Messages:
    2
    Well, in case anyone needs it:
    http://us2.php.net/manual/en/function.header.php

    Example:
    Code:
    header('Date: ' . date("D M j G:i:s T Y"));
    header('Last-Modified: ' . date("D M j G:i:s T Y"));

Share This Page