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).

Suffix Matching Url Rewrite Rule

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

Uses suffix to match rule.

Examples

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

Configuration

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