Toggle navigation
PRO Sitemaps
Standalone Generator
About Sitemaps
News
SEO Tools
Sitemap Generator Forum
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
XML Sitemaps Discussions Category
/
Unlimited PHP Sitemap Generator
/
Last madified time & date in xml sitemap?
On Page SEO Checker:
Get a list of improvements for your website for free in less than 5 minutes!
« previous
next »
Pages:
1
syeyehya
4
Last madified time & date in xml sitemap?
«
on:
December 07, 2009, 09:52:32 PM »
I understand that as I am using a php site then the last mod field is the last time that the page was accessed.
Is there a way to work around this issue in simple terms please?
It would be nice to reflect the real last modified times as this would stop the robots crawling the same pages over and over.
Many thanks,
Sye
Logged
XML-Sitemaps Support
11743
Re: Last madified time & date in xml sitemap?
«
Reply #1 on:
December 07, 2009, 10:34:13 PM »
Hello,
you will need to modify your website's PHP script by adding a lst modified http header with code similar to:
Code:
[Select]
<?php
header
(
'Last-modified: '
.
gmdate
(
'D, d M Y H:i:s'
,
$your_lastmod_date
));
?>
Logged
Oleg Ignatiuk
https://www.xml-sitemaps.com
Send me a Private Message
SEM and SEO Reports, more than 45M domains
: The world's leading Competitive Intelligence Tool for digital marketing.
syeyehya
4
Re: Last madified time & date in xml sitemap?
«
Reply #2 on:
December 08, 2009, 06:06:45 PM »
Thanks, I will ask my web guy to do it.
Logged
Pages:
1
« previous
next »