Posted on: 11/6/2014 9:12:53 PM | Views : 440

I created a white label eCommerce product many years ago and used the code below to re-map the URL based on parameters received in the querystring, or the page name being navigated to.  It was pretty good stuff at time (several years ago!) but I need to recreate this functionality in a new project. Using web forms (not mvc) what is the best way to remap URLs these days? I want the option of redirecting category pages either by their name, or by a category ID.
Any help really appreciated.
______
Imports Microsoft.VisualBasic Imports System Imports System.Web Imports System.Web.Caching Imports System.Text.RegularExpressions Namespace URLMapping Public Class UrlRemapper Implements IRequiresSessionState, IHttpModule Private mWebsiteID As Integer = 0 Private mLocal As Boolean = False Public Sub Dispose() Implements System.Web.IHttpModule.Dispose End ...

Go to the complete details ...