Questions tagged [sitemap]

All the question related to generating XML Sitemap, HTML Sitemap for Sitecore website or the Sitemap module.

Filter by
Sorted by
Tagged with
9 votes
2 answers
2k views

Options for sitemap generation on larger solutions

One of our clients has a large multi-site solution, with 3 sites that have about 100k+ pages each. All three sites have about 3/4 of their contained pages in bucketed items. To generate the sitemaps ...
5 votes
1 answer
922 views

How to format SXA sitemap XML?

I am getting Sitemap XML using mydomain/sitemap.xml but because of a tag, it is not correctly getting rendered in all browsers. Is there a way to configure/remove the following particular tag from ...
4 votes
2 answers
2k views

Advice on hreflang usage in page html vs. using in sitemap.xml file

I wanted to ask for some advice on the best way to proceed with hreflang tags on a sitecore site. Currently, we have an English only site but we will be launching 11 more language sites localized in ...
4 votes
2 answers
4k views

Creating Sitemap without using any module

I am beginner to sitecore. My company wants to create the sitemap for their website. I have search on the google and got some options to create it with the help of some modules like sitemap XML. Is ...
3 votes
1 answer
258 views

Execute a site dependent sitecore task

I would like to have a sitecore task to run differently depending on the current site. My task is scheduled to run every 24h to regenerate the sitemap.xml file. Im working on a multisite environement ...
  • 135
2 votes
1 answer
466 views

404 error page intermittently returned for SXA XML sitemap

Sitecore 9.1 SXA 1.8 When trying to access the XML sitemap on our website, a 404 page is returned about 25% of the time. It works 75% of the time. We have a multisite configuration, with an XML ...
2 votes
1 answer
530 views

Multilingual URLs in Sitemap.xml for SXA 1.5

I am having a Sitecore SXA (1.5) instance site which has multiple language for each country. For example: www.mysite.be/fr-BE (Country: Belgium, Lang: French) www.mysite.be/nl-BE (Country: Belgium,...
2 votes
1 answer
154 views

Publishing service with Sitemap XML

I've got the Sitemap XML package installed and I'm interested in using the new publishing service. Because the publish:end pipeline is no longer used with the publishing service, where would I put ...
  • 5,052
1 vote
2 answers
227 views

Sitemap generating random urls

I have an issue with the SXA sitemap where its rendering urls don't have an item in the site. When going the sitemap through {siteurl}/sitemap.xml it is containing records such as the below. Looking ...
  • 33
1 vote
1 answer
432 views

Sitemap is not showing hostname on CD server

This error is little confusing for me. For populating sitemap we are using SXA. Same settings are working on CM server but not on CD server. Sitemap.xml show urls but hostname is missing from there. ...
  • 141
1 vote
1 answer
504 views

Adding sitemap.xml custom route causes EnsureLoggedInForPreview.Process

I am adding a sitemap to my site. I created a custom route and am adding it in a pipeline processor. When I brows to the page I get the following error: Object reference not set to an instance of an ...
1 vote
2 answers
343 views

How to allow editors to configure redirection for a particular Item/Page?

I've so many links in different website for a particular page in sitecore. I want to allow Editors to configure the redirection for that particular Item to a new page. What is the best way of doing ...
1 vote
1 answer
66 views

Sitemap set noindex attribute

I need to set noindex attribute for each generated sitemap XML. I create sitemap.xml using Sitemap Controller [Route("sitemap_index.xml")] public ActionResult SitemapIndexXml() ...
1 vote
2 answers
426 views

Generate XML sitemap in Sitecore JSS

I am using Sitecore 10 and Angular JSS without SXA, I did not install it, so my question is how I can generate an XML sitemap to our site?
0 votes
1 answer
307 views

Sitemap in SXA JSS Site

We are using REACT App in the front end and using capabilities of Sitecore JSS(12.0) for headless view and SXA(1.9). I have configured settings to get sitemap settings (by inheriting sitemap template ...
0 votes
0 answers
46 views

Using a Scheduled Job to delete generated sitemaps, Job not working

So, I have asked before about deleting my log files on my system after two days, got that question answered and after debating about it I thought maybe add a different patch that will delete my ...
0 votes
1 answer
84 views

How to get all the media library items that are used/displayed on a page?

So we already have a custom site map generation service in our Sitecore 9.2 solution, to generate standard sitemap.xml files, which is working absolutely perfectly. However, we now want to extend it ...
0 votes
0 answers
35 views

Unable to remove CM URL from Google Search console [duplicate]

One of our News article pages is appearing with the CM URL in Google Search results instead of having a CD URL and even after adding "noindex,nofollow" meta tags the page still appears. This ...
0 votes
1 answer
144 views

Sitemap is showing Virtual folder name after the language code in Sitecore 9.0.1 with SXA 1.7

I am using Sitecore 9.0.1 with SXA 1.7. We have created one site where the languages used are "zh-CN" and "en" and configured the site to use virtual folder "/cn". When ...
  • 191
0 votes
0 answers
79 views

Dynamic Sitemap created from Content Hub data

So I am already using the built-in sitemap generator that comes with Sitecore 9.3 and that works fine. I am able to get out pages that are in the content tree. The issue comes when my company wants to ...
0 votes
1 answer
589 views

Trigger custom sitemap generation

We have a custom Sitemap generator class for our site; as we want to control some of the URLs generated in our sitemap.xml for bucketed items. I believe I've patched the Sitemap Generator correctly in ...
0 votes
0 answers
88 views

Sitemap not in XML format in Sitecore SXA [duplicate]

We are using Sitecore 9.0.2 and developed all the components using SXA 1.7.1. However Sitemap generated is not in XML format. All the URL's for site are clubbed together. Anybody has an idea how to ...
-1 votes
1 answer
90 views

Edit sitecore sxa sitemap

I want to add an alternative link to one of the URLs on the generated sitemap.xml by SXA is there away to do that manually? I have referred to that question but I think there may be a simpler way to ...