How to check your website for broken links
This article describes two methods for checking a website for broken links:
- Google Search Console enables you to review any broken links and errors that Google's crawlers discover. This information is automatically updated every time Google crawls your site.
- W3C Link Checker scans your site for broken links on demand. This method also provides the specific line in the HTML source file that contains the broken link.
Method #1: Google Search Console
To continuously monitor your site for broken links using Google Search Console, follow these steps:
- Log in to your Google Search Console account.
If you do not yet have a Google Search Console account, sign up for one
here.
- Click the site you want to monitor. The Search Console page appears.
- Click Crawl, and then click Fetch as Google. Here you can request Google to crawl specific pages on your website.
This process is not immediate. It can take up to one week for Google to crawl your site.
- After Google crawls the site, to access the results click Crawl, and then click Crawl Errors. The Crawl Errors page appears.
- Under URL Errors, you can see any broken links that Google discovered during the crawl process.
Method #2: W3C Link Checker
To scan your site for broken links using W3C Link Checker, follow these steps:
- Use your web browser to visit the W3C Link Checker.
- In the Enter the address (URL) of a document that you would like to check text box, type the URL of the site you want to scan.
- To see only the relevant output, select the Summary Only check box.
- To check links on subsequent pages, select the Check linked documents recursively check box. In the recursion depth text box, type how many levels you want to check.
- Click Check. The results appear as each page is scanned.