Redirect old URLs to new links effortlessly. The HTTP status code 301 signals a permanent redirect from a web server to a browser. This ensures that requests for the old URL are automatically forwarded to the new URL. Additionally, the ranking authority from the old URL is transferred to the new one through a 301 redirect. This method is commonly used when a page has been permanently relocated or removed from a website.
When webpage URLs are changed, customers who have bookmarked the old URLs may encounter errors when accessing them. Implementing a 301 redirect allows users to automatically redirect users from the old, non-existent URLs to the new URLs. This ensures that customers are seamlessly redirected to the correct page, even if they access their bookmarked URLs that have been moved.
How to set up a 301 redirect?
Follow these steps to set up 301 redirection rules:
- Go to Settings.
- Navigate to Settings > Channel Manager > Channels.
- Click on the channel to view its 301 redirects.
- Navigate to the screen where the Themes tab is selected, displaying the current theme set in each environment of the current workspace.
- Clicking on the 301 Redirect tab directs to the landing page of the setting, where redirect rules can be added in two ways.
- Add a rule by clicking on the button labeled "Add Redirect".
- For a long list of redirections, add them to a CSV/Excel file and import them directly here by clicking on the Import file option in the ellipsis menu.
- Clicking the "Add Redirect" button triggers a popup requesting the following:
- Source URL: Enter the previous or source URL here.
- Destination URL: Enter the current or destination URL here.
- Clicking on the Import file option allows dropping or choosing to upload a CSV file containing the list of old and new URLs.
- Click on the Import button to update the list and initiate the redirection.
- After adding the redirect rules, the options are:
- Test the redirection: Choose this option to verify how the redirection works.
- Edit: Choose this option to modify an existing redirection.
- Delete: Choose this option to remove an existing redirection.
- Clicking delete triggers a popup asking to confirm the deletion.
Note:
- Only relative URLs are allowed; they should start with a slash '/'.
- When importing from a file, ensure it has valid formats for columns and values to avoid errors. The allowed file format can be verified by downloading the sample file.