Setting page aliases for content-only pages
Content-only pages in Kentico allow you to define a page alias as part of their URL. A page alias is the part of the URL that identifies the page using human-readable keywords. Usually, the page alias is something that describes the given content. One of the motivations for using page aliases to identify pages is to improve the site’s SEO.
For example, a page alias for an article that talks about coffee brewing techniques could be defined as “coffee-brewing-techniques”. The way page aliases are used on your website depends on how you want the URLs of content on your site to look.
Note: Page aliases only affect pages that have an appropriately configured page type. If you are a developer or administrator, see Configuring page URLs on MVC sites to learn more.
To define the page alias for content-only pages:
- Open the Pages application.
- Click on the page for which you want to define a page alias. This needs to be a content-only page.
- Open the Properties -> Page alias tab.
- Enter a page alias into the Page alias field.
- Click Save.
The page now uses the defined page alias as its identifier.
Tip: When working on MVC sites, you can also make pages available under any number of alternative URLs. While page aliases can affect the main URL of a page, alternative URLs can give you even more flexibility when it comes to providing short and relevant-looking links. For more information, see Adding alternative URLs for pages.