cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sitemap XML Hybris issues

Former Member
0 Kudos
2,925

I am trying to create a sitemap.xml for my Hybris site by going out of the box way and copying the ImpEx given in out of the box store in my site.impex.

The sitemap.xml generated after running the cronjob consists of multiple tags, which in turn contain the location of the different sitemap page types.Here in product and categories,most of the products and categories are visible,but the issue here is that they begin with localhost.Should this behaviour be changed in higher environments?If so,how to do this?

Besides,in our pages,we have several content pages and also some custom pages,which do not feature there.How to add these in sitemap.xml?

Accepted Solutions (0)

Answers (1)

Answers (1)

arvind-kumar_avinash
Active Contributor
0 Kudos

By default behaviour, the context path is prefixed while generating the sitemap which means it will be localhost specific context path in your local setup while it will be production context path in production. Anyway, you will execute the site generation jobs in the lower environments before you will do it in production and this way you can verify the environment specific sitemap. I am not sure, if you have gone through https://help.hybris.com/6.7.0/hcd/8adb25b386691014af16eb036124f349.html . You can find your questions answered on this page.

Former Member
0 Kudos

Thanks a lot for your comment.We have configured the attributes:

media.siteID.http and media.siteID.https

So the first point is resolved.However we are still not getting content pages and some other pages, pointing to some custom components.How to resolve this?