Phase 8 part 3: lost links

Each known linking page (from Bing, Plausible or added by hand) is
opened once a week, at most 100 a day, to check it still links to the
site: kept, gone (the page no longer has the link), page gone (404, 410
or moved elsewhere) or pointing at a 404 (our page it links to is gone).
SEO → Links lists the lost ones with what happened, when last seen and
what the site brought; links can be added by hand (checked at once),
checked now, or forgotten. What to write next suggests a redirect for a
link to a 404, and asking for a lost link back when it brought visitors.
Links and What to write next now work for websites without Search
Console too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-24 08:43:30 -07:00
co-authored by Claude Opus 5.5
parent fc7dcf1f66
commit a1409d91ad
9 changed files with 539 additions and 7 deletions
+4
View File
@@ -225,6 +225,7 @@ func (s *Server) Handler() (http.Handler, error) {
mux.HandleFunc("GET /seo/next", s.seoNextPage)
mux.HandleFunc("GET /seo/links", s.seoLinksPage)
mux.HandleFunc("POST /seo/links/bing", s.seoLinksBing)
mux.HandleFunc("POST /seo/links/{action}", s.seoLinksAction)
mux.HandleFunc("GET /sites/pages/add", s.sitesAddPage)
mux.HandleFunc("POST /sites/pages/add", s.sitesAdd)
mux.HandleFunc("POST /seo/next/dismiss", s.seoNextDismiss)
@@ -547,6 +548,9 @@ var flashes = map[string]string{
"keyword-back": "Back among the candidates.",
"signups-saved": "Saved. The pages' sign-ups were read again with it.",
"next-dismissed": "Hidden for 90 days.",
"link-added": "Added, and checked.",
"links-checked": "Checked %d links.",
"link-forgotten": "Forgotten.",
"bing-read": "Read the links from Bing.",
"audited": "The audit is done.",
"auditing": "Auditing. It reads up to 300 pages politely, so it takes a few minutes; this page updates when it's done.",