PHPackages                             magehost/magehost\_rewritefix - 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. magehost/magehost\_rewritefix

AbandonedArchivedMagento-module

magehost/magehost\_rewritefix
=============================

MageHost\_RewriteFix: Solves a problem most big ‪#‎Magento‬ 1.x shops face: an ever growing huge URL Rewrite table.

1.6.1(6y ago)289375[1 issues](https://github.com/magehost/magehost_rewritefix/issues)GPL-3.0PHP

Since Sep 26Pushed 6y ago8 watchersCompare

[ Source](https://github.com/magehost/magehost_rewritefix)[ Packagist](https://packagist.org/packages/magehost/magehost_rewritefix)[ Docs](https://github.com/magehost/magehost_rewritefix)[ RSS](/packages/magehost-magehost-rewritefix/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (2)Used By (0)

MageHost\_RewriteFix
--------------------

[](#magehost_rewritefix)

**We are sorry but we cannot offer customer support for this extension, and it is provided "as-is" for free. We use it at a number of big shops and it works well.**

Due to bugs in Magento, once an rewrite URL ends with -\[number\] you get more and more rewrite URLs to the same target. The number gets higher and higher. Indexing gets slower and slower.

This extension is a workaround for this problem. Requires Magento 1.7.0.2 or greater.

#### How to install using Modman (--copy)

[](#how-to-install-using-modman---copy)

1. Make sure you run Magento 1.7 or newer
2. Install [Modman](https://github.com/colinmollenhour/modman)
3. `cd` to your Magento root dir
4. `test -d .modman || modman init`
5. `modman clone --copy --force https://github.com/magehost/magehost_rewritefix`
6. If you keep your Magento code in Git: Add `.modman` to your `.gitignore`
7. Run `php shell/mh_rewrite_cleanup.php -- cleanup` once
8. Reindex the `catalog_url` index

#### Verify if needed

[](#verify-if-needed)

You can verify if your installation has this problem by using this query (presuming no DB prefix). If the largest count is &gt; the number of store views then this is a hint that something is wrong.

```
SELECT `id_path`, COUNT(*) as `total`
FROM `core_url_rewrite`
GROUP BY `id_path`
ORDER BY `total` DESC
```

For deeper investigation you can inspect the rows with the highest count using `SELECT * FROM `core_url_rewrite` WHERE `id_path`='[id_path from previous query]'`There should be 1 entry per id\_path for every store view - and not more - unless you renamed the product URI yourself.

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.6% 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

Unknown

Total

1

Last Release

2417d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fa91a42671fb8d5ae19a3ab11e41077750d88a5993925c644afd5c587e52532a?d=identicon)[MageHost](/maintainers/MageHost)

---

Top Contributors

[![jeroenvermeulen](https://avatars.githubusercontent.com/u/658024?v=4)](https://github.com/jeroenvermeulen "jeroenvermeulen (43 commits)")[![JustinElst](https://avatars.githubusercontent.com/u/249633?v=4)](https://github.com/JustinElst "JustinElst (1 commits)")[![seansan](https://avatars.githubusercontent.com/u/652395?v=4)](https://github.com/seansan "seansan (1 commits)")

### Embed Badge

![Health badge](/badges/magehost-magehost-rewritefix/health.svg)

```
[![Health](https://phpackages.com/badges/magehost-magehost-rewritefix/health.svg)](https://phpackages.com/packages/magehost-magehost-rewritefix)
```

PHPackages © 2026

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