2

i want to include category id included in url on category list page. My default category url is listed below::

http://magento2.shelltag.com/women/bags/backpacks

I want to show it like this :

http://magento2.shelltag.com/women/bags/backpacks-6

I want URLs for different categories when a user opens a Category page

magento2.shelltag.com/women/bags/backpacks-6
magento2.shelltag.com/women/bags-8
magento2.shelltag.com/women-10

How can it be achieved?

enter image description here

14
  • any suggestions please? Mar 6 '17 at 11:28
  • do i have to use observer in this? Mar 6 '17 at 12:29
  • how to achieve this functionality? Mar 7 '17 at 4:18
  • You can directly add category id to your category url from admin panel category management. Mar 7 '17 at 4:58
  • but cant i achieve this functionality via programming...i have more than 150 categories....i have managed to do it for product list pages via programming but i applied same thing on category and it didn't worked out.so i want to achieve this via programming? Mar 7 '17 at 5:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.