Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

Custom link to sitemap in GoogleSitemap


Go to End


852 Views

Avatar
tuxibear

Community Member, 9 Posts

24 November 2015 at 7:21am

We are looking to integrate wordpress into one of our sites to handle the blog posts (because it has tag clouds, categories, etc, without having to build all of that). I know there is a blog plugin for Silverstripe, I will consider it if I can't get this to work.

Essentially: I am asking if it is possible that if the wordpress site were to generate it's own sitemap through a plugin, is it possible for me to add a link to this in the GoogleSitemap generated by Silverstripe?

example:
<sitemapindex>
<sitemap>
<loc>NORMAL SITEMAP LINK</loc>
<lastmod>2015-10-30</lastmod>
</sitemap>
<sitemap>
<loc>LINK TO SITEMAP GENERATED BY WORDPRESS</loc>
<lastmod>2015-11-02</lastmod>
</sitemap>
</sitemapindex>

any help you could offer would be great - thanks