Total Posts:
455
Karma:
2499
Joined:
1/15/2015
Location:
Russia
Using NC 3.90 There is a product called "ADIDAS White Socks" with Product ID: 45214 and Product URL (SEO) is "mysite.com/adidas-white-socks" What I need is this... If we put product URL in browser like "mysite.com/pro/45214" then redirect it immediatelly to "mysite.com/adidas-white-socks" And if there is no such product with such ID, then just redirect to / home page of the site. How to do it? Maybe using web.config file or any other solutions for this? Is it possible to it with some piece of code maybe? Please, help!
Total Posts:
92
Karma:
774
Joined:
9/22/2017
Location:
United Arab Emirates
ِDear I hope you're doing great. You can use the following plugin https://www.nopcommerce.com/en/easy-url-redirection
Total Posts:
11271
Karma:
100537
Joined:
5/22/2011
Location:
United States
@resanehlab Please explain how your plugin would do that. I don't see how it would know to redirect a product id to the proper URL. I'm not aware of an URL endpoint that takes a product Id. Your plugin would need to be configured with a redirection for every single produc t.