开发者

Dynamically creating sitemap for my website on linux server

I run a website. I add content to the website severally in a day.

I want to generate a site map that will dynamically change with change in content.

Have done some searches but only saw manual sitemap builders.

My w开发者_如何转开发ebsite does not run on wordpress, joomla or any other cms (it was custom built)

How do i go about generating the sitemap

Thanks!


The best option would be to build a custom sitemap.xml generator, in PHP pulling in data from your database.
Alternatively you can use an external crawler (Looks at your site the way any user would) which would crawl through every page on your site reading and saving links. This is more CPU intensive and takes longer. Check out http://enarion.net/tools/phpsitemapng/ as an example (Works in PHP too)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜