Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/a26f9f83/public_html/articles/includes/config.php on line 159
404 Error Pages: What Are They And How Do You Create One? > NetSparsh - Viral Content you Love & Share

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

Newser

Best Buy Defied Doomsayers. Now, a New Strategy
Newser
Think "personal chief technology officers," as the company calls them. Best Buy is training a specialized staff to make free house calls to talk with homeowners about what they might do. Yes, the company already has the Geek Squad, but those workers ...


New York Times

When a Tech Reporter Doesn't Use Much Tech
New York Times
How do New York Times journalists use technology in their jobs and in their personal lives? David Streitfeld, a technology reporter in San Francisco, discussed the tech he's using — and not using. For a tech journalist, you don't use a lot of tech ...


New York Times

The Benefits (and Limits) of Using Tech to Plan a Wedding
New York Times
Because of the deeply personal nature of a wedding, you can't just plan everything with a few taps on a smartphone or by sitting in front of a computer. Eventually you will have to talk to lots of people the old school way: on the phone or in person.


88.9 KETR

Businesses Need To 'Mind The Gap' Between Office Tech And Personal Tech
88.9 KETR
Our personal technology commentator, Jeremy Gamez, comments on a recent article emphasizing that businesses wanting to attract the brightest young employees need to be sure that their office technology is as good as Millennials' personal technology.


MediaPost Communications

Voice Tech In Personal Life Tops Business Use: Study
MediaPost Communications
While nearly half (45%) of business managers use voice technology in their personal life daily, fewer than a third (31%) use it daily in their work, according to a survey of 700 U.S. senior-level decision makers in marketing, technology or operations ...

and more »

New York Times

How to Yank Passwords Out of Firefox Quantum
New York Times
NirSoft's PasswordFox for Windows and Kyle Spearrin's cross-platform FF Password Exporter are two apps mentioned in Firefox support forums, but make sure you are comfortable using these types of tools to pull out personal information from your browser.


New York Times

Add Pictures to Android Contacts
New York Times
Q. How do I add an Android contact photo for someone who doesn't already have one so I can see something besides initials in a circle? A. Start by opening the Contacts app on your Android device and selecting the contact you'd like to dress up with a ...


New York Times

For Android Users, Europe's Google Ruling Leaves Unanswered Questions
New York Times
American government officials have expressed interest in taking a tougher stance on regulating tech companies, but Europe has largely acted by itself in its regulatory actions against Silicon Valley titans. So other than Google's having to pay a big ...
Google quietly working on a replacement for Android, called Fuchsia, that's causing some fierce internal squabblingFinancial Post
Android has created more choice, not less - Google BlogGoogle Blog
Antitrust: Commission fines Google €4.34 billion for illegal practices regarding Android mobile devices to ...EU News
Bloomberg
all 556 news articles »

New York Times

How the 52 Places Traveler Stays Charged While Chronicling the World
New York Times
How do New York Times journalists use technology in their jobs and in their personal lives? Jada Yuan, who is crisscrossing the globe as The Times's 52 Places Traveler, discussed the tech she's using. You are endlessly traveling, and you must have to ...


New York Times

How to Go Back to the Old Gmail
New York Times
Q. I tried to get used to the new Gmail web design, but I just don't like it. Can I go back to the old one? A. For the time being, Google is keeping around the previous version of Gmail on the web, and you can revert to the old look from the inbox ...

Google News

Mail-merging: The Principles

About mail-mergingMail-merging is the process of merging variable data and... Read More

Cisco CCNA Certification: Five Things To Do DURING The Exam

There are plenty of articles out there about how to... Read More

Image Conversion In Computers

JPEG, GIFF/JIFF, BMP, and TIFF are the most commonly used... Read More

Emulation Manual - A Complete Guide on How to Change Your Windows XP to Mac OS X

IntroductionMac OS X is the most technologically advanced operating system... Read More

System File Checker - A Maintenance Utility

System File Checker is a great utility that is typically... Read More

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

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

Dont Let the Internet Overstimulate Your Mind

The Internet is an awesome tool, but be careful and... Read More

Gain Control Over Your Screensavers With These Simple Steps

We all enjoy our favorite screensavers but in the same... Read More

PDA Bible Free Download

Your Bible At Your FingertipsIt is fairly easy to find... Read More

This Page Cannot Be Displayed ? What to Do When Your Internet Breaks

The DNS (Domain Name System) servers are what your computer... Read More

Have You Invited A Spy Into Your Computer?

Yes, it's true. You may have inadvertently invited a spy... Read More

Why There Are Color Differences in Printing from Your PC

This article describes the basic properties of color, what the... Read More

How Does a Palm Pilot Work?

Just The Facts, Ma'mPalm pilots are all the rage now.... Read More

Use Your Computer For Your Entertainment Needs

By using your computer today you can find a lot... Read More

15 Good Programming Habits

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

Spyware Remover

Your first step in removing dangerous infections from your computer... Read More

Are You Putting Off Productivity?

I recently took a good look at what was keeping... Read More

Internet Explorer Shortcuts for Mouse-o-phobes

If you're like me, you occasionally find the ubiquitous mouse... Read More

HTML Explained: Part 2

Get started creating web pages using text files and HTML... Read More

The Many Benefits of Owning a DVR

Has This Ever Happened To You? OK.. it's Friday night,... Read More

The Benefits of the New Firefox Browser

You probably heard of the new Firefox browser version 1.0... Read More

How I Started Working With 3D Modeling Programs

So I'll start from the very beginning.One day I was... Read More

Toshiba Wins Hollywood Support for the HD DVD format

What led them to this choice, as all four studios... Read More

Desktop Security Software Risks - Part 2

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

Cisco Certification: Building Your Own Home Lab, Part I

CCNAs and CCNA candidates hear it all the time: â??Get... Read More