Thread: Sitemaps!!
View Single Post
Old 05-10-2006, 02:45 AM   #3 (permalink)
Mrblogs
Senior Member
 
Mrblogs's Avatar
 
Join Date: 03-29-06
Posts: 395
iTrader: 0 / 0%
Latest Blog:
None

Mrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really nice
Send a message via MSN to Mrblogs Send a message via Yahoo to Mrblogs
For sitemaps..

For sitemaps I prefer to automatically generate my own using PHP.

The PHP script checks a cached file to see if the file is less than one day old, if it is, then it just sends the cache to the screen, otherwise it re-generates the cached xml file like this:

First it creates a list of "static links", links to pages that just contain static information (such as index page, registration, about, contact pages etc), then it creates a list of "dynamic links" from the database so that all relevant pages are listed. As google sitemaps are just URL links, it is important that the <title> tags of the linked pages contain relevant information, or the crawling of the pages will no do much seo wise.

Using the above method also it is easier to create html static sitemap pages that are updated every day, for other web-crawlers such as yahoo or msn, that don't (afaik) use any sitemap.xml files.
Mrblogs is offline   Reply With Quote