Main Category for Magento2

Choose a main category per product to get one unique product URL and a consistent breadcrumb.

In stock

SKU
MAGE2MAINCATEGORY
€99.00

Description

Description :

A product in several categories gets several URLs and inconsistent breadcrumbs. Main Category lets you choose one main category per product.

  • One product URL based on the main category; other URLs redirect to it.
  • Choose which old URLs are kept as redirections: base URL, other categories, anchor categories, current redirections.
  • Breadcrumb always based on the main category.
  • XML sitemap uses the main category URL.
  • Integrity checks for missing or invalid main categories, and a CLI reindex command.

This extension is used on this store.

Compatibility: Magento Open Source 2.4.7 – 2.4.9 · PHP 8.3+
Licence: one production Magento installation (unlimited store views), plus unlimited development and staging instances.

Functionalities :

  • Allow you to select a main category for product
  • Main category will be use (optionally) for product url (other category-product urls will be redirected to the main category - product url). For exemple : www.domain.tld/shoes/nike-new-model.html
  • Main category will be use for breadcrumb on product page. For exemple : Domain > Shoes > Nike New Model
  • Main category is a product attribute, so you can use it wherever you want.

Functionnality missing ? Please contact us, and maybe we could add it to our next release!

Compatibility :

PHP : 8.3+

Magento : Open Source 2.4.9, Open Source 2.4.8, Open Source 2.4.7

You want it compatible with another magento version, or extension ? Ask us

Answered Needs

Note: This list of answered needs is not exhaustive.

Set main category for a product in Magento ?
You can't do that in magento natively. Our Main Category extension will do that for you!
I need from Magento a unique product url for SEO, how to do this ?
With Main Product Category extension for Magento, you will be able to have a unique product URL, using main category url key.

Changelog

  • 2026-09-10 2.1.3 : Improve category selector
  • 2026-08-25 2.1.2 : PHP8.3 requirement. Minor improvements
  • 2026-05-05 2.1.1 : Minor bugfixes and improvements.
  • 2026-02-07 2.1.0 : Minor bugfixes and improvements.
  • 2024-10-16 2.0.9 : Minor bugfixes and improvements.
Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account