Jump to:

22978 Posts in 11807 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Googlesitemaps (xml not showing up)

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 511 Views
  • Mny80
    Avatar
    Community Member
    1 Post

    Googlesitemaps (xml not showing up) Link to this post

    Hi,

    I've been searching the form for over 2 hours now and I can't seem to find an answer to why my sitemap.xml file won't be generated.

    I've run www.mysite.com/sitemap.xml and get nothing - no error message, just blank. When I check our servers - I don't see the sitemap.xml file either.

    I'm really stuck here.

    I'm running Silverstripe 2.4 along with the subsites module (which I believe could be the issue here, but not sure).

    Is anyone else running into this same issue? If anyone could help even point me in the right direction that would be great.

    Thanks.

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Googlesitemaps (xml not showing up) Link to this post

    Have you got a folder in your site root 'googlesitemaps'. Also ensure that folder has a _config file.

    sitemap.xml is not a file, SilverStripe listens for the sitemap.xml URL and if someone requests it sends them to the GoogleSitemap class. (http://open.silverstripe.org/browser/modules/googlesitemaps/trunk/_config.php).

    If you don't have mod_rewrite installed then the url would be index.php/sitemap.xml

    511 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.