When we load balance your web site at layer 7, it will become non-transparent. This means that the actual client source IP address is replaced by the load balancer’s own IP address, and therefore ONLY this address will be recorded in the IIS logs. One way around this is to insert X-Forwarded-For headers on the load balancer to... Continue Reading →
Building Sitemap XML for Delivery Servers
OOB "Sitemap XML Module" generate the Sitemap XML on Content Management Servers only. To get it generated on Content Delivery Servers as well, we need to add a custom event. Normally we have atleast one Content Management and one Content Delivery Server. But on scalable and distributed architecure number of servers increases based on requirements.... Continue Reading →
Upgraded from 7.2 to 8.1, Sort by Relevance in Lucene is not working
We recently upgraded from 7.2 to 8.1 Update 2. We experienced that Sort by Relevance in Lucene search is not working when we are using Contains, StartsWith, EndsWith, Equals, Like, and MatchWildcard operators while building the search querying _fullpath. Sample code: string sitePath = "/sitecore/content/home"; var results = SearchContext().GetQueryable<CustomResult>().Where(r => (r.Path.Contains(sitePath + "/")); So if we have... Continue Reading →
Sitecore MongoDB with SSL Customization
Worked on client requirement on Sitecore 8.1 to integrate MongDB with SSL client certificate. Client had their own SHA-2 SSL certificate and wanted to integrate Mongo with Sitecore using that. Customized MongoDB Pipeline Customize the MongoDB pipeline by defining a new "updateMongoDriverSettings" pipeline in the Sitecore.Analytics.MongoDB.Config: <?xml version="1.0" encoding="utf-8" ?> <configuration> <sitecore> <!--MongoDB settings node.... Continue Reading →
Historical analytics data conversion to MongoDB for Sitecore 8.x – Batch Aggregation
Are you currently using Sitecore Analytics without MongoDB? Are you planning to upgrade Sitecore to 7.5 or upper version with MongoDB? If yes, its time to decide whether you want to convert the historical data or want to go with a fresh MongoDB setup. Cause if you want the historical analytics data, you need to go... Continue Reading →
Sitecore ShowConfig for Content Delivery
On lower environments if we want to view the ShowConfig we follow the URL mentioned below: /sitecore/admin/showconfig.aspx To access this URL the Sitecore and underneath folders should be accessible. But on Content Delivery most of the Client wants the Sitecore pages to be blocked, specially the Login and other Admin Pages. May be I am... Continue Reading →
Sitecore Upgrade Wizard not finishing. Stucks on the last step
This is the post excerpt.
Versioned Layouts in Sitecore 8x
Versioned layouts make it possible to specify different layouts for different versions and languages of the same item. You use versioned layouts when you want to: Have different layouts for different languages. Publish a specific version with its own layout for a specific period. Sitecore uses versioned layouts internally for various content-testing features, for example,... Continue Reading →
Multi-Site in Sitecore and LiveMode.config
If you don’t want to bother publishing your local Sitecore site every time you make a change (especially when developing). There’s a nifty file named LiveMode.config.example, located in C:\inetpub\wwwroot\yoursitecoresite\Website\App_Config\Include\ . It comes with the sitecore install, and for a normal single-site Sitecore instance, simply removing the “.example” from the filename will let you view your... Continue Reading →