This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Linq; | |
using Umbraco.Core; | |
using Umbraco.Core.Models; | |
using Umbraco.Web; | |
using Umbraco.Web.Routing; | |
public class PageNotFoundContentFinder : IContentFinder | |
{ | |
public bool TryFindContent(PublishedContentRequest request) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<rewrite> | |
<rules> | |
<!-- Remove/force the WWW from the URL. | |
You need to install the IIS URL Rewriting extension (Install via the Web Platform Installer) | |
http://www.microsoft.com/web/downloads/platform.aspx | |
** Important Note | |
using a non-www version of a webpage will set cookies for the whole domain making cookieless domains | |
(eg. fast cdn-like access of static resources like css, js and images) impossible. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Ignore Visual Studio temporary files, build results, and | |
## files generated by popular Visual Studio add-ons. | |
# Extensions | |
*.suo | |
*.user | |
*.sln.docstates | |
*.sln.cache | |
*.obj | |
*.pdb |
NewerOlder