We are using java dxa 2.0 and default navigationcontroller.class for generating sitemap.xml.

Now how can I remove some unwanted URLs (ie. some AJAX calls, email template pages and others)?

Is it possible to generate 1 consolidated sitemap.xml in root publication for 2 different child publications (English and Arabic)?

1 Answer 1


DXA offers 2 OOTB ways of generating the sitemap, static and dynamic. You can read more here.

Now depending on which type you use, the default one is static, you will have to do different actions. Either adjust the numeric prefixes or adjust the taxonomy and keywords used by pages.

Yes, but you will have to custom code this yourself and since you want this in the root, that implies that the parent publication is also published.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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