- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Removing main category path from sub-categories URLS
Hi there,
is there a way to remove main categories in the sub / sub/sub etc. category urls?
We need this 1) for SEO reason and 2) it is better if you move categories to another main category for example so the path always stays the same:
Magento 2.0 behavior:
main category: domain.com/main
sub category: domain.com/main/sub1
sub sub category: domain.com/main/sub1/sub2
We need:
main category: domain.com/main
sub category: domain.com/sub1
sub sub category: domain.com/sub2
I think there is no backend settings for that or is there?
How can we achieve this?
Many thanks!
André
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Removing main category path from sub-categories URLS
How to remove category path from Magento 2 product URLs: https://mage2.pro/t/312
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Removing main category path from sub-categories URLS
Hi Dmitry,
thanks for your reply but the question was not how to remove the category url in the product urls but the main category url in the subcategories.
It would be great if you could post a solution here.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Removing main category path from sub-categories URLS
no answer on category urls?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Removing main category path from sub-categories URLS
Hi Andreulrich,
Have you found a solution for this problem? I'am looking for exactly the same thing, but I can't find anything,
Kind Regards,
Jelte
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Removing main category path from sub-categories URLS
Hi Jelte,
no i am sorry.
The magento team did not get back with an answer to me also i think a ecommerce system which is not be able to change the category structure by default is not practice.
We ended up in writing our own module for that :-/