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:
@@ -30,7 +30,7 @@
|
||||
|
||||
<section class="card" id="bing">
|
||||
<h2>Who links to you</h2>
|
||||
<p class="small">From Bing Webmaster Tools, read once a week: how many links Bing has found to each of your pages, and, for the most linked ones, the pages that link and their link text. Google doesn't share its links through its API; Bing's index is a fair stand-in. The linking pages Plausible names are listed with them.</p>
|
||||
<p class="small">From Bing Webmaster Tools, read once a week: how many links Bing has found to each of your pages, and, for the most linked ones, the pages that link and their link text. Google doesn't share its links through its API; Bing's index is a fair stand-in. The linking pages Plausible names, and ones you add under Lost links, are listed with them.</p>
|
||||
{{if not $d.BingKey}}
|
||||
<p class="warn-text small">Save a Bing Webmaster API key under <a href="/settings/search">Settings → Search engines</a>: in Bing Webmaster Tools, add and verify {{$d.Current.URL}} (it can import the site from Google Search Console), then Settings (the gear) → API access → API key.</p>
|
||||
{{else}}
|
||||
@@ -58,6 +58,33 @@
|
||||
</details>
|
||||
{{end}}{{end}}
|
||||
</section>
|
||||
|
||||
<section class="card" id="lost">
|
||||
<h2>Lost links</h2>
|
||||
<p class="small">Every week Supermarket opens each known linking page (at most 100 a day, politely) and checks it still links to your site. A link is <em>gone</em> when the page no longer has it, <em>page gone</em> when the page answers 404 or moved, and <em>points at a 404</em> when the page of yours it links to no longer answers: a redirect on your side fixes that one.</p>
|
||||
{{with $d.Counts}}<p class="small muted">{{with index . "kept"}}{{num .}} kept · {{end}}{{with index . "unchecked"}}{{num .}} not checked yet · {{end}}{{with index . "gone"}}{{num .}} gone · {{end}}{{with index . "page-gone"}}{{num .}} page gone · {{end}}{{with index . "target-404"}}{{num .}} pointing at a 404{{end}}</p>{{end}}
|
||||
{{with $d.Lost}}
|
||||
<table class="list">
|
||||
<thead><tr><th>Linking page</th><th>What happened</th><th>Last seen</th><th>It brought</th><th></th></tr></thead>
|
||||
<tbody>{{range .}}{{$b := index $d.Brought .Host}}<tr>
|
||||
<td class="small"><a href="{{.Source}}" target="_blank" rel="noopener noreferrer">{{truncate 70 .Source}}</a>{{with .Target}}<br><span class="muted">to {{.}}</span>{{end}}</td>
|
||||
<td class="small"><span class="badge {{if eq .Status "target-404"}}scheduled{{else}}competitor{{end}}">{{if eq .Status "gone"}}gone{{else if eq .Status "page-gone"}}page gone{{else}}points at a 404{{end}}</span><br>{{.Note}}</td>
|
||||
<td class="small">{{.LastSeen}}</td>
|
||||
<td class="small">{{if $b.Visitors}}<strong>{{num $b.Visitors}} visitors{{if $b.Signups}}, {{num $b.Signups}} sign-ups{{end}}</strong> in 90 days{{else}}<span class="muted">no visits seen</span>{{end}}</td>
|
||||
<td><form method="post" action="/seo/links/forget?site={{$d.Current.Index}}" data-confirm="Forget this link?"><input type="hidden" name="id" value="{{.ID}}"><button type="submit" class="link small">Forget</button></form></td>
|
||||
</tr>{{end}}</tbody>
|
||||
</table>
|
||||
{{else}}<p class="help">No lost links{{if $d.LinkCount}} among the {{num $d.LinkCount}} known{{end}}.</p>{{end}}
|
||||
<div class="row">
|
||||
<form method="post" action="/seo/links/check?site={{$d.Current.Index}}" data-busy="Checking…"><button type="submit" class="secondary small">Check the links due now</button></form>
|
||||
<span class="small muted">Up to 20 at a time; the rest are checked daily.</span>
|
||||
</div>
|
||||
<form method="post" action="/seo/links/add?site={{$d.Current.Index}}" class="cols" data-busy="Adding and checking…">
|
||||
<label>A page that links to you <input name="source" type="url" placeholder="https://their-site.example/hosting-providers/" required></label>
|
||||
<label>Your page it links to <span class="muted">(optional)</span> <input name="target" placeholder="/freescout/"></label>
|
||||
<div class="actions"><button type="submit" class="secondary">Add and check</button></div>
|
||||
</form>
|
||||
</section>
|
||||
{{end}}
|
||||
{{end}}{{end}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user