Monday, February 8, 2016

Permanent Fix to URL Redirects Resetting in Magento CE 1.9

I ran into the issue where custom URL redirects would reset after an index refresh.  I had setup categories to populate the main navigation bar then have them redirect to page defined under CMS > Pages.  I found the fix here.

Below are the steps to properly configure a permanent (301) URL rewrite with Magento CE 1.9.
  1. Navigate to Catalog > URL Management
  2. Edit the URL for the existing category and set the Redirect value to Permanent (301).  Then choose Save.
  3. Back at the URL Management screen.  Click the Add URL Rewrite button.
  4. Choose Custom from the drop down menu.
  5. Enter the ID Path (desired path), request path (original path) and target path (desired path).  Also, select Permanent (301) for the redirect.  Reference the image below.  Choose Save.
  6. You now have a Permanent (301) URL rewrite.  Congrats.

No comments:

Post a Comment