Identify and fix broken links in WordPress
Broken links lead to a web page that either does not exist anymore or does not resolve properly. If you have a broken link on your site, instead of the intended content, your visitors will see a 404 Not Found error when they try to follow the link. To prevent this from happening, you can use an online third-party tool like Broken Link Checker to get the list of broken links on your site and then fix them manually one by one.
Identify broken links
- Visit Broken Link Checker in a browser.
- In the field on the right, enter your domain.
- Select Find broken links.
- When the next page opens, enter the security code and then select Report all occurrences of each dead link (may be slower).
- Select Find broken links now.
- Allow time for the tool to run. Once completed, you'll see the list of broken links on your site.
Fix broken links
- From the table with identified broken links, under Link Text, copy the text for the first item from the list.
- Under Page where found, select url for that item. It'll open the page with a broken link in a new browser tab.
- Search the web page for the copied text. That's the text associated with the broken link.
- After you have found the link on your site, sign in to WordPress. If you're already signed in, skip this step.
- In your WordPress dashboard, on the left-side menu, select Pages or Posts and then find the page or post with the broken link.
- Select the title of that page or post.
- On that page or post, find and select the broken link.
- Select Edit and replace the broken link.
- Select Submit (or select Enter on your keyboard).
- Select Update.
- Repeat steps 1-10 to remove all broken links from your site.
- Clear your site cache and run the Broken Link Checker tool again to make sure that all broken links are fixed. If your site runs on Managed WordPress hosting plan, here's how to clear cache from the WordPress dashboard.
- For support or inquiries regarding Broken Link Checker, here's how to contact their team directly.