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


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.



New York Times

The Benefits (and Limits) of Using Tech to Plan a Wedding
New York Times
This may sound unromantic, but before the internet era, wedding planning was a lot like car shopping. To find a place to get married, you had to read print ads with limited information designed to lure you in for a visit and pressure you into, well ...



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

How to Yank Passwords Out of Firefox Quantum
New York Times
Q. What is the best way to export passwords from Mozilla Firefox now that Password Exporter no longer works in the new Quantum version? A. The Password Exporter add-on for Firefox allowed people to save passwords stored within the browser as XML or ...



Newser

Best Buy Defied Doomsayers. Now, a New Strategy
Newser
A Best Buy store sign is illuminated, in Orange, Calif. (AP Photo/Chris Carlson, File). camera-icon View 1 more image. (Newser) – Big-box retailer Circuit City went belly up in 2009 thanks largely to the encroach of Amazon. The widespread expectation ...



New York Times

I Used Apple's New Controls to Limit a Teenager's iPhone Time (and It Worked!)
New York Times
Even as people have embraced the smartphone as one of the most powerful tech products, they are keeping a wary eye on the addictiveness of turning on the device to check for social media updates, read websites and play games. Some studies have tied ...

and more »


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



New York Times

How the 52 Places Traveler Stays Charged While Chronicling the World
New York Times
Sections. SEARCH. Skip to contentSkip to site index. Personal Tech · Subscribe · Log In · SubscribeLog In. Advertisement. Supported by. Tech We're Using. How the 52 Places Traveler Stays Charged While Chronicling the World. Image. Jada Yuan, The New ...



New York Times

For Android Users, Europe's Google Ruling Leaves Unanswered Questions
New York Times
You may have heard that the European Union punished Google with a record $5.1 billion fine on Wednesday for abusing its power in the mobile phone market. Specifically, the authorities dinged Google on its practices with Android, the mobile operating ...
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

Emergency Charging Options on the Road
New York Times
Q. Is it true that you can charge your phone from the USB port on a television set? Why do TV's even have USB ports? A. Many television models have included USB jacks for years, particularly the flat-panel type with plenty of multimedia ports on the ...

and more »

Google News

home | site map
© 2007