Module

Developer
Supported

Sitemap Module

ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5

Back to this add-on's main page
View Other Add-ons From PutYourLightsOn

     

You must be logged in to post.

How do I use with MSM

Support (Resolved)

modelreject
modelreject

How would I output a second sitemap as I am using MSM?

I have tried…

{exp:sitemap:get site=“business_services”}
{exp:sitemap:get site_id=“2”}

Thanks,
Clinton

PutYourLightsOn
# 1
Developer
PutYourLightsOn

hi clinton,

the sitemap module should auto detect which sitemap to output depending on what site you are currently viewing. so the only code you need in your template is:

{exp:sitemap:get} 

all clear?

modelreject
# 2
modelreject

UPDATE:

Apologies, I see what the problem was and hopefully this will help someone else. There were no Status Group set under Group Assignments.

This definitely isn’t working. It is generating the sitemap but not outputting the pages eg I have ‘Included’ the relevant Channels I want output but it just isn’t happening. I understand it’s practially impossible to troubleshoot this but I thought you may have come across this issue before. Thanks.

PutYourLightsOn
# 3
Developer
PutYourLightsOn

if you email me details as well as cms access then i can take a look for you (info@putyourlightson.net)