404 Error Pages: What Are They And How Do You Create One?

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.

In The News:

This RSS feed URL is deprecated, please update. New URLs can be found in the footers at https://news.google.com/news

The Morning Sun

Can a holographic screen help a new phone break out?
The Morning Sun
Red's goals are modest — about 16 million units a year, based on Red's stated target of 0.5 percent of Samsung's sales. But Red will need customers beyond the tech elite and camera buffs; it'll need their friends and friends of their friends. It doesn ...

and more »

New York Times

What's Hot (and What's Not) This Black Friday
New York Times
This year, tech companies really want you to stuff your family's stockings with a smart home product, like a smart speaker, a Wi-Fi-connected light bulb or an internet security camera. The companies plan to aggressively slash prices for smart home ...


CBS News

The law that lets Europeans take back their data from big tech companies
CBS News
This has not been a great year for big tech; on Wall Street or in Washington. For decades, companies like Google, Facebook, and Amazon have made vast sums monetizing the personal information of their users with almost no oversight or regulation.


Fortune

Facebook Is the Least Trusted Major Tech Company When it Comes to Safeguarding Personal Data, Poll Finds
Fortune
Facebook is the least trustworthy of all major tech companies when it comes to safeguarding user data, according to a new national poll conducted for Fortune, highlighting the major challenges the company faces following a series of recent privacy ...


The Oakland Press

Purging long-forgotten online accounts: Worth the trouble?
The Oakland Press
Yahoo, for instance, didn't allow users to delete accounts or change personally identifying information they shared, such as their birthday, until pressured to do so after the breach. Even without these hurdles, real life gets in the way. There are ...


Forbes

Holiday Gift Guide 2018: The 13 Best Travel Gadgets For Tech Lovers
Forbes
For the tech-savvy jetsetter in your life, gadgets that hit both marks will be instant winners, because while there's no doubt that technology has made traveling easier, it can also make globetrotting much more fun. From the latest in photo- and video ...


New York Times

Social Media's Re-engineering Effect, From Myanmar to Germany
New York Times
How do New York Times journalists use technology in their jobs and in their personal lives? Max Fisher, a reporter based in London who co-writes The Interpreter column and newsletter, discussed the tech he's using. You travel all around the world for ...

and more »

CNN

Setback for Walmart: Flipkart CEO resigns after misconduct investigation
CNN
The head of Flipkart, the Indian online retailer Walmart bought in May, stepped down on Tuesday following an independent investigation into allegations of "serious personal misconduct." Binny Bansal, co-founder and CEO of Flipkart, resigned after the ...
Flipkart CEO Binny Bansal resigns over allegations of 'serious personal misconduct'TechCrunch

all 676 news articles »

New York Times

How to Find the Video Games of Your Youth - The New York Times
New York Times
Video games hit their 60th birthday in October, if you start counting (as many do) with Tennis for Two, a rudimentary Pong ancestor cobbled together by the ...

and more »

The Oakland Press

Silicon Valley congressman introduces Internet Bill of Rights
The Oakland Press
Ro Khanna, D-Calif., aims to see the House of Representatives pass landmark legislation shielding consumers from the onslaught of data breaches and the anxiety and confusion over the misuse of their personal information on the web. To nudge such ...

Google News

Apache, MySQL & PHP for Windows

Apache, MysQL and PHP for Windows could be a nice... Read More

Buying a Personal Computer (PC)

For many people the computer industry is a seeming unsolvable... Read More

Build Your Own Computer

I'm eighty-one years old and I bought my first computer... Read More

15 Good Programming Habits

1. Before sitting down for coding, you must have formal... Read More

5 Steps to Removing PC Clutter

It's hard enough as it is these days to get... Read More

EDTV: What You Should Know Before You Make That Purchase

Enhanced Definition Television ? also known as EDTV ? is... Read More

Bios Term

BIOS - Basic Input Output SystemThe central processing unit of... Read More

What?s the Difference Between Plasma TVs and LCD TVs?

Plasma and LCD TVs are the latest trend in home... Read More

Passwords and the Human Factor

Passwords have a strange dual nature. The stronger and safer... Read More

10 Tips to Stay Safe and Secure Online

The Internet can be a dangerous place.While you're enjoying the... Read More

DVD The Ultimate Consumer Digital Media

Digital Video Disc or as it is sometimes referred to... Read More

JVCs First Three-Layer Combo-Disc Blu-Ray / DVD

JVC developed and used a high-performance reflective film to produce... Read More

Digital Cameras: Hot Gear with the Coolest Features!

Cameras: still known for taking pictures but assumed as digital... Read More

Password Nightmares

Good Morning Mr. Sampson. Please type in you Personal Identification... Read More

Put Order and Information into File Names

Unless you place your faith in internal search engine software... Read More

Microsoft Great Plains Dexterity Customizations

Microsoft Business Solutions is on the way to popularize it's... Read More

Linux Power Tools - Great Tools to Make System Administration Easy

World War II - Germany decided to attack Poland. Poland... Read More

Nephrology and Dialysis For a PDA

Saving Lives With A Pocket PCFree medical downloads can be... Read More

Desktop Security Software Risks - Part 2

This is the third in a series of articles highlighting... Read More

New Computer? Steps to Protect Your Computer Before Connecting to the Internet

Getting a new computer should be an exciting and gratifying... Read More

Reliable File and Folder Sharing in Windows Xp

This tip is on sharing files and folders on a... Read More

Font Organizers Review, Part I

Do you know how many fonts are currently installed on... Read More

The Advantages of Portable MP3 Players

With their solid-state technology, compact size, and abundant memory, portable... Read More

Taking Advantage of the iPod Experience

Music lovers have been carrying around radios and other bulky... Read More

Does Microsoft Show Hackers How To Attack?

After another security hole recently surfaced in Microsoft's Windows operating... Read More