Sub topic 11
Earning Backlinks Ethically
This chapter assumes you know what a backlink is, how rel values such as nofollow, sponsored and ugc work, and how link quality is judged by relevance, authority, placement and anchor text. It also assumes you have seen the common link scheme patterns that search engines treat as spam. Here you will turn that knowledge into a repeatable process for earning links that last and don't put your site at risk.
The working model: links are editorial decisions
A link that helps rankings is a decision made by someone else. A writer, editor, teacher or developer decides your page is worth sending readers to. That is why search engines treat links as votes. It is also why you can't reliably buy or force them.
So the question to ask is not "how do I get a link?" but "why would a person with a website link to this?" Most ethical link building answers that question in one of four ways:
- You made something useful that does not exist elsewhere.
- You supplied information that a writer needs to finish their own work.
- You helped fix a problem on their page, such as a dead link.
- You have a real relationship with them, such as a customer, partner or contributor.
Everything else in this chapter is a variation on those four.
The earning cycle
Earning links is a loop, not a one-time campaign. You build an asset, make sure the right people see it, collect the links that follow, and then check what worked.
The audit step connects back to the previous chapter. Search Console's links report and third-party tools tell you which pages attract links, and that tells you what to build more of.
Step 1: Build assets people have a reason to cite
Some content earns links far more easily than other content. A page that restates common advice gives nobody a reason to cite it, because they can link to a hundred equivalent pages. Content that earns links usually has one of these properties.
- Original data. A survey, a benchmark, an analysis of public data, or anonymized numbers from your own product. Writers who want a statistic link to its source.
- A free tool or calculator. People link to tools they use, and tools stay useful for years.
- A definitive reference. A glossary, a standards summary, or a well-maintained "how X works" page that covers edge cases other pages skip.
- A clear visual or template. A diagram, a checklist or a starter file that others can reuse with credit.
- Firsthand experience. A case study with real numbers, or a post-mortem of something that went wrong.
Ranking context matters here. Links are one signal among many, so an asset must also satisfy the search intent behind its topic. A page that is cited often but doesn't answer the query will not rank for that query.
Make the asset easy to cite
Small details raise the odds that a citation turns into a link:
- Give each statistic or chart a stable URL fragment, such as
#survey-results, so writers can point to it. - State your methodology and the date. Writers need these to judge whether the source is safe to quote.
- Put the source name in the page title so the anchor text a writer chooses is naturally descriptive.
- Keep the URL stable. Moving the page later without a 301 redirect throws away every link it earned.
Step 2: Find the people who would link
Match each asset to a specific audience that already links to similar things. Three ways to find them:
- Search the topic and read the top results. Note who is cited as a source and which pages carry resource lists.
- Look at the backlinks of pages that rank for your topic, using a third-party tool. Sites that linked to a competitor's comparable page are plausible targets, because they have already shown they link to this kind of content.
- Look at your own mentions: customers, partners, event pages, open-source projects, and journalists who have covered your area.
Prefer ten relevant targets to a thousand generic ones. A link from a page whose audience cares about your topic is worth more than a link from a high-authority site with no topical connection.
Step 3: Approaches that work
The table below compares the most common ethical tactics. Effort and risk are rough judgments, not measurements.
| Tactic | How it earns a link | Effort | Risk if done badly |
|---|---|---|---|
| Original research | Writers cite the data | High | Low |
| Free tools | Users and bloggers link to the tool | High | Low |
| Digital PR | Journalists link when you supply a story or a quote | Medium to high | Medium, if pitches are generic |
| Unlinked mentions | You ask a site that already names you to add a link | Low | Low |
| Broken link replacement | You tell a site that a link is dead and suggest your page as a replacement | Medium | Low, if your page is a real match |
| Resource page outreach | You suggest your asset for a curated list | Medium | Medium, if it is not a fit |
| Guest contributions | You write an original article for a relevant publication | Medium to high | High, if done in volume for links |
| Partnerships and customers | Partners, suppliers and clients link from their own pages | Low | Medium, if links are traded |
Unlinked mentions
This is often the cheapest win. Someone has already written about you and just did not add a link. A polite request with the exact URL usually works.
The script below checks a page and reports whether it links to your domain, mentions your brand without linking, or does neither. It uses only the standard library. The fetch function retrieves real pages, and the demo at the bottom runs on inline HTML so you can test it offline.
from html.parser import HTMLParser
from urllib.parse import urlparse
from urllib.request import Request, urlopen
class PageScan(HTMLParser):
"""Record whether a page links to a domain and collect its visible text."""
def __init__(self, domain):
super().__init__()
self.domain = domain.lower()
self.links_to_domain = False
self.text = []
self._skip = 0
def handle_starttag(self, tag, attrs):
if tag in ("script", "style"):
self._skip += 1
if tag == "a":
href = dict(attrs).get("href") or ""
host = urlparse(href).hostname or ""
host = host.lower()
if host == self.domain or host.endswith("." + self.domain):
self.links_to_domain = True
def handle_endtag(self, tag):
if tag in ("script", "style") and self._skip:
self._skip -= 1
def handle_data(self, data):
if not self._skip:
self.text.append(data)
def classify(html, brand, domain):
scan = PageScan(domain)
scan.feed(html)
if scan.links_to_domain:
return "linked"
if brand.lower() in " ".join(scan.text).lower():
return "unlinked mention"
return "no mention"
def fetch(url):
request = Request(url, headers={"User-Agent": "mention-checker/1.0"})
with urlopen(request, timeout=10) as response:
return response.read().decode("utf-8", errors="replace")
if __name__ == "__main__":
samples = {
"blog-a": '<p>We used <a href="https://www.acme-metrics.com/report">Acme Metrics</a> data.</p>',
"blog-b": "<p>Acme Metrics published a useful report on load times.</p>",
"blog-c": "<p>A post about something else entirely.</p>",
}
for name, html in samples.items():
print(name, "->", classify(html, "Acme Metrics", "acme-metrics.com"))Expected output:
blog-a -> linked
blog-b -> unlinked mention
blog-c -> no mentionThe script counts a nofollow link as "linked". If you want to separate followed links from attributed ones, extend handle_starttag to read the rel attribute as in the link extractor from earlier in this tutorial.
Broken link replacement
When a resource page links to a page that now returns 404, the page owner has a real problem. Report the dead link first, because that helps them whether or not they link to you. Then, only if your page covers the same ground, suggest it as a replacement. If your page is not a true equivalent, say nothing about it. A forced suggestion wastes their time and teaches them to ignore your emails.
Digital PR and expert contributions
Journalists need sources, numbers and quotes on a deadline. If your data answers a question that is in the news, a short email with the key finding, the methodology and a link to the full data can earn a citation from a publication that no outreach template could reach. Reply quickly, give a quote they can use without editing, and don't ask for a link. Linking to the source is normal practice, and asking for it can read as pressure.
Guest contributions
Writing for a relevant publication is legitimate when the article is original, useful to that publication's readers, and the byline or bio is the only place you are credited. It becomes a link scheme when you publish many thin articles across unrelated sites with keyword-rich anchor text. Google's spam policies treat large-scale guest posting that is done mainly for links as a violation. Ask whether you would write the article if the link carried nofollow. If not, don't write it.
Step 4: Outreach that respects the recipient
Most outreach fails because it is generic. A good message is short and specific:
- Names the exact page you are writing about, and says why it is relevant to their readers.
- Says what you are offering in one sentence.
- Gives the URL once.
- Makes no demands about anchor text or placement.
- Is sent one time, with at most one polite follow-up.
Step 5: Measure, and check the profile you are building
After each campaign, check which links arrived and what they look like. Look for three things:
- Which asset attracted them. Build more of what works.
- The anchor text. Natural profiles are dominated by brand names, URLs and descriptive phrases. If most of your anchors are exact-match commercial keywords, either your outreach is steering anchors, or a scheme is at work.
- Links you did not ask for. Occasional low-quality links from scrapers or spam sites are normal and are mostly ignored by search engines. A sudden cluster of them can mean someone is pointing them at you, and it is worth investigating through the audit process rather than ignoring.
Do not expect instant ranking changes. A new link has to be discovered by a crawler, processed, and weighed alongside everything else on your page. Content quality, search intent match and technical health all affect whether the extra link translates into a better position. Judge a campaign after months, not days.
Common mistakes
- Starting with outreach, before the asset exists. Without a reason to link, outreach can only ask for favors.
- Chasing authority and ignoring relevance. One link from a closely related site often beats several from large unrelated ones.
- Treating anchor text as a dial to turn. Let the linking writer choose it.
- Buying "packages" of links. These are the most common route to a manual action, and the links are often worthless anyway.
- Letting earned links die. Moving or deleting a page without a redirect removes the value of every link pointing to it.
- Giving up after one round. Most outreach gets no reply. Improve the asset and the targeting rather than sending more of the same message.
Exercise
A small accounting software company wants backlinks. They are choosing between (a) publishing an annual survey of 500 freelancers' invoicing habits, with methodology and downloadable charts, and (b) paying a vendor for 50 guest posts on unrelated blogs, each linking to their homepage with the anchor text "best accounting software". Which approach fits ethical link earning, and why? Name one thing in each option that determines whether it helps or harms.
Show answer
Option (a). The survey is original data that writers have a reason to cite, and links to it are editorial choices, so it fits both the search engine's intent for links and its spam policies. What determines success is whether the survey is relevant to the audience and stays at a stable URL with clear methodology. Option (b) is a link scheme: paid placements aimed at passing ranking value, on unrelated sites, with exact-match commercial anchor text. It risks a manual action or the links being ignored. The deciding factor there is the payment and anchor pattern, which would at minimum require rel="sponsored" and would remove the purpose of buying.
Exercise
Using the classify function from this chapter, what does it return for the HTML <p>Read <a href="https://blog.acme-metrics.com/post">our notes</a> on Acme Metrics.</p> with brand "Acme Metrics" and domain "acme-metrics.com"? What follow-up action does each possible result suggest?
Show answer
It returns "linked", because the hostname blog.acme-metrics.com ends with .acme-metrics.com, so the subdomain match sets links_to_domain. Follow-up by result: "linked" means no outreach is needed, though you can log the link and check its rel value; "unlinked mention" means send a short, polite request with the exact URL; "no mention" means the page is not an existing opportunity and needs a different approach, such as sharing a relevant asset.