Skip to main content
8 votes
Accepted

Getting Id from wildcard page urls

Background The thing to keep in mind is that wildcard items are just regular items. When Sitecore resolves the item to use in a page request, if the URL looks like a path, Sitecore will descend ...
Dmytro Shevchenko's user avatar
6 votes
Accepted

Helix, breadcrumbs and wildcards

In my attempt to follow the Helix design principles as closely as possible, the issue of Feature-to-Feature module references has come up quite a bit and still remains a bit fuzzy to me. According to ...
Derek Hunziker's user avatar
4 votes

Wildcards in Integrated Mode

I ended up accomplishing this using a custom Contents Resolver and a Layout Extension: Contents Resolver: using Sitecore.Data.Items; using Sitecore.LayoutService.Configuration; using Sitecore....
Bic's user avatar
  • 570
3 votes
Accepted

Using wildcard in AllowedCorsOrigin of the IdentityServer

Wildcards are not currently supported by Identity Server. There was a similar request in the Identity Server GitHub and the response was: Wildcards in URLs are always dangerous from a security point ...
Anna Bastron's user avatar
  • 2,053
3 votes

Getting Id from wildcard page urls

It does not. While the URL parsing mechanism in Sitecore can get very cryptical at times, it basically happens like this: Split up the URL, breaking on '/' Recursively do GetItem/GetChild on each ...
Mark Cassidy's user avatar
  • 25.4k
2 votes

Resolving wildcard item and show the presentation detail of the wildcard item

If you have your custom WildcardItemResolver processor, set the wildcard item in HttpContext.Current.Items before replacing it with your product item, e.g.: class WildcardItemResolver : ...
Marek Musielak's user avatar
  • 24.2k
2 votes
Accepted

Wildcard item throwing error on language switching

When we see the code we'll be sure, but I'm rather convinced the problem is that your custom language switcher is asking the url from the page in the other languages through the Sitecore API - which ...
Gatogordo's user avatar
  • 20.3k
2 votes
Accepted

Wildcard Certificate VS MultiDomain Certificate In Sitecore 9.2

I think this is more of an opinion based question but I am writing this answer based on my experience. Let's start with understanding the Wildcard Cert and Multi-Domain/SANS certs. Wildcard Cert - A ...
Mahendra Shekhawat's user avatar
1 vote

Sitecore XMC NextJS Wildcard Pages

This blog might help. An alternative approach for wildcard items in Sitecore XM Cloud: https://medium.com/@mitya_1988/an-alternative-approach-for-wildcard-items-in-sitecore-xm-cloud-69fd121b0d32 It's ...
Jeroen Breuer's user avatar
1 vote

How to form a Page URL of wildcard item in scriban

Step 1: get your link correctly To make sure the links to a wildcard item are consistent in the whole site, you should tell Sitecore how you want the links to be created. This used to be creating your ...
Gatogordo's user avatar
  • 20.3k
1 vote

Sitecore Wildcards overwrites existing page items

My issue was to do with ItemResolvers in the end I followed the solution mentioned on https://sitecore.stackexchange.com/a/7698/7403 Sitecore MVC resolves it (again) Which is both confusing and (I ...
James's user avatar
  • 43
1 vote
Accepted

Path-analyzer report for wildcard items

Out-of-the-box, Sitecore does not provide a solution for Wildcard pages and the related tools (Analytics Tracking, Path Analyzer, and so on). You need to implement a custom solution for correctly ...
Mark Cassidy's user avatar
  • 25.4k
1 vote

Custom route for wild card

You can use IIS Rewrite inbound rules to accomplish this, for example: <rule name="Property URL Rewrite" stopProcessing="true"> <match url="^new/Brand-([0-9]+)/...
Cristi Vulturar's user avatar
1 vote

Sitecore Dynamic URLs on data driven pages

There is a wildcard module available in Sitecore marketplace which can exactly help you in your blog post with blog detail scenario. Module's marketplace link : https://marketplace.sitecore.net/en/...
Paulson Maclean's user avatar
1 vote

Resolving wildcard item and show the presentation detail of the wildcard item

The answer is dynamic, you will need to assign the data source to the rendering. As we know that rendering depends on the RenderingContext.Current.Rendering.DataSource and instead of assigning the ...
Himmat Singh Dulawat's user avatar
1 vote
Accepted

Redirect requests based on missing data on wildcard item

The reason why you are seeing an empty page (with header and footer) when requesting a faulty id is probably because the code in the rendering that shows your actual content can't find any data and ...
Gatogordo's user avatar
  • 20.3k
1 vote

Redirect requests based on missing data on wildcard item

You will need to have a custom processor in the <httpRequestBegin> which see if the item in the url is valid or not. So, the patch will be as follows: <configuration xmlns:patch="http://www....
Hishaam Namooya's user avatar
1 vote

Wildcard page using external data

If you have output that should pull from an external piece of data and not from the current Sitecore item, then by definition you can't use renderings and logic that has been built only to look at the ...
Jason St-Cyr's user avatar
  • 6,821

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