"Redirect non-seo urls to seo urls"
I have SEO URLS (nice urls, url alias we can call them as we want) up and working, so I access all my categories, products with example.com/my-product, example.com/category.
I found out that in some search engines I have indexed some categories as:
Code: Select all
My question is, is there a thing like "reverse url alias lookup"?
If I access url with old style product/category&path=357_359 OC checks if it has url alias set, If yes, redirect to it.
category Apple Phones (id = 357_359) with url alias: apple-phones
product/category&path=357_359 -> on access redirect to /apple-phones, because it has url alias set.