Last Modified and Timezones in Sitemap Generator Tool
Abstract: Sitemap generator will during its crawl extract last modified values from all pages in your website. The sitemapper tool checks both HTTP headers and META tags. Navigate:Sitemap Generator | Buy | Download | Help Index
Checks if the webserver responds with last-modified HTTP response header:
HTML pages: The webserver will usually generate this header for you.
PHP pages: Insert this code <?php header("Last-Modified: " . gmdate("D, d M Y H:i:s", filemtime($SCRIPT_FILENAME)) . " GMT"); ?>.
If no relevant HTTP reponse header, the page is checked for last-modified HTML meta tag.
If still no last modified value has been retrieved, the URL path will be analyzed for date like patterns, e.g. yyyy/mm/dd.
Understand Timezone and Timestamps
You can always view the last-modified values retrieved in page data.
Note:
The server timezone will often be placed and configured to be different
from your timezone. The date and time the server returns in last-modified
depends on the server computer clock. This again depends on how the server timezone and clock has been configured.
Remove LastMod Information in XML Sitemaps
Navigate to: Create sitemap | XML sitemap options | Override calculated values.
Enable Override LastMod with chosen date/time option.