5.57K views
0

I’m using Magento 2 – Version 2.2.3 and URL rewrites aren’t working. I have some old links from my last e-commerce store that are currently going to a 404.

I need to route any traffic to those URL’s to pages on my new Magento webstore. I’ve read the online instructions from Magento and they are awful and don’t seem to work no matter what I do. Any help appreciated.

Sharp Commerce…you’re my only hope.

Princess You're My Only Hope

0

The answer is easy but we didn’t find that answer in the Magento manual. Magento doesn’t really tell you how to formulate the from and to routing in the instructions. We initially quite a few combinations before the Eureka moment.

In M2 Magento has hidden URL Rewrites feature in the Marketing tab on the left, choose URL Rewrites located under SEO & Search.

 

Magento-Redirects-Not-Working

The Request Path field is basically the from field. The Target Path is where you want to redirect to. Here is the magic and proper format for Magento URL Redirects.

  1. Make sure you don’t add anything after the link you want to redirect in the Request Path, no HTML or anything like that.
  2. In the Target, Path make sure you do include .html after the target path info. See below. Leave a comment if this works for you, we’d love to hear from you.

magento-2-redirects-not-working

 

Privacy Preference Center