Skip to main content
Share Your Experience: Take the 2024 Developer Survey
22 votes
Accepted

Viewing the compiled Sitecore config on Content Delivery?

It's easier Today if you work with Sitecore 9, you can do it from your Content Management server. Just go to /sitecore/admin/ShowConfigLayers.aspx and select Content Delivery. This is article ...
mrosiak's user avatar
  • 406
10 votes
Accepted

Is there any way to add the custom Link manager provider just for a particular site

There is no out of the box way to make custom link manager configurations scope to a particular site, however you could always include that logic in the custom link manager itself. You can make your ...
Zachary Kniebel's user avatar
10 votes
Accepted

Can v7 and v8 coexist on the same server

You can have multiple versions of Sitecore on a single server. Firstly, just install them into different folders and have them pointed to different Databases. And secondly either have them both ...
Jarmo Jarvi's user avatar
9 votes
Accepted

What's the use of the publisher site?

The fast answer is that the publisher site is used for publishing related jobs. But, you probably already knew that. Why is publisher used in Publishing? When one pulls the covers back a little on ...
Pete Navarra's user avatar
  • 14.7k
8 votes

How should I remove the default Home item?

It is safe to delete the default Home item. I have done so on many projects. The only place where you need to update the reference is the default site definition: <site name="website" ... ...
Dmytro Shevchenko's user avatar
8 votes
Accepted

Hostname not being retrieved for the website definition

It's lowercase hostname in your defintion. There must be capital N: hostName. Site attributes are case sensitive. Should be: <site name="website" enableTracking="true" virtualFolder="/" ...
Marek Musielak's user avatar
  • 23.8k
7 votes
Accepted

How to inhibit reaching other site content using domain of first site

The simplest way would be with security. If you give each site a unique domain and then simply deny read access to the {sitedomain}/Anonymous user it would give you what you want. So the site ...
Richard Seal's user avatar
  • 20.5k
7 votes
Accepted

Preview an unpublishable item

It is not possible to preview an item when you change the publish restrictions and make the item (or one of it's parents) not Publishable. The logic being, from my understanding, is that you are ...
jammykam's user avatar
  • 13.8k
6 votes
Accepted

Country selection page implementation

Here's how I would approach this: Define a rendering that shows an overlay on any page it's included in. When a user selects a country via this rendering: Send an AJAX request to the server; Take ...
Dmytro Shevchenko's user avatar
6 votes

How to inhibit reaching other site content using domain of first site

I have resolved this a few different ways in the past: Redirects using the IIS Rewrite Module, which is my preferred solution. It does require that the IIS Rewrite Module be installed in IIS, and it ...
Zachary Kniebel's user avatar
6 votes
Accepted

Dash ("-") in Media URLs

Yes, this is a convention that Sitecore uses as triggers for a number of custom handlers: <customHandlers> <handler trigger="-/media/" handler="sitecore_media.ashx"/> <...
jammykam's user avatar
  • 13.8k
6 votes

Is there a reason that I am not able to run my Sitecore 7.2 locally?

Do you have any additional customization in web.config? If yes, try breaking your web.config and put your customization in separate patch files. Meanwhile also have a look at the blog post below, ...
Amitabh Vyas's user avatar
  • 2,554
5 votes
Accepted

How to get correct site context in micro-site implementation in Sitecore 8.1

The reason why you are receiving the SiteContext as micrositemain is because url.Host will return microsite.mysite.com. Please see updated SiteDefinition below: name="micrositemainone" hostName="...
Hishaam Namooya's user avatar
5 votes
Accepted

What is the optimum value (or range) for MaxWorkerThreads sitecore setting?

I once had to tune a server with Sitecore because we did get a lot of requests and couldn't add more servers (for several reasons). I used this blog as a resource, and although it is a few years old ...
Gatogordo's user avatar
  • 20.1k
5 votes

Viewing the compiled Sitecore config on Content Delivery?

You can view configuration using below url for CD (Content Delivery from Content Management) https://cm-url/sitecore/admin/showconfig.aspx?role=ContentDelivery
Sarthak Gupta's user avatar
5 votes
Accepted

Obtaining a site url with correct binding port dynamically

Sitecore.Globals.ServerUrl is set in the Globals.Load function by calling WebUtil.GetServerUrl(HttpContext.Current.Request.Url, false). The code for that is: public static string GetServerUrl(Uri ...
Richard Seal's user avatar
  • 20.5k
5 votes
Accepted

SiteDefinition Config Events - Site Changed to MyCompanyName

This works because of the way that HtmlCacheClear processes the <sites> list. When you take a peek into the code for HtmlCacheClearer.ClearCache() method, you'll see that it's iterating through ...
Pete Navarra's user avatar
  • 14.7k
5 votes
Accepted

Patching custom pipeline parameters in project level config file

The issue is the extra <settings> node in your project module config, at the moment you're not patching anything but inserting a new entry within the <settings> node (and it's probably not ...
jammykam's user avatar
  • 13.8k
5 votes
Accepted

SSL certificate requirements for Sitecore 9 Update 1

The only site that needs to be https is the xConnect service, though your Sitecore site is extremely highly recommended to be https as well. Since you are an XP0 configuration where everything is on a ...
George Chang's user avatar
  • 1,225
5 votes
Accepted

Sitecore Experience Accelerator (SXA) site won't render as a sub route where JSS app is the root app

In a nutshell, the JSS app's config patch (usually deployed to \App_Config\Include\zzz\my-jss-app.config) is resolved before SXA sites. When the SXA module is installed in Sitecore, you get a bunch ...
Justin L.'s user avatar
  • 201
5 votes
Accepted

How can I access the Sitecore 9 configuration values programmatically?

After struggling with this for a while, finally found the answers. If what you are trying to read is really a setting following the below format: <setting name="THE_NAME_GOES_HERE" value=&...
Hugo Santos's user avatar
  • 2,311
5 votes

IIS home page is getting loaded instead of sitecore 9.3 Home page

Sitecore 9+ by default the sites are secure only. Please try with https://sitecoreinstance93sc.dev.local Couple of things can be verified with these issues: Open IIS and right click on the website ...
Bala's user avatar
  • 320
4 votes

What's the use of the publisher site?

The publisher site is responsible for actually running the publishing of your content. Simple Answer The simplest answer that I can give is that this is one of the ways that Sitecore implements multi-...
Zachary Kniebel's user avatar
4 votes

Sitecore Upgrade from 8.0 to 8.1 issue: Required license is missing: Runtime

The path to your license file is set incorrectly. The default value of the license file setting in config is: <setting name="LicenseFile" value="$(dataFolder)/license.xml" /> If you have not ...
jammykam's user avatar
  • 13.8k
4 votes

Patching custom pipeline parameters in project level config file

This is down to how Sitecore patches child items. The same thing happens if you try to patch the publish:end configuration to add your site in. The problem is that because each of your mapping entries ...
Richard Seal's user avatar
  • 20.5k
4 votes
Accepted

Minimum hard disk required for Sitecore Installation

I doubt you'll find any recommendation for HDD size because it totally depends on your needs, configuration and needed modules. However, a basic Sitecore 9 installation is around 2gb without any css, ...
TamerM's user avatar
  • 1,682
3 votes
Accepted

How do i configure CD Servers by removing unwanted config entries?

Yes there is. Several, in fact. It depends on your Sitecore version. You should read through the official guide: Configure a content delivery server It describes things you need to consider, ...
Mark Cassidy's user avatar
  • 25.3k
3 votes

How should I remove the default Home item?

You need to check the default site definition and your custom site definition nodes in the config file. It must not include /home path as start path and master as a database. You don't need to care ...
Alok KaduDeshmukh's user avatar
3 votes

Unable to get the correct `rootPath` from Sitecore.Context.Site

Here's how I solved the problem. First, I created a helper method GetSiteContext that returns a SiteContext object based on a URL. This helper method iterates through all configured sites and tries ...
Santosh Poojari's user avatar
3 votes

Accessing Sitecore Login from each site in a multi-site setup fails (404 page not found) for only one site

The clue here suggests that the login site is resolving correctly. The error message is forwarding to the pagenotfound using the site context of login. This tells me that the SiteResolver is picking ...
Pete Navarra's user avatar
  • 14.7k

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