Sitemap for dynamic PHP website ... the "lastmod" field is needed? -


I really have a small website, so I'm manually updating Sitemap with hand! Each "url" element has the fields: location, last mode, change, and priority.

The "last model" field is set up at the date of the witch, I update the contents of the related PHP page or content that loads dynamically in the respective PHP page!

I tried to use to verify that it was all right, and I have found that the "last mode" field is not in the generated Sitemap!

In Google Wiki, how to write a sitemap, it has been said that there is a good practice to set "last mode" for dynamic pages; So, my question is ...

Is the "last model" area required or not?

Thanks in advance! Standard

Standards say that this is optional:

& lt; Lastmod & gt; Optional

The last modified date of the file. This date should be in the W3C Datetime format. This format allows you to leave the part of the desired time, and use YYYY-MM-DD.

Still, search engines / spiders may be useful to know when your content is updated for the last time.


Entry of Frequently Asked Questions gives an interesting reason, which tells why you should include the last date if you (quote) : < / P>

Using an approximate date or timestamp, you can save the crawler from such a crawling URL that has not changed. This will reduce bandwidth and CPU requirements for your web server.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -