Saturday, November 15, 2008

Dead Link

Dead links should always be avoided. In the first place they make your website look sloppy to your visitors and search engines also don’t like them for determining your content and PR. A dead link is basically a hyperlink pointing to a non-existent URL. There are several tools on the internet that can automatically detect your websites dead link. Also, your logs can tell you what pages were not found, so you can determine which pages link to them.
A simple way to solve the problem is to create custom 404 pages that tell users the page could not be found, but does provide links to other pages on your website. This way users will not immediately hit the back button and they’ll stay on your site.
You could do this by directing all non existing pages to your some page using code in a htaccess file:

No comments: