{"id":17811727,"url":"https://github.com/norcross/extra-authors-redirect","last_synced_at":"2026-05-15T18:33:31.640Z","repository":{"id":146802134,"uuid":"176537870","full_name":"norcross/extra-authors-redirect","owner":"norcross","description":"Allow site owners to redirect the author archive pages.","archived":false,"fork":false,"pushed_at":"2024-12-05T18:05:22.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-11T22:19:11.222Z","etag":null,"topics":["wordpress","wordpress-plugin","wordpress-plugins"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/norcross.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2019-03-19T15:05:41.000Z","updated_at":"2025-03-19T14:57:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"27c87a85-fe20-437c-8a41-3bc3abea9cb0","html_url":"https://github.com/norcross/extra-authors-redirect","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/norcross/extra-authors-redirect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norcross%2Fextra-authors-redirect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norcross%2Fextra-authors-redirect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norcross%2Fextra-authors-redirect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norcross%2Fextra-authors-redirect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/norcross","download_url":"https://codeload.github.com/norcross/extra-authors-redirect/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norcross%2Fextra-authors-redirect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33074846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["wordpress","wordpress-plugin","wordpress-plugins"],"created_at":"2024-10-27T15:54:42.112Z","updated_at":"2026-05-15T18:33:31.625Z","avatar_url":"https://github.com/norcross.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Extra Authors Redirect\n========================\n\n## Contributors\n* [Andrew Norcross](https://github.com/norcross)\n\n## About\n\nAdds a checkbox to redirect author profiles. Useful for sites that have occasional authors or user accounts not intended for display.\n\n## Features\n\n* a checkbox on each author profile\n* a global setting for site-wide redirect\n* filterable redirect location\n* includes bbPress support\n\n#### Does this affect posts / pages / admin / ???\n\nNo. this only affects people going to the /author/ template page on a site, and only affects those that have been marked to redirect or if the global settings is enabled.\n\n#### Can I change where the redirect goes?\n\nYes. There is a filter to change the default behavior. Example:\n\n~~~php\n/**\n * Change the URL that a redirected author profile goes to.\n *\n * @param  string $location  The current URL set.\n * @param  integer $user_id  The individual user ID being redirected (if not global).\n *\n * @return string            The new updated one.\n */\nfunction set_custom_redirect_url( $location, $user_id ) {\n\treturn 'https://www.google.com';\n}\nadd_filter( 'exar_redirect_url', 'set_custom_redirect_url', 10, 2 );\n~~~\n\n#### Can the redirect be something other than a 301?\n\nSure can. Change it to whatever you want. Example:\n\n~~~php\n/**\n * Change the HTTP response code.\n *\n * @param  integer $response_code  The current HTTP response.\n * @param  integer $user_id        The individual user ID being redirected (if not global).\n *\n * @return integer                 The new updated one.\n */\nfunction set_custom_http_response( $response_code, $user_id ) {\n\treturn 302;\n}\nadd_filter( 'exar_redirect_http_code', 'set_custom_http_response', 10, 2 );\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorcross%2Fextra-authors-redirect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnorcross%2Fextra-authors-redirect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorcross%2Fextra-authors-redirect/lists"}