Page Redirect Manager gives you the option to create, edit, and delete redirect rules by uploading a CSV file. When a CSV file is uploaded, you can choose to rebuild all of your redirect rules using only the rules contained in the CSV file (overwriting all previously existing rules), or to add only new rules contained in the CSV file to your existing redirect rules (maintaining all previously existing redirect rules).
If you have already created redirect rules in Page Redirect Manager, you can download these rules in CSV format by clicking the Download Page Redirects icon, which is located above the redirect table on the right side of the screen. If you have not created rules in Page Redirect Manager, clicking the Download Page Redirects icon will download a sample CSV file.
Create your CSV file
Your redirect rules CSV file contains two columns: Old Page URL and New Page URL. If you are creating a CSV file using a text editor, such as Notepad, fields must be separated with a single comma, and each redirect rule record must end with a line break. For example:
Old Page URL,New Page URL
http://www.widgetdesigns.com/category-a/page-a.html,http://www.widgetdesigns.com/category-b/page-b.html
http://www.widgetdesigns.com/category-c/page-d.html,http://www.widgetdesigns.com/category-d/page-d.html
If you are creating a CSV file using Microsoft Excel, fields must be separated by cell, with each redirect rule having its own record row.
Notes:
- When creating and editing redirects in Page Redirect Manager, existing site pages may not be redirected while they still exist on your site; the page at the URL you wish to redirect must be deleted first. For example, if you have a page at http://www.widgetdesigns.com/pageone.html and you wish to redirect this page to http://www.widgetdesigns.com/pagetwo.html, you must first delete the page at http://www.widgetdesigns.com/pageone.html before a redirect can be created using http://www.widgetdesigns.com/pageone.html as the Old Page URL.
- The URLs entered into the Old Page URL and New Page URL fields must be absolute URLs beginning with either http:// or https://. Relative URLs (relative paths) cannot be used. If you are not sure what the difference is between absolute and relative URLs, learn more. URLs must also be valid URLs that use the parent store domain. Only domains that resolve to your store domain may be redirected.
Once you have created or updated a redirect rule CSV file, you may upload your rules by clicking the Upload Page Redirects icon, which is located above the redirect table in Page Redirect Manager, on the right side of the screen.
Rebuild and add redirect rules
When uploading a CSV file containing redirect rules, you will be given the option to Rebuild your page redirect rules or to Add to your existing page redirect rules. The option you select depends upon whether you're creating new redirect rules only, or if you wish to edit or delete existing redirect rules.
When you choose to Rebuild your redirect rules, all previously-existing redirect rules will be overwritten by the contents of the CSV file you're uploading. This means that if the CSV file does not contain some of your existing redirect rules, the existing rules not contained in the CSV file will be deleted. In order to make changes to existing redirect rules or to delete rules using CSV upload, the Rebuild option must be selected.
If Add is selected instead of Rebuild, only new rules contained in the CSV file will be added to your redirect rules. Existing redirect rules will not be updated or deleted, even if existing redirect rules contained in the CSV file have been modified in the CSV file or removed.
Edit redirect rules
- Sign in to your My Services page.
- Click the Store link.
- Go to Page Redirect Manager.
- Click the Download button, which is located above the redirects table on the right side of the screen, to download your existing redirect rules.
- Open the CSV file and update your redirect rules, then save your file.
- Click the Upload button, located above the redirects table on the right side of the screen.
- In the Upload Page Redirects dialog:
- Select the Rebuild radio button.
- Click the Choose File button and select your redirect rule CSV file from where it is saved on your computer.
- Click the Upload button.
- Publish your changes by clicking on the Publish button located above the redirect table, on the right side of the screen.
- In the Publish Redirect Rules dialog, click the Yes button to confirm that you wish to publish your redirect rules.
Changes you make to your existing redirects will not take effect on your live site until they are published.
Note: If new redirect rules are contained in your CSV file, these rules will be added. If existing redirect rules have been removed from your CSV file, these rules will be deleted.
Delete redirect rules
- Sign in to your My Services page.
- Click the Store link.
- Go to Page Redirect Manager.
- Click the Download button, which is located above the redirects table on the right side of the screen, to download your existing redirect rules.
- Open the CSV file and remove the redirect rules you wish to delete from the file, then save your file.
- Click the Upload button, located above the redirects table on the right side of the screen.
- In the Upload Page Redirects dialog:
- Select the Rebuild radio button.
- Click the Choose File button and select your redirect rule CSV file from where it is saved on your computer.
- Click the Upload button.
- Publish your changes by clicking on the Publish button located above the redirect table, on the right side of the screen.
- In the Publish Redirect Rules dialog, click the Yes button to confirm that you wish to publish your redirect rules.
Note: If new redirect files are contained in your CSV file, these rules will be added. If you've updated other existing redirect rules in your CSV file, these rules will be updated.