# Sitemap not working for pages with locale-suffix

**URL:** <https://community.swiftype.com/t/sitemap-not-working-for-pages-with-locale-suffix/397>\
**Category:** General\
**Tags:** crawler\
**Created:** [July 11, 2017, 2:09pm UTC](https://community.swiftype.com/t/sitemap-not-working-for-pages-with-locale-suffix/397 "2017-07-11T14:09:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aendekerk](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@aendekerk](https://community.swiftype.com/u/aendekerk)\
**Post date:** [July 11, 2017, 2:09pm UTC](https://community.swiftype.com/t/sitemap-not-working-for-pages-with-locale-suffix/397/1 "2017-07-11T14:09:52Z")

</div>

Hi,

i have multiple pages being indexed by Swiftype, most work just fine.  
Two of my Pages have localized versions like [example.com/en-GB](http://example.com/en-GB) and [example.com/fr-BE](http://example.com/fr-BE). I configured them as this as the domains for the url in the engine.  
But now it seems that the Swiftype crawler does not find my sitemap.xml under [example.com/$locale/sitemap.xml](http://example.com/%24locale/sitemap.xml) which makes parts of the Page not being indexed.  
Since there are a lot of additional pages being fed by the same site, i cant just add the sitemap.xml to the robots.txt because then i would have to add a blacklisting to all other pages. My code does not allow me to generate a sitemap.xml for the base domain, because of heavy localization.  
Anyone got an idea how to resolve my dilema?

Thanks for reading this,  
Chris

---

<div class="post-metadata">

**Author:** ![mike](https://sea1.discourse-cdn.com/flex019/user_avatar/community.swiftype.com/mike/32/37_2.png) [@mike](https://community.swiftype.com/u/mike)\
**Post date:** [July 11, 2017, 11:22pm UTC](https://community.swiftype.com/t/sitemap-not-working-for-pages-with-locale-suffix/397/2 "2017-07-11T23:22:27Z")

</div>

Hi Chris,

It looks like you followed up directly through our other support channels, but I wanted to check to see if you’d any outstanding questions. Thanks!

---

<div class="post-metadata">

**Author:** ![aendekerk](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@aendekerk](https://community.swiftype.com/u/aendekerk)\
**Post date:** [July 12, 2017, 7:15am UTC](https://community.swiftype.com/t/sitemap-not-working-for-pages-with-locale-suffix/397/3 "2017-07-12T07:15:47Z")

</div>

Hi Mike,

i am being helped by the support, quite well i may add.  
There are still problems (one of those 2 pages is now working as intended) but im confident that we will manage those as well.

A manual way to add a sitemap would be a feature i would very much love to have 🙂

Best wishes,  
Chris
