PHPackages                             aune-io/magento2-product-category-url-fix - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. aune-io/magento2-product-category-url-fix

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

aune-io/magento2-product-category-url-fix
=========================================

Product category url fix for Magento 2

1.2.8(1y ago)165.9k↓81.3%6PHPPHP ~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.1.0|~8.2.0|~8.3.0CI failing

Since Dec 19Pushed 1y ago2 watchersCompare

[ Source](https://github.com/aune-io/magento2-product-category-url-fix)[ Packagist](https://packagist.org/packages/aune-io/magento2-product-category-url-fix)[ RSS](/packages/aune-io-magento2-product-category-url-fix/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (6)Versions (14)Used By (0)

Product Category Url Fix
========================

[](#product-category-url-fix)

Fix Magento 2 core behaviour on product category url generation. By default Magento 2 generates product urls containing categories even if *Use Categories Path for Product URLs* is turned off. This modules prevents the generation of those urls if the aforementioned setting is set to *No*.

[![Build Status](https://camo.githubusercontent.com/4b84a2799146b61652ef0652bd8d1742ce5c038aa58c1d0021296283274f5b0e/68747470733a2f2f7472617669732d63692e6f72672f61756e652d696f2f6d6167656e746f322d70726f647563742d63617465676f72792d75726c2d6669782e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/aune-io/magento2-product-category-url-fix)[![Coverage Status](https://camo.githubusercontent.com/17f6d5d3096038f00674cc7bc18ed88f89e6c68a9dfcb0d746f1d4acd06a2143/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f61756e652d696f2f6d6167656e746f322d70726f647563742d63617465676f72792d75726c2d6669782f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/aune-io/magento2-product-category-url-fix?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/cce6e7e7e5e0f463f358626a5c86da06b72df1f1830692317db52998d36a693c/68747470733a2f2f706f7365722e707567782e6f72672f61756e652d696f2f6d6167656e746f322d70726f647563742d63617465676f72792d75726c2d6669782f762f737461626c65)](https://packagist.org/packages/aune-io/magento2-product-category-url-fix)[![Latest Unstable Version](https://camo.githubusercontent.com/80b580084986f2364d81df64ddb9f1d0e726ef9fa9cb65aa3a0a134b94f751a9/68747470733a2f2f706f7365722e707567782e6f72672f61756e652d696f2f6d6167656e746f322d70726f647563742d63617465676f72792d75726c2d6669782f762f756e737461626c65)](https://packagist.org/packages/aune-io/magento2-product-category-url-fix)[![Total Downloads](https://camo.githubusercontent.com/916d9756e97b26c3ed870e377affc150b592651b97c65ae70fc315b9641c47de/68747470733a2f2f706f7365722e707567782e6f72672f61756e652d696f2f6d6167656e746f322d70726f647563742d63617465676f72792d75726c2d6669782f646f776e6c6f616473)](https://packagist.org/packages/aune-io/magento2-product-category-url-fix)[![License](https://camo.githubusercontent.com/48814e0526e753a39f9d4c83f00537c7c8739111efea6f1b8f1580274e576fd6/68747470733a2f2f706f7365722e707567782e6f72672f61756e652d696f2f6d6167656e746f322d70726f647563742d63617465676f72792d75726c2d6669782f6c6963656e7365)](https://packagist.org/packages/aune-io/magento2-product-category-url-fix)

System requirements
-------------------

[](#system-requirements)

This extension supports the following versions of Magento:

- Community Edition (CE) versions 2.1.x, 2.2.x, 2.3.x and 2.4.x

Installation
------------

[](#installation)

1. Require the module via Composer

```
$ composer require aune-io/magento2-product-category-url-fix
```

2. Enable the module

```
$ bin/magento module:enable Aune_ProductCategoryUrlFix
$ bin/magento setup:upgrade
```

3. Login to the admin
4. Go to Stores &gt; Configuration &gt; Catalog &gt; Catalog &gt; Search Engine Optimization
5. Set *Use Categories Path for Product URLs* to *No*, or to use the default value

Product category urls won't be generated for new products, plus old urls will be deleted for a product when it is saved after a change associated categories or websites.

Authors, contributors and maintainers
-------------------------------------

[](#authors-contributors-and-maintainers)

Author:

- [Renato Cason](https://github.com/renatocason)

License
-------

[](#license)

Licensed under the Open Software License version 3.0

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~229 days

Recently: every ~385 days

Total

12

Last Release

591d ago

PHP version history (7 changes)1.0.0PHP ~7.0.0

1.1.0PHP 7.0.2|7.0.4|~7.0.6|~7.1.0

1.2.0PHP ~7.1.0|~7.2.0

1.2.1PHP ~7.1.0|~7.2.0|~7.3.0

1.2.6PHP ~7.1.0|~7.2.0|~7.3.0|~7.4.0

1.2.7PHP ~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.1.0

1.2.8PHP ~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.1.0|~8.2.0|~8.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/73ef335b0adb3d09260814815de5236712b71ecc71d16775922f484358e7c345?d=identicon)[renatocason](/maintainers/renatocason)

---

Top Contributors

[![renatocason](https://avatars.githubusercontent.com/u/7037728?v=4)](https://github.com/renatocason "renatocason (24 commits)")[![zephir1](https://avatars.githubusercontent.com/u/1227771?v=4)](https://github.com/zephir1 "zephir1 (7 commits)")[![chrisastley](https://avatars.githubusercontent.com/u/400344?v=4)](https://github.com/chrisastley "chrisastley (1 commits)")

---

Tags

magento2magento2-extensionmagento2-module

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/aune-io-magento2-product-category-url-fix/health.svg)

```
[![Health](https://phpackages.com/badges/aune-io-magento2-product-category-url-fix/health.svg)](https://phpackages.com/packages/aune-io-magento2-product-category-url-fix)
```

###  Alternatives

[elgentos/regenerate-catalog-urls

Regenerate Catalog URL Rewrites (products, categories, cms pages)

2842.6M](/packages/elgentos-regenerate-catalog-urls)[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27703.7k4](/packages/nosto-module-nostotagging)[tig/postnl-magento2

TIG Magento 2 PostNL extension

59570.5k5](/packages/tig-postnl-magento2)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[angeo/module-llms-txt

Magento 2 module for AI Engine Optimization (AEO). Generates spec-compliant llms.txt and llms-full.txt per llmstxt.org standard, plus streaming JSONL for vector indexing. Multi-store, multi-website, CLI, cron, async admin UI, Page Builder-aware sanitization, customer-group pricing, atomic writes, ETag/Cache-Control, .md mirrors.

111.1k](/packages/angeo-module-llms-txt)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
