Fill the Server: 80% off your first 4 monthly invoices, monthly billing. Ends Nov 30, 2026. 25 spots in this batch.FILL25
Fill the Server, annual: about 29.63% off your first annual invoice. Ends Nov 30, 2026.FILL25Y
Fill the Server, 2 year term: about 15.69% off your first biennial invoice. Ends Nov 30, 2026.FILL25B
Fill the Server, 3 year term: about 11.11% off your first triennial invoice. Ends Nov 30, 2026.FILL25T
80% off your first 3 months, monthly billing. Ends Dec 25, 2027.3MONTHS80
50% off your first annual Shared term. Ends Dec 31, 2027.50SHARED
Shared Starter, 3 year term: C$105.84 total.MOOSE294
20% off your first 3 monthly VPS invoices. Ends Dec 31, 2027.20VPS3
25% off your first annual base VPS term.25VPS

← All guides

Web hosting

Website broken links: find 404s and decide what should replace them

Published August 2026 · 2 min read · Updated 2026-09-05

Broken links can be internal routing defects, deleted assets, stale external references, malformed relative URLs, permission errors, or JavaScript-generated paths. A useful link audit distinguishes ownership and status so you do not “fix” a temporary external outage by deleting valuable context.

Crawl rendered and source-visible links

Check anchors, images, scripts, stylesheets, canonical links, sitemap entries, and other static references. For JavaScript-heavy interactions, browser tests may be needed beyond an HTML parser.

Normalize fragments/query strings carefully so distinct application routes are not collapsed incorrectly.

Classify internal failures first

Internal 404/500/redirect loops are under your control and can break navigation or assets. Decide whether the correct action is restore the page, update the link, or add a relevant redirect from an old public route.

Do not redirect every missing URL to the homepage; that hides errors and creates poor search/user behavior.

Treat external links as monitored references

A vendor/documentation URL can fail transiently or block automated requests while still working for users. Record status and manually verify important references before removing them.

Replace obsolete external documentation with a current authoritative source where available.

Prevent regression in the build

Run link/static-asset validation on generated output in CI and browser-test route samples. Keep a deliberate allowlist only for known external contracts—not as a way to ignore internal failures.

  • Check internal links/assets first.
  • Use specific redirects for moved pages.
  • Manually verify important external failures.
  • Fail CI on broken internal references.

Next step

Audit internal links, distinguish removed content from mistakes, repair valuable references and use redirects only when a genuine replacement exists.

Explore DotMoose web hosting

Keep reading

Related guides.

HTTP 500, 502 and 503 errors explained for website owners

Learn what HTTP 500, 502 and 503 errors usually indicate, which layer to investigate, what evidence to collect, and when restarting a service is not the real fix.

Read the guide

Virtualmin vs cPanel: Which Control Panel Should You Choose?

Virtualmin vs cPanel compared on licensing cost, account and site management, email, DNS, backups and migration, so you can pick the control panel that fits how you host.

Read the guide

How to move web hosting without downtime

Move a website and database with destination testing, final synchronization, controlled DNS cutover, and rollback while preserving separate mail routing.

Read the guide

More web hosting guides

We will handle the move. You check it first.

Your current site stays online until your new one is ready. You approve the copy first, and if anything is not right we switch you back right away. The price you pick is the price you renew at.

Start my free moveSee plans and prices
See pricesFree move