Module: Work with website content
17 of 20 Pages
Manage former URLs
The system can automatically keep track of page URL changes by storing old URLs and handling redirects to the current URLs. You can see and manage these redirects in the URLs application on the Former URLs tab. Redirects created by unpublishing or deleting pages are stored and handled by default. You can additionally configure the system to create former URLs when a URL is edited and to redirect to the current URLs.
When a redirect target of a former URL is changed, all redirects that target the corresponding page are also automatically adjusted.
Automatically store edited URLs as former URLs
To configure the system to automatically store edited URLs as former URLs and handle redirects to current URLs:
- Open the Channel management application.
- Select the website channel for which you want to configure Former URLs to store and handle edited URLs.
- Open Channel settings.
- Select the Store edited URLs as former URLs setting.
- Save the changes.
Former URLs are now created when URLs are edited in the given website channel. Every time a former URL is requested, the system returns a “301 Moved Permanently” response and redirects to the new URL of the page.
To access a list of all stored old URLs for the website, together with the current URL paths to which they are redirected, open the Former URLs tab in the URLs application.
Former URLs scenarios
Former URLs are created when you unpublish or delete a page and also create a redirect from the page. Additionally, you can configure the system to create former URLs when modifying page URLs.
Former URLs are always created when: |
If configured to store edited URLs, former URLs are created when: |
|
|
Former URLs are NOT created when:
- Deleting a page without creating a redirect.
- Deleting a page without creating a redirect permanently destroys and removes all former URLs pointing to that page.
- Unpublishing a page and choosing to serve content in the fallback language.
- Unpublishing a page without creating a redirect.
- Administrators perform certain global changes, for example changing the domain of a website channel.
- Changing a language code name.
- Changing the Primary language setting for a website channel.
Changing the language code name or the primary language setting breaks all former URLs for the corresponding language variants of pages.
Remove former URLs created by editing URLs
This action is available only for former URLs created by editing a page’s URL or by deleting a page. Their remove button is active (). Former URLs that are created by unpublishing pages have a disabled delete button () and can’t be deleted.
To remove a former URL:
- Open the URLs application.
- Go to the Former URLs tab.
- Remove () the specific former URL.
The former URL is now permanently removed.