Personal Technology Information


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.


MORE RESOURCES:
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

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 ...
'An evolution, not a revolution': Apple's new iPhones score only slightly above the X in reviewsFinancial Post
Apple iPhone XS and XS Max review: smoothed outThe Verge

all 668 news articles »


The Oakland Press

Bigger, pricier iPhone expected at Apple event
The Oakland Press
SAN FRANCISCO (AP) — Apple is expected to showcase three new iPhones on Wednesday, including its biggest and most expensive model yet, as the company seeks to widen the product's appeal amid slowing sales. Most of the buzz is swirling around a ...
Apple unveils biggest iPhone yet, health-focused Apple WatchesFinancial Post
Canadian pricing for new iPhones ranges from $1029 to $1999Vancouver Sun
Exclusive: This is 'iPhone XS' — design, larger version, and gold colors confirmed9to5Mac

all 5,653 news articles »


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 ...

and more »


New York Times

Make Several Gmail Addresses Out of One
New York Times
Q. Do periods matter in Gmail addresses? I get messages addressed to my account at firstnamelastname@gmail.com but also to firstname.lastname@gmail.com, and none of these seem to be meant for other people. A. Google's Gmail service does indeed ...

and more »


New York Times

Keep Your Electronic Communications Really Secure
New York Times
Q. What are the advantages of using a messenger app like Signal? Does everybody I want to communicate with have to use it as well? A. Signal is one of several communication apps that fully encrypt the conversations you have with other users. Keeping ...



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 ...



New York Times

Samsung's Galaxy Note9: Too Much Phone for Most of Us
New York Times
Apple's iPhone X broke the pricing barrier for smartphones with a $1,000 price tag. Now Samsung's new Galaxy Note device, which will be released this week, is joining the $1,000 Phone Club. That raises the inevitable question: Is this new phone worth ...

and more »


New York Times

Apple Plans to Unveil New iPhones. Here's How to Save On an Upgrade.
New York Times
It's the time of year when smartphone makers introduce their newest wares to tempt you to spend your hard-earned dollars on the latest, priciest devices. The gadget mania began last month, when Samsung started selling its $1,000 Galaxy Note9, a ...
Apple product blitz kicks off this week with new iPhone Xs, watches and moreFinancial Post
Exclusive: This is 'iPhone XS' — design, larger version, and gold colors confirmed9to5Mac
Apple to Kick Off Product Blitz With iPhone Xs Line, New WatchesBloomberg

all 812 news articles »


New York Times

Managing Manterruptions and Her Dog's Instagram
New York Times
How do New York Times journalists use technology in their jobs and in their personal lives? Jessica Bennett, gender editor for The Times, discussed the tech she's using. Before you joined The Times, you were a freelancer. What was your tech setup to ...



New York Times

You Took Lousy iPhone Photos. Here's How to Make Them Beautiful.
New York Times
We spend a lot of time trying to tame our technology or wean ourselves from its ills. But tech at its best can help us create new things and express ourselves. That's why Tech Tip is evolving from a daily Q. and A. with readers into a monthly ...

and more »

Google News

home | site map
© 2007