Fix Broken Links in WordPress Without a Plugin

Broken links are quiet troublemakers. They sit inside your posts, menus and widgets, sending visitors and search engines to pages that no longer exist. A reader who clicks a link and lands on a 404 error page loses trust fast, and a search engine that keeps meeting dead ends slowly lowers its opinion of your site. The good news is that you do not need a plugin to find and fix them. With two free tools and a simple routine, you can keep every link on your WordPress site healthy.
In this guide you will learn how to find broken links using Google Search Console and a free crawler, how to fix internal links by editing them or setting up a redirect, how to deal with broken external links, and how to stop link rot before it starts when you change a post slug. The whole process takes less than an hour the first time, and much less once it becomes a habit.
What is a broken link and why does it hurt your site?
A broken link is any link that points to a page that no longer loads. Most of the time it returns a 404 error, which means the server cannot find the page at that address. Sometimes it returns a server error or a redirect loop instead. Broken links happen for ordinary reasons. You delete a post, you change a slug, a website you linked to shuts down, or you move your site to a new domain and some old addresses never get updated. None of this is unusual, and every site collects broken links over time.
The damage is real but easy to underestimate. For visitors, a dead link is a dead end. If someone is reading your buying guide and clicks a link to a product page that no longer exists, they leave. For search engines, broken internal links waste crawl budget and weaken the structure of your site. Internal links tell Google which pages matter and how your content connects, so when those signals point nowhere, your rankings suffer. That is why a solid internal linking strategy matters, and why keeping those links alive is part of the job.
How to find broken links with Google Search Console
Google Search Console is the best free starting point because it shows you exactly what Google itself found broken. Log in to Search Console, open your property, and go to Pages under Indexing. Look for the section labelled Not found (404). This list contains URLs on your site that Google tried to crawl but could not find. Click any URL to see the pages that link to it, which tells you where the broken link lives.
Search Console only reports links that Google has tried to crawl, so it is not a complete picture. It also updates slowly, which means a link you fixed yesterday may still show up for a few days. Treat it as your official record of what Google sees, not as your only tool. If you have not connected your site yet, follow our guide on how to add Google Search Console to WordPress first. It only takes a few minutes and it powers everything else in this guide.
How to find every broken link with a free crawler
To catch the links Search Console misses, run a free crawler over your site. A crawler visits every page and checks every link, internal and external, then gives you a report. Screaming Frog SEO Spider is the most popular option and its free version crawls up to 500 URLs, which covers most small and medium sites. Download it, enter your homepage URL, press Start, and wait for the crawl to finish. Then open the Response Codes tab and filter for Client Error (4xx). Every URL in that list is broken.
Click a broken URL in the results and open the Inlinks tab at the bottom. This shows every page on your site that links to the dead address, so you know exactly which posts to edit. Another free option is the online Broken Link Checker from Ahrefs, which crawls your site from the browser and reports broken links without installing anything. Whichever tool you choose, export the report to a spreadsheet before you start fixing things. Working from a list keeps you from missing links and lets you check them off as you go.
How to fix broken internal links
Internal links are the easiest to fix because you control both ends. For each broken internal link, decide which of two fixes fits best. If the target page still exists under a new address, edit the link so it points to the correct URL. Open the post that contains the link, click the link, and change the address to the new one. This is the cleanest fix because the visitor reaches the right page with no extra step.
If the target page is gone for good but a similar page exists, point the link at that similar page. For example, if you deleted an old hosting review, link to your current web hosting guide instead. Only remove the link entirely when no replacement page makes sense, and keep the surrounding sentence readable after you remove it. Never leave a link pointing at a 404 page just because editing feels like work. A dead link is worse than no link at all.
How to set up a 301 redirect without a plugin
Sometimes editing every link is not practical, especially when other websites link to your old address or the broken URL appears in dozens of places. In that case a 301 redirect is the right tool. A 301 redirect tells browsers and search engines that a page has moved permanently to a new address, and it passes most of the old page’s ranking power to the new one. You can set one up without a plugin in two ways.
The first way is through your hosting control panel. Most hosts offer a Redirects tool inside cPanel. Open it, choose the old URL, enter the new URL, select Permanent (301), and save. The second way is to edit the .htaccess file in your site’s root folder through your host’s file manager or FTP. Add a line like Redirect 301 /old-page/ https://yoursite.com/new-page/ at the top of the file, above the WordPress rules. Before you touch .htaccess, download a backup copy of it. One wrong character in that file can take your whole site down, so if you are not comfortable editing it, use the cPanel Redirects tool instead. If your site ever shows a blank page after an edit, our guide on how to fix the WordPress white screen of death walks you through recovery.
How to fix broken external links
External links break when the other website changes or deletes a page. You cannot fix the other site, so your options are to replace the link or remove it. First, check whether the content moved. Search for the page title on the other site or on Google. If you find the new address, update your link to point there. If the page is gone completely, look for a similar page on another trustworthy site and link to that instead.
When no good replacement exists, remove the link but keep the sentence useful. You can turn the linked text into plain text, or rewrite the sentence so it no longer needs the link. Do not link to an archived copy of the dead page unless the archive is genuinely the best source for your readers. Also check your comments section, because commenters often leave links that die over time. You can leave old comment links alone in most cases, but if a comment is clearly spam with a dead link, delete it.
How to prevent link rot when you change a slug
Most broken links are created by the site owner, usually by changing a post slug without thinking about the links that point to it. A slug is the last part of a URL, and every internal link, bookmark and search result that uses the old slug breaks the moment you change it. The rule is simple: never change a slug on a published post unless you have a good reason, and when you do, set up a 301 redirect from the old slug to the new one on the same day.
The same thinking applies before you delete a post. Ask yourself whether the post still gets traffic or has links pointing to it. If it does, update it instead of deleting it, or redirect it to a related post. If it truly has no value, delete it and redirect its URL to the closest matching page. Keeping your permalink structure stable from the start also helps. Read our WordPress permalink structure guide before you change anything, because a careless permalink change can break every URL on your site at once.
A simple monthly broken link routine
Fixing broken links once is good. Checking them every month is better, because new ones appear constantly. Here is a routine that takes about thirty minutes once you have done it twice.
- Open Google Search Console and check the Not found (404) list for new entries.
- Run Screaming Frog or the Ahrefs broken link checker and export the 4xx report.
- Fix internal links by editing them, and set up 301 redirects for URLs that other sites link to.
- Replace or remove broken external links, starting with your highest traffic posts.
- After fixing, use the Validate Fix button in Search Console so Google rechecks the URLs.
While you are in maintenance mode, it is worth cleaning up the rest of the site too. A quick WordPress database cleanup without a plugin removes old revisions and spam comments that slow your site down, and keeping your database lean makes every crawl faster. Pair the two jobs on the same day each month and your site stays fast, clean and free of dead ends.
Frequently asked questions
Can I really fix broken links in WordPress without a plugin?
Yes. Google Search Console and a free crawler like Screaming Frog find the broken links, you edit the links inside the post editor, and you set up 301 redirects through cPanel or .htaccess. A plugin only automates those same steps, so doing them by hand gives you full control and keeps your site lighter.
How often should I check for broken links?
Once a month is enough for most sites. If you publish several posts a week or run an online store, check every two weeks. Run a full crawl after any big change, such as a redesign, a domain move or a bulk slug edit, because those events create broken links in large numbers.
Do broken links hurt my Google rankings?
A few broken links will not destroy your rankings, but a site full of them sends a clear signal that it is not maintained. Broken internal links waste crawl budget and weaken the pages they point to, while broken external links hurt the reader experience. Fix them regularly and your site earns more trust from both visitors and search engines.
Should I redirect a deleted page or let it return a 404?
Redirect it when a similar page exists or when other sites link to the deleted URL, because the redirect preserves traffic and ranking power. Let it return a 404 when the content is truly gone and no replacement makes sense. A clean 404 page with a search box and links to your popular posts, like the one in our guide on how to create a custom 404 page in WordPress, turns a dead end into a second chance.
Last updated: November 2026.



