Class SeoRedirectHandler
Handles redirects from hierarchial catalog content URL:s to SEO URI:s
Inheritance
System.Object
SeoRedirectHandler
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Routing
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0Syntax
public class SeoRedirectHandler
Constructors
SeoRedirectHandler(UrlResolver, SeoUriRouter)
Initializes a new instance of the SeoRedirectHandler class.
Declaration
public SeoRedirectHandler(UrlResolver urlResolver, SeoUriRouter seoUriRouter)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.Web.Routing.UrlResolver | urlResolver | The URL resolver. |
SeoUriRouter | seoUriRouter | The seo URI router. |
Methods
RedirectToSeoUri(RoutingEventArgs)
Redirects to seo URI.
Declaration
public virtual void RedirectToSeoUri(RoutingEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.Web.Routing.RoutingEventArgs | e | The EPiServer.Web.Routing.RoutingEventArgs instance containing the event data. |