Working with URLS / Rewriting / Routes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 anno tempo fa
Supposing I have a category URL:

https://abc.com/magnetic-clutch-air-conditioner-compressor

How do I route every example below to the above:

https://abc.com/abcsd/magnetic-clutch-air-conditioner-compressor
https://abc.com/bmw-7-1890-kv10/magnetic-clutch-air-conditioner-compressor
https://abc.com/toyota-altislblahb-100/magnetic-clutch-air-conditioner-compressor

Is this something that can be done runtime using routes etc or  I have to make a urlrecord for every one etc ?
1 anno tempo fa
What nopCommerce version?
1 anno tempo fa
Hey,

nopversion : 4.5.249.35055
1 anno tempo fa
In 4.60 this is supported out of the box, see details here.
1 anno tempo fa
Thanx but anything I can do here?
1 anno tempo fa
There two ways to go:
1. Upgrade to the latest version
or
2. Manully apply all commits referenced in this work item
1 anno tempo fa
So we can just update to a new version without having any conflicts to existing code or anything we added into code?
1 anno tempo fa
If you added custom code, then you will need to add the same to the source code for latest version.  In general, between 4.50 and 4.60 your custom code should be fine, but do test it ;)
1 anno tempo fa
If I want to stay with the current version is there any drawbacks to do it with creating urls in urlrecord table?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.