Всего сообщений:
458
Карма:
2514
Присоединился:
15.01.2015
Страна:
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!
Всего сообщений:
92
Карма:
774
Присоединился:
22.09.2017
Страна:
United Arab Emirates
ِDear I hope you're doing great. You can use the following plugin https://www.nopcommerce.com/en/easy-url-redirection
Всего сообщений:
11328
Карма:
101032
Присоединился:
22.05.2011
Страна:
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.