diff --git a/PLAN.md b/PLAN.md index 97adfc7..af57ab3 100644 --- a/PLAN.md +++ b/PLAN.md @@ -1682,6 +1682,74 @@ under SEO. **Not in this phase:** writing drafts on its own (ChatSEO's way), images, and competitors' live prices. +### Phase 8: Backlinks + +**Planned 2026-11-24.** SEO has no view of links from other sites: who +links to the site, which links bring visitors and sign-ups, which were +lost, and where a link could be won. Google's Links report isn't in the +Search Console API, so the data comes from Plausible (links that bring +visitors), Bing Webmaster Tools (links Bing has found) and checking the +linking pages themselves. A paid index (Ahrefs, Semrush, Moz, Majestic, +DataForSEO) stays out of this phase; part 4 notes where one would help. + +**What there is today** (federated.computer, last 30 days): most visits +come with no referrer ("Direct / None": 1,549 of them to the home page); +the sites that sent visitors were few (wdtprs.com 9, reddit.com 7, t.co 7, +google.com 35). No Bing key is saved yet. + +All of it lives on a new page, **SEO → Links**, with a card per part; the +items worth acting on also join *What to write next*. + +**Parts, in order, a commit after each:** +1. **Links that bring visitors (Plausible).** The daily import also reads, + by day: the referring site (`visit:source`), the linking page where + Plausible has it (`visit:referrer`), and the entry page, with visitors, + sign-ups and leads as Phase 7 counts them (a new `referrer_days` + table). Search engines, social networks, email and Supermarket's own + tagged links are told apart from links on other sites, which are the + backlinks. SEO → Links lists the sites that sent visitors in 90 days, + the pages they landed on, and the sign-ups they brought, new ones this + week first. Each linking page Plausible names becomes a known backlink + (part 3 checks it). +2. **Who links to you (Bing Webmaster Tools).** With a Bing key saved and + the site verified in Bing, a weekly read of Bing's inbound links: the + count per page of the site (`GetLinkCounts`), and for the most linked + pages, the linking pages and their anchor text (`GetUrlLinks`). Stored + in a `backlinks` table (the linking page, the page of ours it links + to, the anchor, where it was found, first and last seen). SEO → Links + shows the linking sites by how many pages of ours they link to, with + the pages and anchors; a site seen for the first time this week is + marked new. Without a key, the card says how to get one. +3. **Lost links.** Each week Supermarket opens the known linking pages + (from parts 1 and 2, and any added by hand), politely and at most 100 a + day, and checks each still links to the site. A link is *kept*, *gone* + (the page no longer links), *page gone* (it answers 404 or 410, or + redirects elsewhere) or *points at a 404* (our page it links to no + longer answers; the fix is a redirect on our side, which the audit's + 404 list already names). SEO → Links lists the lost ones first, with + when they were last seen; one that brought visitors or sign-ups is + flagged, and joins *What to write next* (as *Fix with a redirect*, or + *Ask for the link back*). +4. **Link opportunities.** + - *Partners:* for each Inventory partner with a website, Supermarket + looks for a page that lists providers, hosts or partners (from their + sitemap and links: "hosting", "providers", "partners", "services", + "commercial support") and checks whether it links to the site. One + that lists others but not you is an opportunity, with the page. + - *"Alternatives" lists* (costs web searches, on request): for a + competitor in the Inventory, the AI searches for lists of + alternatives to it and comparisons, and keeps the ones that name + other providers but not you, with the list's page. + - Each opportunity can be dismissed, or marked *asked* and later *won* + (when part 2 or 3 sees the link). Asking is by hand, or as a draft + in Outreach when there's a person to write to; nothing is sent + without review. The best ones join *What to write next*. + - Where a paid index would help: the sites that link to competitors but + not to you. Left for later, behind a provider setting like Hunter.io. + +**Not in this phase:** buying links, automatic outreach, and authority +scores (they need a paid index). + ### Future enhancements Not in any phase yet; picked up when the user asks.