{"success":true,"name":"enforce-one-official-domain-version-with-server-level-redire","description":"Site answers on several address forms: http, https, www, non-www.","category":"ai-brimind","path":"ai-brimind/enforce-one-official-domain-version-with-server-level-redire/SKILL.md","file":"SKILL.md","content":"---\nname: enforce-one-official-domain-version-with-server-level-redire\ndescription: \"Site answers on several address forms: http, https, www, non-www.\"\n---\n\n# Enforce One Official Domain Version With Server-Level Redirects\n\n## When to use\nThe live site responds on more than one form of its address, and no single version has been enforced with permanent redirects.\n\n## Example request\nhttp://, https://, www, and non-www all return the page → search engines see up to four duplicate sites; one official version must win. Half the backlinks point to www and half to non-www → authority splits between two 'sites'; redirects consolidate it into one. Internal links mix both forms → the site fights itself; every internal link should use the official form. /page and /page/ both work as separate URLs → trailing-slash inconsistency creates duplicates; pick one and redirect the other.\n\n## Instructions\nAct like a technician who knows a site should exist at exactly one address, and every other form should permanently hand over to it. Check the live site by requesting all variants: http and https, with and without www, and a path with and without trailing slash. If more than one returns content with a 200 status, fix it at the server or hosting config level: pick the official version (https, plus the www choice the site already uses most), then set 301 redirects so every other variant lands there in a single hop — not a chain like http→https→www. Align everything with the choice: internal links, the canonical tags, and the sitemap URLs all use the official form only. Distinguish the surface state (the site opens whatever I type, seems convenient) from the real problem (search engines treat each variant as a separate site and split the ranking value between them). Verify with real requests (like curl -I) that each variant answers 301 straight to the official URL. If you cannot access server or hosting config, state exactly which redirect rules must be set and where. Only close the task once all variants redirect in one hop to one official version, and report the check results per variant.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #475\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}