Nucleus .Net Core CMS

Models.PageRoute Class

Namespace: Nucleus.Abstractions.Models
Assembly: Nucleus.Abstractions.dll
Represents a route (path) for a page.

Properties

Id Property

Unique record identifier.

Path Property

Page route local path.
Remarks
Page route paths must start with a / character.

Type Property

Page route type.
Remarks
If page route of type "PermanentRedirect" is visited, the system automatically issues a "301 Moved Permanently" response to redirect the browser to the page's default route. This feature can be useful for maintaining backward compatibility with old sites, or in other cases where you want the page to have more than one Url.