Camino CMS Configuration UrlRewriter Rules

Article Id
kb92
Published
06 Dec 2012 at 19:18
Last Updated
27 Nov 2013 at 16:01

CaminoCMS employs Intelligencia UrlRewriter to map SEO friendly Urls to the skeleton page.

Reserved Functionality

This regex is used to gain access to the reserved functionality like user signin and content search.

Regex

~/(account|activate-account|apply|confirm-terms|displaymessage|display-message|emailunsubscribe|email-unsubscribe|login|logout|myaccount|reset-password|register|search|signin|signout|unsubscribe)(?:\/|.aspx)?(?:\??)(.*)

To

~/default.aspx?id=$1&$2

Test Values

  • ~/activate-account.aspx
  • ~/activate-account.aspx?authcode=12221212&action=true
  • ~/activate-account?authcode=12121212&action=true
  • ~/activate-account/?authcode=12121212&action=true
     
Copyright © 2011 - 2024 Calzada Media Limited. All Rights Reserved