What are Broken Links?
A broken link is a web-page that can’t be found or accessed by a user, for various reasons. Web servers will often return an error message when a user tries to access a broken link. Broken links are also often known as “dead links” or “link rots.”
Examples of a Broken Link Error Code
Here are some examples of error codes that a web server may present for a broken link:
404 Page Not Found: the page/resource doesn’t exist on the server
400 Bad Request: the host server cannot understand the URL on your page
Bad host: Invalid host name: the server with that name doesn’t exist or is unreachable
Bad URL: Malformed URL (e.g. a missing bracket, extra slashes, wrong protocol, etc.)
Bad Code: Invalid HTTP response code: the server response violates HTTP spec
Empty: the host server returns “empty” responses with no content and no response code
Timeout: Timeout: HTTP requests constantly timed out during the link check
Reasons for Broken Links
There are various reasons that broken links can occur, for example:
- The website owner entered the incorrect URL (misspelled, mistyped, etc.).
- The URL structure of your site recently changed (permalinks) without a redirect and it’s causing a 404 error.
- The external site is no longer available, is offline, or has been permanently moved.
- Links to content (PDF, Google Doc, video, etc.) that has been moved or deleted.
- Firewall or geolocation restriction does not allow outside access.
Why are Broken Links Important for SEO?
Broken links will affect your Google Search results, however, they won’t impact your overall SEO. We even did a check on Apple’s site and scanned 2000 URLs with 9 failed responses. That doesn’t mean that Apple will start losing their ranks, however, having too many broken links on a single page might indicate that a site is either neglected or abandoned. Google’s Search Quality Rating Guidelines also use broken links to determine the quality of a site, but as long as you’re constantly checking for broken links or fixing broken links when Google notifies you of a new issue detected on your site (like in the example below), you should be able to maintain a high quality site:
Don’t ignore the impact of a dead link: user experience is an important factor that affects SEO. When search engines algorithms change, it’s because their primary goal is to provide a better search and experience for users. Search engines will understand that there will be some broken links, but when an actual user goes to your site, they might not be as forgiving. This will inevitably reduce your reputation.
Regardless of whether you have one or many broken links, each visitor on your page will determine their decision based on usability, experience, load time and content. If broken links exist on your site and the visitor cannot access the information, they will move on to a different site that can provide them the information they need. The less time they spend on your site, the higher the bounce rate.
How to Find Broken Links on Your Website
The simplest and fastest way to see if you have any broken links is by doing your SEOptimer report and see if there are any broken links on that page:
If you have hundreds of pages or posts on your site, you can use a tool like SEOptimer’s DIY SEO to crawl all of your pages to identify broken links – or download a plugin for your CMS platform that can check these.
Via Google Search Console
Google Search Console can also help identify any issues with your site once their bots have crawled your site. If a page of your website is broken, they will notify you. Note that they only show URLs on your website and not external links.
You can find these errors in your Google Search Console > Crawl > Crawl Errors:
Keep in mind that Crawl errors are prioritized; if the URLs are not important then you can rest assured the errors won’t affect your search results.
Below is a list of actual existing pages that have not been found. This report shows how important it is that there is a fix for broken links;, without one, these pages will be affected in their current search results.
Here’s an example in which the URLs are not your typical page URLs, so you can disregard the crawl error issues detected by Google bots:
How to Fix Broken Links
Depending on how much content you produce each week, you’ll need to dedicate time each month to check for any broken links. Whether it be once a month, once every quarter, or another time frame you choose, you’ll want to follow these best practices:
- Check Google Crawl Errors:
- 404 errors search console makes this easy by prioritizing crawl errors for you. If the top errors in the report are all irrelevant, you can rest assured that there’s nothing pressing further down on the list of 404 crawl errors.
- Avoid deep links in website unless (or until) required. A deep link is one that links to an actual page instead of a homepage; other synonyms for a deep link include internal linking or anchor text. Whether it is internal or external, if you believe the site is a reliable source of information, you definitely want to use deep links. If, for example, you run an ecommerce shop and you are linking to your own product pages that might go away when you no longer have inventory, you’ll need to schedule a monthly checkup to make sure none of your links are broken.
- If the link is an external link, reach out to the linking website and request a fix: If the linking website made a mistake when linking to you, it’s worth reaching out and letting them know about the issue. They may fix it, or you might also have a link opportunity with them. If the URL source or website no longer exists, you can try replacing it with a different source or removing it completely.
- Use of redirection mechanisms, which will redirect users to a new location of information in case of broken links. To redirect (301) the broken page to the new location, visit:
- <meta http-equiv=”refresh” content=”0; URL=’http://new-website.com'” />
- Here’s a few more tips on how to redirect depending on your site’s programming language
- Recreate and replace the content at the broken URL. Find out what the broken page used to be and replace or recreate it.
- Redirect (301) the broken page to another relevant page on your website. Find a similar piece of content on your site and redirect the broken page to that page. For example, if you have a broken page entitled “how to do broken link building,” it would make perfect sense to redirect this to a working page entitled “the complete guide to broken link building.”
- Leave as a 404: This is a totally viable option; you just need to make sure that you show a “hard” 404, not a “soft” 404. Need information on how to create a 404 page?
How to Redirect Broken Links in WordPress
WordPress does not offer an out-of-the-box redirect solution, but there are two options to fix your broken links and redirect them to a new page.
Having too many plugins on your WordPress site can impact your site performance. If you have thousands of pages on your site, you might want to install Simple 301 Redirect for WordPress to avoid issues.
Once you’ve identified a broken internal link, you can replace that URL and redirect it to a different page:
Another way to set up 301 redirect is to use the web server configuration file .htaccess. It’s a much faster and easier way to create a 301 redirect that does not impact your site’s performance.
However, any small mistake can cause an Internal Server Error for your site. Therefore, before you edit your .htaccess file and make any changes, back up your file.
To access your .htaccess file, you’ll need to connect to your web server via FTP. Most hosting providers should be able to show you how to obtain an FTP client.
Your .htaccess file will be in the root folder of your WordPress site. This is the same folder that includes files like wp-config.php
To open your .htaccess file, you’ll need to use Notepad or TextEdit.
Enter the following information (remember to replace the URLs with yours):
Redirect 301 /your-old-post-product/ http://yoursite.com/new-link-to-replace/
Redirect 301 /another-old-post-product/ http://yoursite.com/anothernew-link-to-replace/
How to Redirect Broken Links in Wix
There are no plugins in Wix with the ability to identify broken links; additionally, Wix does not support .htaccess. However, they do provide an inhouse solution where you can enter your old page URL and redirect to the new page URL.
- Click here to go to your site’s dashboard
- Click Manage Website on the left
Click on SEO then click Get Started in the Manage 301 Redirect section of the page:
Enter your old URL and redirect it to the new page, then click Save:
How to Redirect Broken Links in Shopify
Shopify offers an inhouse redirect solution from any broken URL to a new relevant page that is still live.
To get to the redirect page, click Online Store and go to the Navigation section:
Click on URL Redirects located right under the word Navigation:
Click Create URL redirect:
Enter your old URL in the Redirect from box and add your new URL to the Redirect to box: