{"id":26198925,"url":"https://github.com/growthwizard/rankmath-headless-root-domain","last_synced_at":"2026-04-22T00:32:17.250Z","repository":{"id":164992436,"uuid":"571492688","full_name":"GrowthWizard/rankmath-headless-root-domain","owner":"GrowthWizard","description":"A little code snippet to replace the domain of a headless-backend (subdomain.example.de/subpage) in RankMath to the root domain, while keeping the uri (example.de/subpage).","archived":false,"fork":false,"pushed_at":"2023-05-14T00:01:04.000Z","size":16,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-27T09:56:28.757Z","etag":null,"topics":["headless","headless-cms","rank-math","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GrowthWizard.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-11-28T08:55:04.000Z","updated_at":"2022-11-28T09:40:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"45d9ab44-88cb-42fa-921b-083561201ad2","html_url":"https://github.com/GrowthWizard/rankmath-headless-root-domain","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GrowthWizard/rankmath-headless-root-domain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrowthWizard%2Frankmath-headless-root-domain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrowthWizard%2Frankmath-headless-root-domain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrowthWizard%2Frankmath-headless-root-domain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrowthWizard%2Frankmath-headless-root-domain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GrowthWizard","download_url":"https://codeload.github.com/GrowthWizard/rankmath-headless-root-domain/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrowthWizard%2Frankmath-headless-root-domain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32115825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"ssl_error","status_checked_at":"2026-04-22T00:30:22.894Z","response_time":128,"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":["headless","headless-cms","rank-math","wordpress"],"created_at":"2025-03-12T02:55:08.659Z","updated_at":"2026-04-22T00:32:17.245Z","avatar_url":"https://github.com/GrowthWizard.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Description\n\nA little code snippet to replace the domain of a headless-wordpress-backend (subdomain.example.de/subpage) in RankMath to the root domain, while keeping the uri (example.de/subpage).\n\n# How-to-Use \n\n1. Upload the rank-math.php to your /wp-content/themes directory. For more information about rank-math.php, check the documentation: https://rankmath.com/kb/filters-hooks-api-developer/\n2. Replace the String inside of the variable $frontend_domain in rank-math.php to the root domain of your frontend. \n3. Check the head of your website. All Canonicals (including on subpages) should now point to the frontend of your headless-website.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrowthwizard%2Frankmath-headless-root-domain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrowthwizard%2Frankmath-headless-root-domain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrowthwizard%2Frankmath-headless-root-domain/lists"}