Basically I just need a sitemap that is updated when a new page is added.
I'm having some trouble with the SS Sitemap functionality. I can see a folder labelled 'googlesitemaps' in the SS root directory. I'm not 100% sure whether this folder is installed by default (as another person installed SS). I checked the readme in the folder and it was a bit of a dud; no installation instructions, no usage overview, and the documentation link takes you to a page that is apparently no longer updated (here [url]http://doc.silverstripe.org/old/modules:googlesitemaps[/url]).
I cannot actually find the sitemap.xml file anywhere in the directory that SS is installed in. Any ideas?
Can anyone point me to some easy to understand instructions or documentation?
29 July 2011 at 10:36pm
The XML sitemap is for search engines like Google, so if you need to submit a sitemap to Google, just use the www.example.com/sitemap.xml.
If you are looking to create a sitemap that visitors should be able to look at and navigate, you would have to create a template for that.
Have a look at doc.silverstripe.org -> http://doc.silverstripe.org/sapphire/en/tutorials/1-building-a-basic-site
29 July 2011 at 11:41pm
If submitting to google in webmaster tools, then just click "Submit sitemap" and then type sitemap.xml in the field :o)
The adress is www.example.com/sitemap.xml -> the file is not on disc, but the XML is generated and sent on the fly from database upon request.