Tuesday, November 22, 2011

Sitecore Admin Urls

Two handy URLs to manage items behind the scenes in Sitecore:
- Shows cache values (including count, size and deltas)

- Shows rendering times on each layout/sub-layout/rendering

404 & 301 Handlers in Sitecore - Blank page on Static HTML pages

Spent far too long working on a redirect piece for HTML pages in Sitecore today. Details at the link below - the behaviour was blank pages served by IIS 6 when mapping HTML requests to .Net so we could implement a custom 301 handler for HTML pages.

Solution involved putting a handler as below in the httpHandlers section of the web.config.

<add path="*.html" verb="*" type="System.Web.StaticFileHandler" />