XML site map that automatically updates

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.
LVL 1
gwh2Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David H.H.LeeCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gwh2Author Commented:
Great - thanks for the link. I'll have a look.

Much appreciated.
gwh2Author 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 SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

Dave BaldwinFixer of ProblemsCommented:
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.
gwh2Author 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 ProblemsCommented:
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.
gwh2Author Commented:
Ok no problem. Thanks for the help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
XML

From novice to tech pro — start learning today.