A website may look fine when you open it in a browser, but that does not mean every page is working correctly. Some URLs may return a 404 error, internal links may point to deleted pages, and redirects may lead visitors to pages that no longer exist. These problems can affect how visitors use your website and how search engines discover its content.
Finding these problems manually can take a long time, especially when a website has many service pages, blog posts, product pages and other URLs. This is where Ahrefs Site Audit can help. It crawls your website and reports technical issues, including broken pages, HTTP errors, broken internal links and redirect problems.
In this guide, you will learn how to find broken pages using Ahrefs, understand the errors in the audit report and choose the right way to fix them. You will also learn why not every 404 error needs to be redirected.
What Are Broken Pages on a Website?
A broken page is a URL that does not provide the expected content when someone tries to access it. This can happen when a page has been deleted, its URL has changed, the server is experiencing a problem or a website link points to an incorrect address.
For example, imagine your website has a service page at:
https://example.com/website-design-service
Later, you change the page URL to:
https://example.com/website-design-company
If other pages still link to the old URL and you have not configured a suitable redirect, visitors may reach a page that returns a 404 error.
Broken pages can appear in different ways:
-
404 Not Found: The requested page cannot be found on the server.
-
403 Forbidden: The server refuses access to the requested resource.
-
500 Internal Server Error: The server encounters an unexpected problem.
-
Other 4xx errors: The request has a client-side error, such as an invalid or restricted URL.
-
Other 5xx errors: The server cannot complete the request because of a server-side problem.
It is important to understand the response code before making changes. A 404 error and a 500 error do not have the same cause, so they should not be fixed in the same way.
Why Should You Find and Fix Broken Pages?
Broken pages are not just technical errors. They can create problems for visitors and make it harder for search engines to access the useful content on your website.
Here are some reasons to include broken page analysis in your regular SEO work.
1. Improve the Visitor Experience
Imagine a visitor reading your blog and clicking a link to learn more about one of your services. If that link opens a missing page, the visitor cannot find the information they expected.
This creates an unnecessary interruption. Fixing broken internal links helps visitors move between related pages without reaching dead ends.
2. Help Search Engines Discover Your Content
Search engine crawlers follow links to discover pages on a website. When internal links point to missing URLs, crawlers may spend time requesting pages that no longer provide useful content.
A technical SEO audit helps you identify these links and correct them so that your website has a clearer internal linking structure.
3. Protect Valuable Page Opportunities
Some deleted URLs may still receive visitors or have external websites linking to them. If a page has useful backlinks or previously attracted organic traffic, removing it without a proper plan may waste an opportunity.
Before deleting or redirecting a page, check whether it has existing traffic, backlinks or an appropriate replacement.
4. Identify Website Errors Early
A website changes over time. New pages are published, old URLs are updated, menus are edited and content is removed. These changes can introduce errors without being immediately noticeable.
Regular website audits help identify problems before they affect a large number of pages.
What Is Ahrefs Site Audit?
Ahrefs Site Audit is a website crawling tool that checks pages on a website and reports technical SEO issues. It examines the URLs it can discover and access during a crawl.
You can use it to investigate issues such as:
-
Broken internal pages
-
404 and other HTTP response errors
-
Pages linking to broken URLs
-
Broken redirects
-
Missing or duplicate HTML tags
-
Problems with internal links
-
Other technical issues identified during the crawl
For this article, the most useful reports are the ones related to broken pages, HTTP status codes, internal links and redirects.
Important: Ahrefs Site Audit is not simply a browser-based broken link checker. You need to configure a website project and run a crawl to collect the audit data. Available crawl limits and features depend on your Ahrefs account and plan.
How to Set Up a Website Audit in Ahrefs
Before you can find broken pages, you need to crawl your website.
Follow these general steps to start an audit.
Step 1: Create or Select Your Website Project
Log in to your Ahrefs account and open the Site Audit tool.
If your website is already configured as a project, select it. Otherwise, create a new project and follow the setup instructions.
Depending on your account and verification options, Ahrefs may ask you to verify ownership or connect an available verification method.
Step 2: Configure the Crawl Settings
Before starting the crawl, review the settings carefully.
Pay attention to:
-
The website domain or URL you want to audit
-
The crawl source, such as website links or a sitemap
-
Which sections of the website should be included
-
URLs or sections that should be excluded
-
The crawling speed
-
Any available external link checking settings
For a useful audit, make sure important sections of your website are not accidentally excluded.
If you have a large website, you may need to adjust the crawl settings according to your available crawl limits and server capacity.
Step 3: Start the Website Crawl
After checking the settings, start the crawl.
Ahrefs will visit the URLs it discovers and collect information about their response codes, links and other technical details.
The time required depends on the size of the website, the number of URLs available to crawl and the crawl settings.
Step 4: Open the Audit Report
Once the crawl is complete, open the project report.
The Overview section gives you a summary of the issues found during the crawl. Select the relevant issue to view affected URLs and investigate the details.
Do not try to fix every reported issue immediately. First, understand what the issue means and which pages are affected.
How to Find Broken Pages Using Ahrefs
Now that your website has been crawled, you can start identifying broken pages.
Step 1: Open the Internal Pages Report
Open your website project in Site Audit and navigate to the Internal Pages report.
This report contains information about the internal URLs discovered during the crawl.
Look for pages that have returned 4xx or 5xx HTTP response codes. These are important because they may indicate missing pages, restricted access or server problems.
Step 2: Find the 404 Page Errors
Look for the 404 page issue in the audit report.
This issue identifies internal URLs that returned a 404 Not Found response when Ahrefs crawled them.
For example, your report might contain URLs such as:
-
/old-website-design-service -
/blog/website-development-tips-old -
/services/web-development-company
These are only example URLs. Your actual report will show the pages discovered on your website.
Click the reported issue to view the affected URLs. Review each URL and check whether the page was deleted, moved or accidentally made unavailable.
Step 3: Check the Number of Internal Links
Finding a 404 URL is only the first part of the process. You should also find out whether other pages on your website link to it.
In the report, review the No. of inlinks column when available.
This helps you understand how many internal links point to the broken URL.
For example:
| Broken URL | Internal links | What to investigate |
|---|---|---|
/old-service-page |
8 | Find and update the links |
/removed-blog |
3 | Check whether a replacement article exists |
/old-contact-page |
1 | Review the page linking to it |
Click the inlink number to see the pages that link to the broken URL. You can then visit those pages and update the links.
Ahrefs also explains this process in its guide to finding broken internal links. See the Ahrefs guide to broken internal links.
Step 4: Find Pages That Link to Broken URLs
You can also investigate the problem from the linking page's side.
In Site Audit, look for the Page has links to broken page issue. This report identifies pages containing links to URLs that return 4xx or 5xx responses.
For example, a blog post may contain a link to an old service page that no longer exists. Instead of checking every URL manually, you can use this report to identify the affected page and the broken destination.
Review the available columns to understand whether the broken link is internal or external.
This report is particularly useful when your website contains many blog posts and service pages.
How to Find 404 Errors on Your Website
A 404 error is one of the most common problems found during a technical SEO audit. It means the requested URL could not be found.
However, you should not assume that every 404 error is harmful.
For example, if you intentionally removed an outdated article that has no useful replacement, returning a 404 response may be the correct behaviour.
The important task is to identify whether the URL is still being linked to or whether it has value that should be preserved.
Use this process when reviewing 404 errors:
-
Open the 404 page issue in Ahrefs Site Audit.
-
Review the affected URLs.
-
Check the number of internal links pointing to each URL.
-
Open the linking pages and identify where the broken links appear.
-
Check whether the old page has a suitable replacement.
-
Review any available traffic or backlink information before deciding what to do.
For pages that have valuable external backlinks, you can investigate the URL further in Ahrefs Site Explorer. This helps you understand whether the page has external links that may be worth preserving through a relevant redirect.
How to Find Broken Internal Links
Internal links connect one page of your website to another. They help visitors navigate your content and help search engines discover related pages.
A broken internal link occurs when a page on your website links to another internal URL that is unavailable.
For example:
-
Your homepage links to an old service page.
-
A blog post links to an article that has been deleted.
-
A navigation menu contains an outdated URL.
-
A service page links to a page with an incorrect URL.
These problems can remain unnoticed because the pages containing the links may still open normally.
To identify them using Ahrefs:
-
Open your completed Site Audit report.
-
Find the Page has links to broken page issue.
-
Open the affected pages.
-
Review the broken internal destination URLs.
-
Identify the link location and anchor text.
-
Update or remove the broken link.
If the destination page still exists under a different URL, replace the old link with the correct URL.
If the content has been removed and no relevant replacement exists, remove the unnecessary link.
The goal is to make sure visitors can reach the pages that your internal links promise to open.
How to Fix Broken Links and Pages
Finding errors is useful only when you take the correct action. The right solution depends on why the URL is broken.
Here are the common situations and how to handle them.
1. Restore a Page That Was Deleted by Mistake
Sometimes a page becomes unavailable because of an accidental deletion or a website update.
If the page still has useful content and should remain part of your website, restore it at its original URL.
After restoring the page, check that it returns a successful HTTP 200 response and that its internal links work correctly.
2. Update Internal Links to the Correct URL
Suppose you changed a page URL but forgot to update links pointing to the old address.
In this situation, edit the pages containing the outdated links.
For example:
Old URL:
https://example.com/old-web-design
Correct URL:
https://example.com/web-design-services
Update the internal links so they point directly to the correct destination.
This is usually better than keeping internal links pointed at a URL that redirects elsewhere.
3. Add a 301 Redirect When a Relevant Replacement Exists
A 301 redirect tells browsers and search engines that a page has permanently moved to another URL.
Use it when:
-
A service page has moved to a new URL.
-
A blog article has been replaced by an updated version.
-
A website has changed its URL structure.
-
An old page has a genuinely relevant replacement.
For example, if you permanently move an article from /old-seo-guide to /seo-guide, you can redirect the old URL to the new article.
Do not redirect every deleted page to your homepage. If the replacement is unrelated, visitors may not find what they expected, and the redirect may be treated as a soft 404.
4. Keep a 404 or 410 Response When There Is No Replacement
Not every deleted page needs a redirect.
If a page has been permanently removed and there is no relevant replacement, it can return a 404 Not Found or 410 Gone response.
A 404 response means the requested page was not found. A 410 response indicates that the resource has been intentionally and permanently removed.
For these URLs, remove outdated internal links and update your sitemap if necessary.
You should also make sure your website displays a helpful 404 page that allows visitors to return to useful sections of the site.
5. Fix Server Errors Instead of Adding Redirects
If a page returns a 500 or another 5xx response, investigate the server before making URL changes.
Possible causes include:
-
Server configuration problems
-
Application errors
-
Database connection failures
-
Hosting problems
-
Temporary server overload
Check the website in a browser and review the server or application logs. If the issue continues, contact your hosting provider or developer.
A redirect is not the right solution for every server error.
How to Find Broken Redirects Using Ahrefs
Redirects are useful when pages move, but an incorrectly configured redirect can create another problem.
A broken redirect happens when a URL redirects to a destination that returns an error, such as a 404 or 500 response.
For example:
/old-service-page → /new-service-page → 404 Not Found
In this case, the original URL redirects, but the final destination is unavailable.
To investigate:
-
Open your Site Audit report.
-
Look for the Broken redirect issue.
-
Review the affected redirecting URLs.
-
Check the destination URL and its response code.
-
Open the destination page to confirm the problem.
-
Correct the destination or update the redirect.
Where possible, make sure internal links point directly to the final working URL rather than passing through unnecessary redirects.
Also avoid creating long redirect chains. If a page has moved more than once, update the redirect so that the old URL reaches the current destination directly.
Other Website SEO Issues You Can Identify During an Ahrefs Technical SEO Audit
Although this guide focuses on broken pages, a technical audit can help you investigate other website problems.
After reviewing broken URLs, check the following areas.
Missing or Duplicate Page Titles
Page titles help describe the content of individual URLs. If important pages have missing or duplicate titles, it may be difficult for users and search engines to understand how those pages differ.
Review the HTML tags report and check whether important pages have suitable, unique titles.
Missing Meta Descriptions
A missing meta description does not automatically prevent a page from ranking. However, writing a useful description can help explain what visitors will find on the page when it appears in search results.
Review important pages and add relevant descriptions where needed.
Orphan Pages
An orphan page is a page that has no incoming internal links from other crawled pages.
These pages may be difficult for visitors to discover through normal website navigation.
Check whether each orphan page is still important. If it is useful, add relevant internal links from suitable pages. If it is no longer needed, review whether it should remain published.
Redirect Issues
Check whether important pages redirect to the correct destinations. Pay attention to redirect chains, redirect loops and redirects that end at missing pages.
Internal Linking Problems
Review how important pages are connected. Service pages, category pages and useful blog posts should have relevant internal links that help visitors find related information.
Do not add links just to increase the number of internal links. Each link should make sense in the context of the page.
How to Prioritise the SEO Issues Found in Ahrefs
A technical audit may identify many issues, but not all of them need immediate attention.
For example, a broken link on a page that receives regular visitors may deserve attention before an outdated link on an old page that receives little traffic.
Use the following approach to prioritise your work.
| Priority | Issue | Suggested action |
|---|---|---|
| High | Important page returns 404 | Restore it or redirect to a relevant replacement |
| High | Important page returns 5xx | Investigate the server or application |
| High | Important internal links point to broken pages | Update the links |
| Medium | Redirect points to a missing destination | Correct the redirect |
| Medium | Old blog links point to deleted content | Replace or remove the links |
| Review | Deleted page has no traffic or relevant replacement | Keep the correct 404 or 410 response |
This is a practical prioritisation method, not an official Ahrefs issue-severity ranking. Always consider the importance of the affected page and the actual impact of the problem.
Common Mistakes to Avoid When Fixing Broken Pages
Finding broken pages is only one part of technical SEO. Incorrect fixes can create additional problems.
Avoid these common mistakes:
Redirecting Every 404 Page to the Homepage
This is not a suitable solution for every deleted URL. Redirect only when a relevant replacement exists.
Ignoring Internal Links
Redirecting an old URL may solve the immediate access problem, but your website may still contain links pointing to the outdated address.
Update the original internal links wherever possible.
Treating Every 404 Error as a Serious SEO Problem
Some 404 errors are expected. A page that has been intentionally removed and has no replacement does not always need to be restored or redirected.
Check the URL's purpose, links and value before taking action.
Fixing Server Errors With Redirects
A 500 error usually requires investigation into the server or application. Redirecting the URL without understanding the cause may hide the real problem.
Not Running Another Crawl
After fixing the reported issues, run another Site Audit crawl.
This helps you confirm whether the URLs now return the expected response codes and whether the affected internal links have been corrected.
How Often Should You Check Your Website for Broken Pages?
There is no single schedule that works for every website. The right frequency depends on how often you publish content, update URLs and make technical changes.
For example:
-
Small business websites: Run an audit periodically and after major website changes.
-
Websites with regular blog publishing: Check for broken links as part of the content maintenance process.
-
Large websites: Use scheduled crawls and review important technical issues regularly.
-
After a website redesign: Run an audit to identify missing pages, outdated links and incorrect redirects.
You should also consider running an audit after changing your website structure, migrating to a new hosting server or updating important URLs.
Conclusion
Broken pages, outdated internal links and incorrect redirects can make a website harder to use and maintain. Finding these problems early helps you keep important pages accessible and your website's internal linking structure in good condition.
Ahrefs Site Audit makes this process easier by crawling your website and reporting technical issues. Start by checking 404 pages, broken internal links and redirect problems. Then review each affected URL and choose the correct fix instead of applying the same solution to every error.
A regular technical SEO audit is a useful part of website maintenance. It helps you understand what is happening across your website and gives you a clear list of issues to investigate and improve.