Broken links and the page that does not exist
SEOLinks are the connective tissue of a website.
5 min read
By Timo Wessels Published
Links hold a website together. Three things can be broken about them, and they are not the same:
- A link points to an address that no longer exists.
- A link has a text from which nobody can tell where it leads.
- The website answers wrongly when someone opens an address that never existed.
The most important points first:
- A broken link on your own website is urgent. A broken link to someone else’s website is upkeep.
- “Read more” and “here” are useless as link text.
- A made-up address must get the answer 404, not the home page.
Why it matters
Your own links and other people’s are different
Many audit reports throw both into one pot. That is wrong.
A broken link of your own is your own navigation leading into nothing. The visitor wanted a page that exists or existed on your site and lands in nothing. That is urgent.
A broken link to someone else is a page that disappeared elsewhere or whose address changed. In older articles that is normal. You should correct it, but it is editorial work, not an alarm. If a report flags both with the same urgency, the urgent case disappears among the harmless ones.
When something fails, the server’s answer is called a status code. The code 404 means “not found”. It does not say whether the page is missing briefly or for good. If it is gone for good, 410 (“permanently removed”) is more exact (MDN).
The link text
Screen reader users (a screen reader reads the page aloud) often have all the links of a page read out as a list. That list then says “Read more” fifteen times.
The purpose of a link has to be clear from the link text, on its own or from the sentence around it. WCAG 2.4.4 (Level A) requires it. The WCAG are the international guidelines for accessible websites. An icon used as a link without a label is the same case.
The answer to made-up addresses
You never see this from inside: what happens when someone opens an address that cannot exist?
The right answer is the status code 404. Two wrong answers are common:
- A pretty error page with the code 200. 200 means “all fine”. The page tells the visitor “does not exist” and the search robot “exists”. Google calls that a soft 404. Google advises: return the code 404 for pages that are truly not found. Soft 404 pages keep being visited and use up the budget Google plans for your site (crawl budget).
- A redirect to the home page. The visitor does not notice that their link was wrong. The search robot gets a valid answer for every made-up address. That is my observation from practice.
In both cases a search engine can take in an endless number of made-up addresses with the same content, and the website competes with itself. From inside it goes unnoticed: every real page works, the menu is fine.
How to check it yourself
The 404 page: You only need the address bar. Open yourdomain.com/doesnotexist-12345. Two questions:
- Do you see a recognisable error page, or do you land on the home page?
- Does the server really deliver the code 404? You see it in the developer tools: F12, “Network” tab, reload the page. The code is in the first row.
Broken links: In Google Search Console, under “Pages”, there is the category “Not found (404)”. It shows the addresses Google stumbled over. Google names the reasons: the address was found as a link on another page, or the page existed before and was deleted. That covers your own links well.
Link texts: You need no tool for this. Skim a page and read only the link texts. If at “here”, “more” or “details” you do not know where they lead, a screen reader user does not either.
Not every error code is a broken link. From my experience: Facebook answers automated requests with 400, many sites behind Cloudflare with 403, and LinkedIn uses 999. For normal visitors these pages open without trouble. Only 404 and 410 really mean “does not exist”.
What you can do if it is missing
1. Your own broken links first. Each of these addresses gets one of two fixes:
- A 301 redirect to the target that is closest in content. 301 means “moved permanently”. Google uses it as a strong sign that the new target is the right page.
- Or you correct the link in the content.
In WordPress the Redirection plugin helps. It can be set up to create a redirect automatically when the address of a post changes. With every revision that is a big, quiet gain.
2. Broken links to others. Change the text, remove the link or point it to a page that works. That is upkeep, not a project.
3. Link texts. Replace “Read more” with the name of the target. Instead of “Learn more” write “More about website maintenance”. If a short button is wanted for design reasons, an aria-label with the full target helps.
4. The error page. It delivers the real code 404 and helps the visitor on, for example with a search field, a link to the home page and pointers to the most important areas. It must not redirect silently.
5. Look regularly. I check the 404 errors once a month and fix the errors Search Console reports.
Sources
- W3C, Understanding SC 2.4.4: Link Purpose (In Context) — the purpose of a link must follow from the link text or the context, Level A: w3.org(external site: w3.org)
- Google Search Central, HTTP status codes, and network and DNS errors — status codes, soft 404, redirects as a strong sign for the target: developers.google.com(external site: developers.google.com)
- Google Search Central, Optimize your crawl budget — 404 or 410 for permanently removed pages; soft 404 pages keep being crawled and waste the budget: developers.google.com(external site: developers.google.com)
- Google Search Console Help, Page indexing report — “Soft 404” and “Not found (404)”, how Google finds such addresses: support.google.com(external site: support.google.com)
- MDN, 404 Not Found — broken links, 404 does not say whether the page is missing temporarily or permanently: developer.mozilla.org(external site: developer.mozilla.org)
- MDN, 410 Gone — permanently removed; owners should remove or replace links to it: developer.mozilla.org(external site: developer.mozilla.org)
- WordPress.org, Redirection — manages 301 redirects, can create a redirect automatically when addresses change: wordpress.org(external site: wordpress.org)
- Own testing practice — the view on the error codes of Facebook, Cloudflare and LinkedIn, the observation on the redirect to the home page, the monthly check.