How to create a page view hit counter in Umbraco

This post gives you a tutorial on how to create a page view hit counter in Umbraco for recording page views.

Read More

umbracoUrlAlias - Create an alternative URL for a page in Umbraco

Using the umbracoUrlAlias property on a page in Umbraco gives you the ability to set up one or more different URLs for a single page. The page structure of your site might create long URLs, and you may want to a shorter one, the umbracoUrlAlias will do that…

Read More

How to find the Home page in Umbraco

This post shows you how to find the home page (root node) in Umbraco. It shows you how to do it in a View, and in a Controller.

Read More

How to fix the error 'The following sections have been defined but have not been rendered for the layout page...'

This post shows you how to solve the error 'The following sections have been defined but have not been rendered for the layout page "~/Views/Master.cshtml": "Head; ScriptsBottom; etc; etc".'

Read More

Create a redirect page in Umbraco without editing the config file

If you or your client needs to be able to create short urls or links to other sites without wanting to add it as a redirect in the web config, then this is the post for you. You can create them as umbraco pages that act as fast links or redirects.

Read More

Lazy loading images

This post gives you the code to allow your page to load faster, by using lower quality images firstly and then replacing them with the higher quality version after the page has loaded.

Read More

Umbraco Alternate Template Feature (bug)

There is an annoying feature in Umbraco which, when not wanted, seems like a bug. If you want to view a page with a different template, you can enter the url/templateAliasName

Read More

XML Sitemap in Umbraco website

This post shows you how to create an XML sitemap in your Umbraco website. I will share the code I have used to create my XML sitemap page http://www.codeshare.co.uk/xmlsitemap You will need an XML sitemap when you submit your site to search engines.

Read More

lorempixel Placholder Images

This gives you real placeholder images to use in your site concepts or examples. It randomly picks an image each time the page loads.

Read More

Maintain scroll position on postback

If you want your site to maintain the current scroll position when the page reloads or when you go to another page, this post should help you. It is ideal for paging, or for sites where you don't want to submit a form using Ajax, but you still want it to stay…

Read More