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

New York Times

Windows on How Cities Change Can Be All Too Captivating - The ...
New York Times
Technology is crowding curbs with ride hailers and keeping homeowners fixated on housing values. Here are the tools that Emily Badger, a writer for The ...

and more »

New York Times

Apple Watch Series 4 Review: Faster, Bigger, With a Promise to Be Healthier
New York Times
A few days ago, I sat in a medical recliner at the University of California, San Francisco. A cardiologist placed 10 stickerlike electrodes onto my limbs and chest and then connected the wires to a dated-looking contraption with a screen and a keyboard ...
Review: Apple Watch Series 4TechCrunch
Apple Watch Series 4 review: the best gets betterThe Verge
Apple Watch heart monitoring and fall detection: Are they lifesavers?USA TODAY
IMDb
all 380 news articles »

Chinese personal finance tech company X Financial prices IPO at $9.50 a share
MarketWatch
X Financial XYF, -20.20% priced its initial public offering at $9.50 per American Depositary Share on Wednesday, selling 11 million shares to raise $104.5 million, The Chinese tech-driven personal finance company is listing on the New York Stock Exchange.

and more »

New York Times

The iPhone XS and XS Max Review: Bigger Is Now Definitely Better
New York Times
For the past few years, I have been a naysayer on one feature of smartphones: their growing size. My position was unusual given the increasing prevalence of larger screen devices. The world's top phone makers have all added more substantial glass ...

and more »

CyberScoop

Wyden: Tech company has told multiple senators of foreign hacking attempts
CyberScoop
A major tech company has informed “a number of senators and Senate staff members” that foreign government hackers have targeted their personal email accounts, according to Sen. Ron Wyden. In a Sept. 19 letter to Senate leadership, Wyden, D-Ore., did ...


WFXL FOX 31

Albany Tech faculty and staff participate in personal development training
WFXL FOX 31
The Professional Development Institute, done twice a year, is a chance for the Albany Tech leadership team to get together and learn new techniques. According to Dean of Academic Affairs Lisa Harrell, faculty and staff are learning new classroom ...


New York Times

When Cryptocurrencies Fluctuate, He Uses These Tech Tools to Keep Track
New York Times
How do New York Times journalists use technology in their jobs and in their personal lives? Nathaniel Popper, who covers cryptocurrencies and financial technology for The Times from San Francisco, discussed the tech he's using. There are many ...


Washington Post

Apple designer Jony Ive is 'zealous' over the tech giant's most personal device
Washington Post
“Apple's inception was about making tech useful and relevant, in a very personal way. And the watch is unambiguously the most personal product we make,” said Ive, who joined Apple more than 25 years ago and first made his mark with the candy-colored ...
Apple Watch heart monitoring and fall detection: Are they lifesavers?USA TODAY
$2000 iPhone — gulp. We break down the features and price points of Apple's new lineSaskatoon StarPhoenix

all 736 news articles »

NBCNews.com

Lawmaker says US Senate staff targeted by state-backed hackers
NBCNews.com
Foreign government hackers continue to target the personal accounts of U.S. senators and their aides — and the Senate's security office has refused to defend them, a lawmaker says. Sen. Ron Wyden, an Oregon Democrat, said in a Wednesday letter to ...

and more »

New York Times

Help a Fellow Mac User With Remote Tech Support
New York Times
Q. If Windows comes with tools to help someone take control and troubleshoot another PC over the internet, what does Apple provide for long-distance Mac-to-Mac support? A. Apple includes several ways to see and control the screen of another Mac over a ...
Prepare for changes to Back to My Mac - Apple SupportApple Support

all 24 news articles »
Google News

MobiTV and Visual Stimulation Imput for Personal Cognitive Performance

Stimulus thru Caffiene or Visual Input?It appears that the Mobi... Read More

iPod users get the picture

iPod users start to get the picture and it's turning... Read More

Gain Control Over Your Screensavers With These Simple Steps

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

More Cool Web Tricks

If you ask most people what frustrates them most about... Read More

Review of Rio MP3 Players

Below you will find some useful information and comments about... Read More

Customize Your Portable Player with an MP3 Player Accessory

Everywhere you look today people are listening to personal audio... Read More

Selecting a Personal Digital Assistant

A Computer in Your HandCarrying around an address book and... Read More

Registry Tools Demystified

Not sure what Windows registry is or how it works?... Read More

How To Safeguard Your Computer?

The following practice, if done regularly, may help you to... Read More

What Exactly are Screensavers? - part II

Here are some tips on how to use screensavers:First of... Read More

Be Your Own IT Department

If you use a computer, you need to know more... Read More

The Newbies Guide to Personal Computer Maintenance

When you turn on your computer, does it act like... Read More

Tips For Getting Technical Support Help Online

Sometimes your PC will start acting strange for no apparent... Read More

Make Windows XP Run Faster!

A friend told me: "My computer startup seems to be... Read More

EDTV: What You Should Know Before You Make That Purchase

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

Some Thoughts on Choosing a Flash MP3 Player

Flash mp3 players come with an exciting array of features,... Read More

Maintain Your Computer ? Keep Your Business Running

Maintaining your computer is extremely important ? especially if you... Read More

Your Computer Cant Keep Time

A computer needs a certain amount of information to operate;... Read More

Password Nightmares

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

Cisco Certification: Building Your Own Home Lab, Part I

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

Choosing a Portable MP3 Player: Part 1

MP3 players are everywhere! It seems that the number of... Read More

How to Switch to Firefox and Why You should

First things first, what is Firefox? Well, it's a browser.... Read More

Connect Your IPAQ to Linux

Choose Not To ConformPalm pilots and pdas are constantly growing... Read More

Passwords and the Human Factor

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

Wordpress Plugins

Maybe you always wanted a feature that hasn't been available... Read More