I'm happy to write my own but if there's a really nice PHP script out there that i can just run on a cron and exclude directories then i'd love to hear about it!
I'd prefer to use a scraper/crawler type script than write the XML from the database....
A sitemap is a file where you provide information about the pages, videos, and other files on your site, and the relationships between them. Search engines like Google read this file to crawl your site more efficiently.
To start, you need to know where your sitemap is. If you're using a plugin, chances are the URL is domain.com/sitemap.xml. If you're doing this manually, name your sitemap something like sitemap. xml then upload to the root folder of your website.
http://code.google.com/p/sitemap-generators/wiki/SitemapGenerators
As far as the database interaction, you can adapt one of the above.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With