on 2019 Jun 21 3:40 PM
Hi,
We are using the OOB SiteMapMediaJob to generate the sitemaps. It work fine and is generating 7 different xml which we can see in cms site through hmc.
The xml are not named as sitemap.xml but as Product-en-USD-1998943966038873537.xml, for example.
when we go to https://localhost:9006/storefront/sitemap.xml it still shows the old sitemaps with only few products.
Do we need to manually rename and upload the generated sitemaps to specific location?
Hi ,
Are you trying to check the product sitemap after running the job and reloading https://localhost:9006/storefront/sitemap.xml ?
Just FYI.. Job creates a new media instance for each sitemap (Ex. Product, Category..) every time it runs.
So, please check once the latest job runs successfully you are trying to use the latest media URL of generated XML.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If it is multiple site configuration, can you please try to access the sitemap with your site URL, not with localhost? ex.https://siteurl:9006/storefront/sitemap.xml or https://siteurl/storefront/sitemap.xml
SiteMapController should be in your storefront extension. path : /yacceleratorstorefront/web/src/de/hybris/platform/yacceleratorstorefront/controllers/misc/SiteMapController.java
Thanks Sumit, found the controller. Let me debug in local. But even when we created the sitemaps in our dev server cms site it is not reflecting.
https://dev-services.gehealthcare.com/gehcstorefront/sitemap.xml
User | Count |
---|---|
31 | |
2 | |
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.