I recently had to fix some 404 (Page Not Found) errors for a client with a Magento website. While Magento is a capable content management system (CMS) for eCommerce sites, it’s not the most widely used…so I thought this quick tutorial on how to implement permanent 301 redirects might come in handy for those using Magento websites.
How to Create 301 Redirects in Magento:
- Log in to the Magento Admin Panel
- Under “Catelog” in the top navigation, click on “URL Rewrite Management”
- Click on the orange button on the right-hand side of the page that says “Add URL Rewrite”
- Choose “Custom” from the “Create URL Rewrite” drop-down menu
- Complete the “URL Rewrite Information” form:
- ID Path: old-url.html (For example, if the old url is www.example.com/old-url.html)
- Request Path: old-url.html
- Target Path: new-url.html
- Redirect: Choose “Permanent (301)”
- Description: It is fine to leave the description box blank