How To Fix Broken Links On Your Website
Ranked #7,527 in Education, #165,380 overall
404 Page Not Found?
Finding Broken Links On Your Site
Step One: Use Xenu's Link Sleuth
The first step is to download and use Xenu's Link Sleuth. This is a cool freeware program for Windows that can check your entire site in seconds. You'll see a large list of every URL in your site it can find, and URLs that got an "Page Not Found" error will be marked red. (Keep the window open, and read on!)
Alternatively, you can use the official w3c linkchecker online. Xenu's Link Sleuth is a lot faster and leaner though.
Hint: You can also use this tool on someone else's site. People love you for helping them with their site!
Step Two: Check Google webmaster tools
Sign up for Google webmaster tools! It's cool and it's free. And if you haven't done so already, sign up now. This tool basically allows you to see all problems Google has found on your site.
If you go to "Crawl Errors" you'll see an overview of missing pages Google found. These will also include pages not linked to on your site anymore, but which still show up in Googles results. Note the missing pages and head on to the fixing section!
Fixing Your Site
Step Three: Remove links to pages that you deleted on purpose

You really didn't need that page anymore? Make sure you delete all links to it. If the page has moved, update all references to the new location.
Step Four: Mark pages as moved (warning: technical knowledge required!)

Are your visitors trying to reach pages that you moved to another spot, or to another site? Then mark them as moved. On most sites you can do this by modifying a htaccess file on your webserver.
The reason I added this step is because other sites might still have a link pointing to the original location of pages you moved. All links on your own site should already point to the new location.
Prevent Broken Links In The Future!
Step Five: WebCite interesting pages
If you are referencing interesting articles on your site, it's a shame to find out they don't exist anymore. To make sure your visitors can still take a look at your resources after they've gone, add a WebCite. WebCitation.org allows you to make a free copy of content you'd like save, and you can add a link to the copy on your site next to the original.
Here's an example of how you might use it:
References used for this article
1. Example Webpage. http://www.example.org. Accessed: 2010-04-11. [Archived by WebCite]
Note: Their service is down now and then, but all your archived pages are stored safely.
Last step: Mark your calendar!
Don't forget to bookmark this page and repeat these steps every few months. That way you'll have happy visitors, and happy visitors mean a happy webmaster! Commenters Get $5!
Okay... maybe not. But please comment anyway. :)
-
Reply
-
Rankography
Sep 27, 2011 @ 6:02 pm | delete
- Very helpful. Thanks for the info.
-
-
Reply
-
nelabai
Apr 23, 2010 @ 3:27 am | delete
- Thanks for the info, had these problems in the past...
-
-
Reply
-
Mythological
Apr 15, 2010 @ 6:22 am | delete
- I usually just close the page if I get a 404 error. This is useful help. Thanks for the lens and thanks for your comment earlier!
-
-
Reply
-
Stazjia
Apr 10, 2010 @ 3:36 pm | delete
- Very useful information. It's very embarrassing to find broken links on your own pages and irritating on other people's.
-
-
Reply
-
Geeve Apr 10, 2010 @ 9:54 am | delete
- 5* for the Guestbook alone Daan, I will add it to my collection of Great Guestbook Titles. :)
Well produced and useful lens.
-
by DaanBakker
I'm a Computer Science student from the Netherlands who hates broken links. :)
- 5 featured lenses
- Winner of 4 trophies!
- Top lens » The Best Programming Games
Explore related pages
- How to Submit your URL to Search Engines, Google How to Submit your URL to Search Engines, Google
- Auto Backlink Generator Auto Backlink Generator
- A 301 Redirect Guide for the Clueless! A 301 Redirect Guide for the Clueless!
- Building Blog Backlinks for Beginners Building Blog Backlinks for Beginners
- What are SEO Backlinks What are SEO Backlinks
- Web 2.0 Link Building Strategy Web 2.0 Link Building Strategy