I need to generate 4 sitemaps which differ in content included in them according to certain taxonomies! XML sitemap can generate one sitemap. When I try to generate other it displays error: A sitemap with the same context already exists.

  • I assume you are using the XML Sitemap module? – mpdonadio Feb 19 '13 at 12:27
  • What's wrong with a single sitemap ? They are not for humans right ? – AyeshK Feb 19 '13 at 14:58

I suggest installing the Views Data Export module. It will allow you to create XML pages from your taxonomy and as many as you want.

I would create one view and 4 page displays with the varying filters to generate your pages. Then change the output to XML.

I looked over the XML Sitemap, and the error you are experiencing seems to be something they are trying to troubleshoot. You can follow along there, or try some of their methods.

  • Would this be able to hook into the XML Sitemap module, so that the sitemap index file would be made? – mpdonadio Feb 19 '13 at 14:37
  • Well I just looked at the XML Site map module and you should be able to create more than one sitemap. – iLLin Feb 19 '13 at 14:44
  • Edited with a new link for you to read. – iLLin Feb 19 '13 at 14:47
  • 1
    I think it will be best solution to use Views Data Export, Thank you all! Thank you iLLin! – Mike Cameron Feb 19 '13 at 23:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.