XML site map that automatically updates

gwh2
gwh2 used Ask the Experts™
on
Hi everyone,

I used one of those free xml site map generators freely available on the internet to generate a site map of my website. I then uploaded this to my web server and submitted the site map on Google Webmaster Tools. The problem with this is that I will need to keep re-generating, uploading and re-submitting the site map every time the site changes.

I wondered if anyone could tell me if there is a way to have the site map update automatically when the site changes so that it's less time-consuming and more efficient? The site is built on the Magento platform so uses PHP as the base language.

Would really appreciate any advice.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Digital Marketing (Hospitality)
Commented:
Hi gwh2,
You can enable Magento’s cron system. See this article for further step by step guidelines.
http://www.sycha.com/magento-tip-enable-google-sitemap-xml

Author

Commented:
Great - thanks for the link. I'll have a look.

Much appreciated.

Author

Commented:
Hi, I've taken a look at the suggested link and it looks like something that could work. As mentioned in my original post, I've already submitted a site map to Google so once I get Magento to create the new map and have it update automatically, will I need to re-submit the map or if I call it the same file name as my current site map, i.e. sitemap.xml, will Google know that it's changed and just re-crawl it as it updates?

Thanks again for your help.
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

Dave BaldwinFixer of Problems
Most Valuable Expert 2014
Commented:
Google reloads my 'sitemap.xml' periodically so you probably can just update the file on your site.  If you make big changes, you would want to do a manual upload to get Google's attention more quickly.

Author

Commented:
Thanks for the reply,

Google reloads my 'sitemap.xml' periodically so you probably can just update the file on your site

When you say that I can probably just update the file on the site, do you mean that I can just let Magento automatically update it using the cron script? So I would never have to do it manually as it's being handled by Magento?
Dave BaldwinFixer of Problems
Most Valuable Expert 2014

Commented:
I don't know about Magento.  If it updates the 'sitemap.xml' file periodically, that should work.  Note that Google checks your sitemap file on it's own schedule.

Author

Commented:
Ok no problem. Thanks for the help.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial