{"id":29150273,"url":"https://github.com/humanmade/hm-redirects","last_synced_at":"2026-03-05T16:04:10.091Z","repository":{"id":32431551,"uuid":"110976815","full_name":"humanmade/hm-redirects","owner":"humanmade","description":"Fast and scalable redirects plugin for WordPress","archived":false,"fork":false,"pushed_at":"2025-11-13T10:46:05.000Z","size":168,"stargazers_count":29,"open_issues_count":17,"forks_count":11,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-11-13T12:21:16.175Z","etag":null,"topics":["redirects","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","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/humanmade.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.txt","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-11-16T13:47:39.000Z","updated_at":"2025-05-21T13:46:24.000Z","dependencies_parsed_at":"2024-04-22T15:33:47.838Z","dependency_job_id":null,"html_url":"https://github.com/humanmade/hm-redirects","commit_stats":{"total_commits":114,"total_committers":13,"mean_commits":8.76923076923077,"dds":0.6052631578947368,"last_synced_commit":"9578300924a40fb32b80173c4ecedc01caad2895"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/humanmade/hm-redirects","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humanmade%2Fhm-redirects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humanmade%2Fhm-redirects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humanmade%2Fhm-redirects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humanmade%2Fhm-redirects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/humanmade","download_url":"https://codeload.github.com/humanmade/hm-redirects/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humanmade%2Fhm-redirects/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30134588,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T15:35:27.018Z","status":"ssl_error","status_checked_at":"2026-03-05T15:35:23.768Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["redirects","wordpress","wordpress-plugin"],"created_at":"2025-06-30T23:10:01.936Z","updated_at":"2026-03-05T16:04:10.058Z","avatar_url":"https://github.com/humanmade.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HM Redirects\n\nAllows to redirect one path to another path on the same domain.\n\n## Architecture\nRedirects are stored as a custom post type and use the following fields:\n\n- `post_name` to store the md5 hash of the _From_ path. This column is used because it is indexed, and allows fast queries. `md5` is used to simplify the storage.\n- `post_title` to store the _From_ path.\n- `post_excerpt`to store the the _To_ path.\n\n## Tips\nThis plugin uses `wp_safe_redirect()` to redirect. You will have to whitelist your redirect target domains using WordPress' `allowed_redirect_hosts` filter, otherwise the redirect will not work.\nOne way to get a list of redirect target domains is to run the WP-CLI command: `wp hm-redirects find-domains`. Another is to add them dynamically just-in-time using the filter `hm_redirects_matched_redirect`.\n\n## Attributions\nProps for the data storage approach to VIP's [WPCOM Legacy Redirector](https://github.com/Automattic/WPCOM-Legacy-Redirector).\n\n## Contributing\n\n### Before tagging a release\n\n* Update the [version string on line 8](hm-redirects.php).\n\n### Running tests\nCurrently the plugin's automated tests [run against PHP 7.4 and WP 5.8](.github/workflows/phpunit.yml). PHPUnit doesn't need to be installed, however:\n```\ncomposer install\ndocker run --rm -e WP_VERSION=5.8 -v $PWD:/code humanmade/plugin-tester\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumanmade%2Fhm-redirects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhumanmade%2Fhm-redirects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumanmade%2Fhm-redirects/lists"}