Tổng Bài đăng:
458
Karma:
2514
Đã tham gia:
15/01/2015
Vị trí:
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!
Tổng Bài đăng:
92
Karma:
774
Đã tham gia:
22/09/2017
Vị trí:
United Arab Emirates
ِDear I hope you're doing great. You can use the following plugin https://www.nopcommerce.com/en/easy-url-redirection
Tổng Bài đăng:
11328
Karma:
101032
Đã tham gia:
22/05/2011
Vị trí:
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.