---
title: Edit page URLs
related:
  - https://docs.kentico.com/documentation/developers-and-admins/development/routing/content-tree-based-routing.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).

## Edit URL slugs of pages

> **Info:** You may not be able to edit URL settings of every page. This depends on the configuration of the page's underlying content type. If you are not sure, consult with your site's administrator.

When you create a new page, the slug is automatically generated from the page's title. Past this point, any changes to the page title do not get reflected in the slug. You need to change it manually if required:

1. Open a website channel application.
2. In the content tree, select the page you want to edit.
3. Make sure the page is in the _Draft_ status or another [custom workflow step](https://docs.kentico.com/documentation/developers-and-admins/configuration/workflows.md).
   - When a page is _Published_ or _Unpublished_, you need to select **Edit page** or **Create new version** in the **Content** view mode. This transitions the page to the _Draft_ step and enables editing and publishing of the page.
4. On the **URLs** tab, edit () the **System URL**.
5. Edit the **URL slug** in the dialog window and **Save** it.
   - **Note**: Changing URL slug of a page may also affect URLs of all of the page's descendants.
   - Some characters may be forbidden from use in URLs (e.g., '#', '/', '$', '&'), depending on the settings of your site. Administrators can adjust these settings in **Settings → URLs and SEO → URL format**.
6. **Save** the change.

   ![Save changes](https://docs.kentico.com/docsassets/modules/edit-page-urls/save-urls.png "Save changes")

You have now successfully changed the URL slug of the page. Note that the page is now a _Draft_. The page needs to be [published](https://docs.kentico.com/documentation/business-users/website-content/edit-and-publish-pages.md) in order to be accessible under the new system URL.

## Manage vanity URLs of pages

> **Info:** You may not be able to edit URL settings of every page. This depends on the configuration of the page's underlying content type. If you are not sure, consult with your site's administrator.

Vanity URLs are optional for pages and can be set at any time after a page is created. Once created, a vanity URL can be set as the [canonical URL](#select-the-canonical-url-of-pages) of the page. A page can have multiple vanity URLs. You can see all vanity URLs used across the system in the **URLs** application.

### Add vanity URLs to pages

1. Open a website channel application.
2. In the content tree, select the page you want to edit.
3. Make sure the page is in the _Draft_ status or another [custom workflow step](https://docs.kentico.com/documentation/developers-and-admins/configuration/workflows.md).
   - When a page is _Published_ or _Unpublished_, you need to select **Edit page** or **Create new version** in the **Content** view mode. This transitions the page to the _Draft_ step and enables editing and publishing of the page.
4. Select **Add vanity URL** in the **Current URLs** section.
5. Enter the **Vanity URL path** and confirm with **Add**.
   - Some characters may be forbidden from use in URLs (e.g., '#', '/', '$', '&'), depending on the settings of your site. Administrators can adjust these settings in **Settings → URLs and SEO → URL format**.
6. **Save** the change.

   ![Save changes](https://docs.kentico.com/docsassets/modules/edit-page-urls/save-urls.png "Save changes")

You have now successfully added the new vanity URL of the page. Note that the page is now a _Draft_. The page needs to be [published](https://docs.kentico.com/documentation/business-users/website-content/edit-and-publish-pages.md) in order to be accessible under the new URL.

### Edit vanity URLs of pages

To edit a vanity URL of a page:

1. Navigate to the page whose vanity URL you want to edit. You can do so by:
   a. Opening the corresponding website channel application and selecting the page in the content tree.
   b. Going to the **Vanity URLs** tab in the **URLs** application and opening () the page corresponding to the chosen vanity URL.
2. Make sure the page is in the _Draft_ status or another [custom workflow step](https://docs.kentico.com/documentation/developers-and-admins/configuration/workflows.md).
   - When a page is _Published_ or _Unpublished_, you need to select **Edit page** or **Create new version** in the **Content** view mode. This transitions the page to the _Draft_ step and enables editing and publishing of the page.
3. On the **URLs** tab, edit () the **Vanity URL** you want to change.
4. Edit the **Vanity URL path** in the dialog window and **Save** it.
   - Some characters may be forbidden from use in URLs (e.g., '#', '/', '$', '&'), depending on the settings of your site. Administrators can adjust these settings in **Settings → URLs and SEO → URL format**.
5. **Save** the change.

   ![Save changes](https://docs.kentico.com/docsassets/modules/edit-page-urls/save-urls.png "Save changes")

You have now successfully changed the vanity URL of the page. Note that the page is now a _Draft_. The page needs to be [published](https://docs.kentico.com/documentation/business-users/website-content/edit-and-publish-pages.md) in order to be accessible under the new URL.

### Delete vanity URLs of pages

1. Open a website channel application.
2. In the content tree, select the page that you want to edit.
3. Make sure the page is in the _Draft_ status or another [custom workflow step](https://docs.kentico.com/documentation/developers-and-admins/configuration/workflows.md).
   - When a page is _Published_ or _Unpublished_, you need to select **Edit page** or **Create new version** in the **Content** view mode. This transitions the page to the _Draft_ step and enables editing and publishing of the page.
4. On the **URLs** tab, delete () the desired **Vanity URL** and confirm the deletion.
5. **Save** the change.

   ![Save changes](https://docs.kentico.com/docsassets/modules/edit-page-urls/save-urls.png "Save changes")

You have now successfully deleted the vanity URL of the page. Note that the page is now a _Draft_. The page needs to be [published](https://docs.kentico.com/documentation/business-users/website-content/edit-and-publish-pages.md) to make it inaccessible under the deleted vanity URL.

## Select the canonical URL of pages

> **Info:** You may not be able to edit URL settings of every page. This depends on the configuration of the page's underlying content type. If you are not sure, consult with your site's administrator.

Canonical URL is the preferred URL of a page, i.e., the URL that is displayed to the user in the browser URL bar and is intended to be indexed by search engines.

- All URLs representing a page redirect to the canonical URL of the page via a "301 Moved Permanently" redirect.
- All system features (e.g., [URL selector](https://docs.kentico.com/documentation/developers-and-admins/customization/extend-the-administration-interface/ui-form-components/reference-admin-ui-form-components.md#url-selector), [rich text editor](https://docs.kentico.com/documentation/business-users/rich-text-editor.md#format-text), [page URL retriever](https://docs.kentico.com/documentation/developers-and-admins/development/content-retrieval/retrieve-page-content/retrieve-page-urls.md), [email template macros](https://docs.kentico.com/documentation/developers-and-admins/digital-marketing-setup/email-templates.md#content-type-field-macros)) use and return the canonical URLs of pages.
- By default, the system URL is the canonical URL for each page.

To set a URL as the canonical URL:

1. Open a website channel application.
2. In the content tree, select the page that you want to edit.
3. Make sure the page is in the _Draft_ status or another [custom workflow step](https://docs.kentico.com/documentation/developers-and-admins/configuration/workflows.md).
   - When a page is _Published_ or _Unpublished_, you need to select **Edit page** or **Create new version** in the **Content** view mode. This transitions the page to the _Draft_ step and enables editing and publishing of the page.
4. On the **URLs** tab, select the **Canonical** option for the URL you want to make canonical. You can select from the page's [vanity](#manage-vanity-urls-of-pages) URLs and its system URL.
5. **Save** the change.

   ![Save changes](https://docs.kentico.com/docsassets/modules/edit-page-urls/save-urls.png "Save changes")

The selected URL is now configured as the canonical URL of the page. Note that the page is now a _Draft_. The page needs to be [published](https://docs.kentico.com/documentation/business-users/website-content/edit-and-publish-pages.md) to apply the change.

> **Note:** **Canonical URL of the home page**
>
> The canonical URL of the [home page](https://docs.kentico.com/documentation/developers-and-admins/development/routing/content-tree-based-routing/enable-content-tree-based-routing.md#home-page-redirect-and-the-website-root-url) of your website channel is, regardless of what URL is selected as canonical by the user, always the root URL of your website (i.e., _https://example.com/_) for the primary [language](https://docs.kentico.com/documentation/developers-and-admins/configuration/languages.md) and _https://example.com/\<language\_name>/_ for other languages.

## Manage redirects from unpublished pages

You can edit active and scheduled redirects from [unpublished pages](https://docs.kentico.com/documentation/business-users/website-content/edit-and-publish-pages.md#unpublish-pages) on the **URLs** tab of the corresponding page. Active redirects can also be edited in the **URLs** application on the **Former URLs** tab. The advantage of the _URLs_ application is that you can see and edit all redirects in one place. If no redirect was created when the page was unpublished, you can add it only on the _URLs_ tab of the corresponding unpublished page.

### Add redirects from unpublished pages

To add a redirect from an unpublished page with no redirect:

1. Open a website channel application.
2. In the content tree, select the unpublished page you want to edit.
3. On the **URLs** tab, select **Add redirect** in the **Redirect** section.
4. In the sidebar, use **Select existing page** to choose the target page of the redirect.
5. Confirm the target with the **Select** button.
6. **Save** the redirect.

You have now successfully added the redirect. When visitors try to reach the unpublished page, they are redirected to the page you selected.

### Edit redirects from unpublished pages

To edit an existing redirect on the **URLs** tab:

1. Open a website channel application.
2. In the content tree, select the unpublished page you want to edit.
3. On the **URLs** tab, select **Edit** in the **Redirect** section.
4. In the sidebar, use **Select existing page** to change the target of the redirect to another page.
5. Confirm the target with the **Select** button.
6. **Save** the changes.

Alternatively, you can edit existing redirects in the **URLs** application:

1. Open the **URLs** application.
2. Go to the **Former URLs** tab.
3. Select the former URL representing the redirect you want to edit.
4. Use **Select existing page** to select the new target of the redirect.
5. Confirm the target with the **Select** button.
6. **Save** the changes.

You have now successfully edited the redirect. When visitors try to reach the unpublished page, they are redirected to the page you selected.

### Delete redirects from unpublished pages

If you want to delete a redirect from an unpublished page, you need to publish the page and unpublish it again without selecting a page to redirect to.

## Manage redirects from deleted pages

As deleted pages are no longer available in the system, redirects from deleted pages can be edited and deleted only in the **URLs** application. If no redirect was created when the page was deleted, a redirect from such a page can be added only via [code](https://docs.kentico.com/documentation/developers-and-admins/development/routing/custom-redirects.md).

### Edit redirects from deleted pages

To edit a redirect from a deleted page:

1. Open the **URLs** application.
2. Go to the **Former URLs** tab.
3. Select the former URL you want to edit.
4. Use **Select existing page** to select the new target of the redirect.
5. Confirm the changes with the **Select** button.
6. **Save** the changes.

You have now successfully edited the redirect. When visitors try to reach the unpublished page, they are redirected to the page you selected.

### Delete redirects from deleted pages

> **Note:** Once a redirect from a deleted page has been deleted, it cannot be added again in the UI. Such redirects can be added only via [code](https://docs.kentico.com/documentation/developers-and-admins/development/routing/custom-redirects.md), for example, by developers.

To remove a redirect from a deleted page:

1. Open the **URLs** application.
2. Go to the **Former URLs** tab.
3. Remove () the former URL representing the redirect you want to delete.

The redirect is now permanently removed.
