Hi, I want to know, that how can i get the sitemap for my site, it's ecommerce site. New pages are added with new products and deleted once product is unavailable. Kindly provide the solution for it. Thanks
You could automate sitemap generator for it. Or perhaps find a module/plugin for your website paltform / CMS?
Microsys is one of the best sitemap generator and Google also recommend it. It will automatic generate it
If you are running a proprietary CMS I suggest you take a look at the sitemap protocol (http://www.sitemaps.org/) and write a PHP script that queries the database for all products that are active (plus every other page) and generates a sitemap. Put this at the top of your PHP script: header("Content-type: text/xml"); PHP: and have an entry in .htaccess like this: # Dynamic Sitemap RewriteRule sitemap.xml sitemap_generator.php Code (markup):
I was looking for the answer for so long, but now I tried the Microsys that greenoro0's recommended and it seems to work perfectly. Thanks a lot!!