on 2018 Oct 21 10:19 PM
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?
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.