{"id":36317211,"url":"https://github.com/magehost/magehost_rewritefix","last_synced_at":"2026-01-11T11:04:06.591Z","repository":{"id":27007266,"uuid":"30471370","full_name":"magehost/magehost_rewritefix","owner":"magehost","description":"This free open source extension solves a problem most big ‪#‎Magento‬ 1.x shops face: an ever growing huge URL Rewrite table. This extension solves a still existing bug in Magento 1.x which creates unnecessary rewrites all the time. It can also clean up the existing mess.","archived":false,"fork":false,"pushed_at":"2019-09-26T09:29:17.000Z","size":70,"stargazers_count":28,"open_issues_count":1,"forks_count":5,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-08-12T12:26:20.932Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://MageHost.pro","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magehost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-07T21:46:36.000Z","updated_at":"2024-01-20T12:57:19.000Z","dependencies_parsed_at":"2022-08-31T19:30:16.215Z","dependency_job_id":null,"html_url":"https://github.com/magehost/magehost_rewritefix","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/magehost/magehost_rewritefix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magehost%2Fmagehost_rewritefix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magehost%2Fmagehost_rewritefix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magehost%2Fmagehost_rewritefix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magehost%2Fmagehost_rewritefix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magehost","download_url":"https://codeload.github.com/magehost/magehost_rewritefix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magehost%2Fmagehost_rewritefix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28301418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T08:21:30.231Z","status":"ssl_error","status_checked_at":"2026-01-11T08:21:26.882Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-11T11:04:06.537Z","updated_at":"2026-01-11T11:04:06.586Z","avatar_url":"https://github.com/magehost.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## MageHost_RewriteFix\n\n**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.**\n\nDue 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.\n\nThis extension is a workaround for this problem.\nRequires Magento 1.7.0.2 or greater.\n\n#### How to install using Modman (--copy)\n1. Make sure you run Magento 1.7 or newer \n1. Install [Modman](https://github.com/colinmollenhour/modman)\n1. `cd` to your Magento root dir\n1. `test -d .modman || modman init`\n1. `modman clone --copy --force https://github.com/magehost/magehost_rewritefix`\n1. If you keep your Magento code in Git: Add `.modman` to your `.gitignore`\n1. Run `php shell/mh_rewrite_cleanup.php -- cleanup` once\n1. Reindex the `catalog_url` index\n\n#### Verify if needed\nYou can verify if your installation has this problem by using this query (presuming no DB prefix). If the largest count is \u003e the number of store views then this is a hint that something is wrong. \n\n```sql\nSELECT `id_path`, COUNT(*) as `total`\nFROM `core_url_rewrite`\nGROUP BY `id_path`\nORDER BY `total` DESC\n```\n\nFor 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]'```\nThere should be 1 entry per id_path for every store view - and not more - unless you renamed the product URI yourself. \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagehost%2Fmagehost_rewritefix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagehost%2Fmagehost_rewritefix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagehost%2Fmagehost_rewritefix/lists"}