We have a site with categories and subcategories.
If anybody navigates to a content belongs to a subcategory the url will have the following form: domain/main-category/sub-category/mycontent/
But we need another form: domain/main-category/mycontent
where mycontent
belongs a subcategory inside main-category
, but we don’t want the subcategory to be displayed in the URL.
Is there any possible solution for this?