8 votes

How to format SXA sitemap XML?

Yes, you can. But it's not configurable. You need to override SitemapGenerator located in Sitecore.XA.Feature.SiteMetadata library. Most of the things are marked there as protected virtual so you ...
Dawid Rutkowski's user avatar
8 votes
Accepted

Options for sitemap generation on larger solutions

I have done this before by using a custom handler to provide the sitemap. In the handler I used the SearchAPI to pull a list of all items that are derived from a _Sitemap template and that have the ...
Richard Seal's user avatar
  • 20.4k
4 votes

Options for sitemap generation on larger solutions

Have you tried the Ultimate Sitemap module? I'm not sure if you can schedule tasks for it out of the box to be honest. But I think you can get that with the Automated publisher module as well. I ...
Diego's user avatar
  • 5,688
4 votes
Accepted

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

We have done this for several clients. I have added the alternate tags to the sitemap but that caused the sitemap to be too large and I didn't want to create multiple sitemaps. So we added the tag ...
Michael O'Laughlin's user avatar
4 votes
Accepted

Creating Sitemap without using any module

During my journey with Sitecore starting from version 6.4, until now, I couldn't find a Sitecore feature that can build Sitemap XML for you automatically. You have few options: Use one of the Market ...
Hany Shehata's user avatar
3 votes

Execute a site dependent sitecore task

If the different domains map 1 to 1 with a site node and those site nodes have different root paths then this should help. You should be able to make an extension method that finds the context site ...
Teeknow's user avatar
  • 2,477
2 votes
Accepted

Adding sitemap.xml custom route causes EnsureLoggedInForPreview.Process

I had to explicitly allow xml files using the Sitecore FilterUrlExtensions setting: <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <pipelines> ...
Ethan Schofer's user avatar
2 votes

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

You can use redirect module : https://marketplace.sitecore.net/Modules/301_Redirect_module.aspx?sc_lang=en Github repository where you can get the code and to modify it: https://github.com/Chris-...
Vlad Iobagiu's user avatar
  • 18.5k
2 votes

Sitemap in SXA JSS Site

TL;DR I think you forgot to extend Page template with appropriate field (_Sitemap) Current status Right now SXA (10 and lower) doesn't support officially Sitemap feature in JSS sites. There is no ...
Alan Płócieniak's user avatar
2 votes

Sitemap.XML for Sitecore JSS NextJS using SXA

If that works on local and not on Vercel, then I suspect its related to configuration (as you said). Here are details of how its implementation uses configuration and you can check those. With SXA ...
Vikrant Punwatkar's user avatar
2 votes

Sitemap is not showing hostname on CD server

From what I can see, sitemap.xml host is generated in the following order: If targetHostName site property is not empty, it's used. If hostName property doesn't contain wildcards (*) or multiple ...
Marek Musielak's user avatar
  • 23.8k
2 votes

Sitemap generating random urls

bgsi/public/group_scheme/index.jsp Sounds like Java Server Pages. Sitecore is based on .Net and doesn't use this page extension. That is why I assume that it could be added by some external sitemap(...
Anton's user avatar
  • 3,821
2 votes
Accepted

How do I regenerate the sitemap media item in a Headless SXA site without publishing?

The solution These are generated automatically when certain fields are saved on the site definition item (/sitecore/content/<tenant>/<site>/Settings/Site Grouping/<site_definition>). ...
Dan Sinclair's user avatar
  • 5,395
1 vote

Sitemap.XML for Sitecore JSS NextJS using SXA

Navigate to /sitecore/content/Tenat/Site/Settings --> In this set the sitemap mode field to store in the file, similarly, navigate to /sitecore/content/Tenat/Site/Settings/Sitemap and set the ...
Manoj's user avatar
  • 321
1 vote

Sitemap generating random urls

If you take a look at the current implementation of the SitemapGenerator service in Sitecore.XA.Feature.SiteMetadata.dll, there is a method GetFullUrl which renders the url in the sitemap ...
Cristi Vulturar's user avatar
1 vote

Default SXA Sitemap.xml is generated as html

As per the Sitecore documentation SXA generates the sitemap according to the XML sitemap format, but the logic for parsing this XML relies on your browser. You might therefore notice that there are no ...
Sumit Bhatia's user avatar
  • 5,035
1 vote

Default SXA Sitemap.xml is generated as html

You can configure the Sitemap XML for the SXA Site in the Settings item under the Site item. The configurations available can be found in the Search Engines Sitemap section of the Settings item. You ...
Rishiraj Shekhawat's user avatar
1 vote

Default SXA Sitemap.xml is generated as html

With SXA, by default, the sitemap is generated for the whole site and stored in the cache. in the Sitemap Mode field, select the storage option Stored in file for the sitemap. This sitemap file is ...
Sumit Helaiya's user avatar
1 vote

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

If you want to find all the items that are in the published state then you need to check in your web database. You can write the logic in code like this. First, you need to get all the media items ...
Sumit Bhatia's user avatar
  • 5,035
1 vote
Accepted

Sitemap set noindex attribute

This can be achieved in several ways, I will describe 2 ways below: Robots.txt: If you want to exclude all the pages below a particular route, you can add an entry in the Robots.txt like below: ...
Sumit Upadhyay's user avatar
1 vote
Accepted

404 error page intermittently returned for SXA XML sitemap

I believe the reason why this was happening was because of SXA bug 393910: https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Accelerator/10x/Sitecore%20Experience%20Accelerator%201000/...
Harald Greve's user avatar
1 vote
Accepted

Multilingual URLs in Sitemap.xml for SXA 1.5

SXA supports multiple languages Sitemap from SXA 1.6- check the release notes here for more details- The SEO Sitemaps aggregate all the available sites under a single hostname, and support multiple ...
Ankit Joshi's user avatar
1 vote

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

Having done this in the past for a customer, we implemented a small bit of code on the layout that would find all versions published in other languages and build out link attributes in the header, ...
Derek C's user avatar
  • 783

Only top scored, non community-wiki answers of a minimum length are eligible