---
title: Setting page aliases
related:
  - https://docs.kentico.com/k12sp/managing-website-content/working-with-pages/setting-page-aliases-for-content-only-pages.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

Pages can have an unlimited number of different URLs. To configure URLs, select a page in the content tree of the **Pages** application and open the **Properties -> URLs** tab:

- **Page alias** – the unique name of the page in the given section of the website. Aliases form the _alias path_ of each page, which contains all parent pages up to the root of the site's content tree. The alias path of a page is then used to generate its default URL. For example, if you set a page's alias to _Media_, then the URL is: _//Media_
- **Page URL path** – the fields in this section specify an alternate URL for the page, regardless of its position in the website hierarchy. For example, if you select the _Standard URL or wildcard_ Path type and enter _/Medialibrary_, the URL of the page is: _/Medialibrary_

  > **Note:** **URL paths or routes with custom extensions**
  >
  > By default, only paths that are extensionless or have the _aspx_ extension are supported. This limitation also applies to **Route** type paths.
  >
  > If you wish to define paths or routes with custom extensions or containing the period character, you need to configure the application to handle custom extensions. See [Extensionless and custom URLs](https://docs.kentico.com/k12sp/configuring-kentico/configuring-page-urls/extensionless-and-custom-urls.md).

## Adding page aliases

You can add more URLs to pages through _page aliases_. Aliases do not change how the system generates the main URL of a page, they only make the given page available under other URLs.

### To create page aliases:

1. Open the **Pages** application.
2. Select the page in the content tree.
3. Open the **Properties -> URLs** tab.
4. Click **Add new alias** in the **Page aliases** section.
5. You can fill in the following properties for each alias:

   | Property          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
   | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
   | Path type         | You can choose several different URL types for the alias path:<br>**Standard URL or wildcard** – the alias URL is handled by the standard Kentico rewriting engine. Wildcard URLs can be used here, as described in [Wildcard URLs](https://docs.kentico.com/k12sp/configuring-kentico/configuring-page-urls/wildcard-urls.md).<br>**Route** – the alias URL is processed as an ASP.NET Route pattern.<br>The selection determines how the system processes the value of the **Path or pattern** property.                                                                                                                                                                                                                                                                                                                                                   |
   | Path or pattern   | Enter a URL path for the page alias according to the selected **Path type**.<br>For example, if you enter _/Mediagallery_ as the value, you can then access the page under the following URL: _/Mediagallery_                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
   | Alias redirection | Determines how the system handles (redirects) the URL when the page is accessed through the alias:<br>**Use site settings (default)** – with this option, the redirection behavior follows the _Redirect page aliases to main URL_ setting specified for the website in _Settings -> URLs and SEO_.<br>**Redirect to main URL** – if selected, the system always redirects the alias URL to the page's main URL, i.e. the alias path or custom URL path (if specified).<br>**Do not redirect** – if selected, the system does not redirect the alias URL. This option is recommended if the URL of the alias contains a [wildcard](https://docs.kentico.com/k12sp/configuring-kentico/configuring-page-urls/wildcard-urls.md) .&#xA;See also: [Search engine optimization](https://docs.kentico.com/k12sp/configuring-kentico/search-engine-optimization.md) |
   | Culture           | Determines which [language version](https://docs.kentico.com/k12sp/multilingual-websites/editing-the-content-of-multilingual-websites.md) of the page the system displays when the page is access through the alias URL.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
   | URL extensions    | Specifies additional supported extensions for the alias URL. To use custom extensions, you need to configure the system according to the instructions in [Extensionless and custom URLs](https://docs.kentico.com/k12sp/configuring-kentico/configuring-page-urls/extensionless-and-custom-urls.md).<br>This field is optional.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
6. Click **Save**.

If you now switch back to the page's **Properties -> URLs** tab, the new alias appears in the **Page aliases** section. You can add any number of aliases.

## Viewing all aliases on a website

You can access a list of all aliases defined on the website (for all pages).

1. Open the **Pages** application.
2. Select a page with an alias in the content tree.
3. Open the **Properties -> URLs** tab.
4. Edit any alias.
5. Click **View all aliases** in the page header.

The information provided can help you avoid URL collisions when creating new aliases, and allows you to manage aliases from a single location.

## Automatic creation of new page aliases

You can configure the system to automatically create new page aliases when a user sets a new URL path, alias or extension for a page:

1. Open the **Settings** application.
2. Select the **URLs and SEO** category.
3. Enable the **Remember original URLs when moving pages** setting.
4. Click **Save**.
