Building Sitemap XML for Delivery Servers

OOB “Sitemap XML Module” generate the Sitemap XML on Content Management Servers only. To get it generated on Content Delivery Servers as well, we need to add a custom event.

Normally we have atleast one Content Management and one Content Delivery Server. But on scalable and distributed architecure number of servers increases based on requirements.

To update the Sitemap XML on Content Delivery Server after every pubilsh, please add the following in event section:

<event name=”publish:end:remote”>
<handler type=”Sitecore.Modules.SitemapXML.SitemapHandler, Sitemap.XML” method=”RefreshSitemap” />
</event>

Publish a new item and check the Sitemap.xml on CD server.

Please refer the following useful articles for reference:

http://www.craigtaylor.us/2013/10/publishing-your-xml-sitemaps-to-your.html
Configure Sitecore to update Sitemaps.xml on ALL servers

Hope this helps.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Powered by WordPress.com.

Up ↑

%d bloggers like this: