If a link is broken, the entire chain breaks. – Yiddish Proverb
Once a website is built, contents are added and launched, you will feel like celebrating. All the hard work and long hours put into making the website as beautiful and resourceful for your visitors as much as possible should be recognized. But what happens if some of your links are broken? Wouldn’t your website be perceived as unsuccessful instead?
Broken links for websites gives visitors a damaging perspective towards your business. For example:
For these reasons, you need to fix your broken links immediately. But how do broken links appear on your website in the first place?
If you’ve recently launched your website, the main cause is more likely migrating from the development / staging environments to live server. The broken links are still linking to the development website. For internal links, it is better to not hard code the domain name, but use relative paths to the pages. As an example,
Use
/exhibitions/
instead of
https://sandiegohistory.org/exhibitions/
This way no matter how many times you may change your domain name, those pages will still work.
If you’ve had your website up for a while, the cause of those broken links could be from:
After learning that your broken links must be fixed, how can you efficiently find them? You shouldn’t have to visit every page of your website and check manually … especially if you have a lot of pages. That’s going to be tedious and annoying. There are three ways to find and fix broken links:
No matter which way you decide to find those broken links, you’ll have to manually edit those links to the correct domain name or change to relative paths for internal links. Once you think every broken link is fixed, re-run the broken link checker again to see if you’ve missed something. You can never be too careful. Why?
The weakest link in the chain is also the strongest. It can break the chain. – Stanislaw Jerzy Lec