Loading...

All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Prefix Matching Url Rewrite Rule

Type: MakingWaves.Common.EPiServer.UrlRewriting.!PrefixMatchingUrlRewriteRule (assembly MakingWaves.Common.EPiServer.UrlRewriting.dll)

Uses prefix to match rule.

Examples

  • /Mobile/News/Website-Launch <--> /Mobile/Templates/News.aspx
  • /m/News/Website-Launch <--> /Mobile/Templates/News.aspx
  • /Lite/News/Website-Launch <--> /Lite/Templates/News.aspx

Configuration

<makingWaves.urlRewrite>
  <rules>
    <add name="MobileRule" type="MakingWaves.Common.EPiServer.UrlRewriting.PrefixMatchingUrlRewriteRule, MakingWaves.Common.EPiServer.UrlRewriting"
          urlPrefix="Mobile" rootPath="MobilePath">       
    </add>
  </rules>
</makingWaves.urlRewrite>