We've all seen them, you've been browsing a website and you click a link and nothing loads apart from the words '404 Error' along with the usual stuff.
So what is a 404 Error page? The 404 Error page, basically informs the user that the server cannot find the file they are looking for. However, instead of using the default 404 Error page you can create your own, this is how you do it.
First, you need your .htaccess file which should be within your web site directory. If you cannot find it you will need to create one. You will have to contact your host asking them how you would go about creating or editing this file. They may want you to use a text editor and then upload it, or they may want you to use a PICO editor and create or edit the file on the server.
How you have access to the .htaccess file lets edit it. Add this line to the .htaccess file:
ErrorDocument 404 http://www.yourdomain.com/404page.html
Make sure this line is kept on online. This is where your 404 Error page is kept.
Now you've change the .htaccess file you need to create the page. This is simply a normal HTML document. Once you've created the HTML document, save it and call it 404page.html. Now the next step is to upload the .htaccess file and the page to the server.
Now that is done your next step is to turn it on. This is done by setting the CHMOD attribute to 644. You can do this via telnet or some FTP programs. If your going to telnet into your server, use the following command:
chmod 644 .htaccess
Now test to see if it's worked. Just go to a page that doesn't exist on your server and you should see your new 404 Error page. If not, then make sure the CHMOD is set correctly, and if that doesn't help, you may want to ask your hosting company for support.
About The Author
I currently own and run a small E-commerce template website located at http://www.sjh-designs.co.uk. You can find several more guides located at http://www.sjh-designs.co.uk/guides.htm.
cc-pages.com
cc-pages.com
How to Write Results-Oriented Web Pages, Sales Letters, Ads, and Flyers
First, the bad news: There are dozens of ways you can go wrong in writing and designing (what you hope will be) an effective sales letter, How to Write Results-Oriented Web Pages, Sales Letters, Ads, and Flyers web sales page, promotional flyer or ad. Now the good news: The learning curve for getting it right is relatively short. Here are some key guidelines and pointers for getting noticed, generating interest, and persuading people to respond to your offer. Create Visual Appeal In a matter of seconds, your prospects will make a snap decision on whether or not they want to read your marketing message. If they have to strain or struggle in any way, they're going to skip it. Avoid a cluttered, hard-to-read appearance by making generous use o...
Knowledge Management - Creating a Sustainable Yellow Pages System
How can I "know who knows" None of us can personally know more than around 250 people, yet we want our companies to be smart, learning organisations where it's easy to find the right person to talk to. This is why many organisations create "yellow pages" applications, which enable employees to find and contact other staff with particular expertise and skills.
Email Addresses in Web Pages
You want to give your site's visitors a way to contact you by email but don't want your emali address to be abused. Here are a few ways to protect your email address when building your website.
How Adding RSS Content To Your Pages Boosts Adsense Earnings
I love RSS. It makes my webpages dynamic with ever-changing content. And that content is bang up to date. Once I create a page using RSS, I can set it and forget it, knowing that the search engines will pick up on the changes and see the page as one worthy of a frequent revisit from the search engine spiders.
Media, the Internet, Yellow Pages, and Your Business
If you are reading this article, chances are you could use a little extra money. With the advent of the internet and the migration of advertising dollars from print to electronic (and this time, it's the real thing, I swear! Not one of those 1999 tech busts!.