Maintain your old Siemens Hipath system

.htaccess to Mask Errors on Your Website

The .htaccess file is a control file located in your webservers directory. This file is a very powerful file that can control access to certain files, restrict access to files, forward people in the event of errors, and many more useful features for webmasters!

One of the most embarrassing things for a webmaster is to have a website with dead links, bad URLs, and error messages when the user surfs through your website. Using the .htaccess file you can help reduce how noticeable those errors are by quickly moving the user to a correct working location. This method of course doesn't correct the underlying problem with your website, however it does help to keep your website looking more professional.

Common error codes that you want to try to hide from the user:

400 - Bad Request
401 - Authorization Required
403 - Forbidden
404 - Page Not Found
500 - Internal Server Error
501 - Not Implemented

The biggest and most common error by far is the 404 Error (Page not found), but all of these can be embarrassing and troublesome to webmasters. If an error occurs on your website you don't want to lose that user. You may not be able to provide them with a link to the page they wanted, but you might get another chance if you redirect them to another page within your website.

Syntax for .htaccess file:

ErrorDocument ### index.php -- Example of format
ErrorDocument 404 /index.php -- Working example

In the second example, should a user request a page that no longer exists on your website, they will automatically have the index.php file loaded. This can be done for all of the error codes listed above and will help to hide and glaring mistakes in your website.

As I mentioned before, this is not a fix action for your website, but simply a mask. It's very important to review your website logs and look for error codes. The goal is to have a good working website afterall!

Ken Dennis
http://KenDennis-RSS.homeip.net/

In The News:

Detained oil tanker at centre of US power struggle 'set to depart'
Sun, 18 Aug 2019 13:42:00 +0100
The Iranian oil tanker which has been detained off Gibraltar since early last month is expected to depart this evening, Iran's ambassador to Britain has said.

'An eye for an eye': Hong Kong protesters chant in huge rally
Sun, 18 Aug 2019 06:41:00 +0100
Hundreds of thousands of protesters have made their way through the streets of Hong Kong chanting anti-government slogans.

Huge Hong Kong march is show of absolute defiance
Sun, 18 Aug 2019 14:17:00 +0100
This has been absolutely extraordinary.

Trump 'looking at' buying Greenland, adviser confirms
Sun, 18 Aug 2019 19:56:00 +0100
Donald Trump's economic adviser has confirmed that the US president "wants to take a look at" buying Greenland.

Stranded migrants jump off rescue boat to try to reach Italy
Sun, 18 Aug 2019 14:59:00 +0100
Migrants on a humanitarian ship off the Italian coast had to be chased down after they jumped into the sea in a desperate attempt to reach land.



tikatoshop.it

Erfahrungen mit Pallhuber Wein
Agen Bola SBOBET Terpercaya

Travel in comfort and at your leisure with CT Airlink Limousine & Car Service for top quality private transportation and exceptional customer service. We operate Sedans, SUVs & Vans for CT Car Services to covering all Connecticut airports including Car Service from CT to Newark Airport , Mohegan Casino Uncasville CT, Foxwoods Casino Mashantucket CT, Manhattan Cruise Terminal NYC, Brooklyn Cruise Terminal NYC and Bayonne Cruise Terminal NJ. CT Airlink hire licensed and friendly chauffeurs who have in-depth knowledge of the Areas.

Make it Clear What Your Website is About

Just about every list of the "Top 10 Web Design... Read More

7 Benefits of HTML Validation

You may not bother with html validation or writing simple... Read More

How To Choose The Right Web Design Company

1. Size does not equate to competencePeople sometimes assume a... Read More

Web Advertising: 10 Little Known Tricks To Help Convert Your Traffics To Buying Customers

You may not believe it, but people still judge things... Read More

Converting Traffic into Sales

Making a successful online business can be a long and... Read More

3 Simple Ways To Dramatically Improve Your Website

Before you start worrying about marketing your website on the... Read More

Explode Your Homepage And Replace It With Something Dynamite!

You know that I'm always extolling the virtues of an... Read More

5 Easy Ways to Improve Your Website

When designing your website, remember to avoid useless and confusing... Read More

Are You Driving Away Potential Customers?

When a prospect lands on your website will he or... Read More

Design vs Content: Who is KING?

Well it is not Elvis, that's for sure.I am a... Read More

Choosing Your Web Design

We would all like to have the best looking website,... Read More

Hiring a Graphic Designer

You've come up with a great product. You've got the... Read More

Build Web Pages from the Top Left Corner Down

There are two important reasons to build your website from... Read More

Top Ten Ways to Increase Web Sales - Part 2

You have only 10 seconds to impress your potential buyer.... Read More

.htaccess to Mask Errors on Your Website

The .htaccess file is a control file located in your... Read More

Top 10 Web Design Mistakes

As a webmaster, you want to keep your visitors content... Read More

Finger Eating Garage Door Reveals Breakthrough Web Design and Linking Strategy

Last Thursday afternoon I was working on a garage door... Read More

The Secrets to Successfully Learning Basic HTML

If you'd like to create/maintain a website, having some HTML... Read More

Online Advertising: 10 Tricky Secrets To Keep Visitors Glued To Your Website And Increase Sales

It is common sense.The more time people spend at your... Read More

Web Page Building for Beginners 2

A search engine robot actually reads the wording on your... Read More

Integrating Advertising into Your Web Design

If you are going to be placing ads on your... Read More

Wording Up Your Website

Back to basics. Forget funky design, good copywriting is the... Read More

When Your Graphic Designer Costs You Money

So how do you know when your graphic designer costs... Read More

How Not To Get Web Design Work

I get the occasional web design lead from my website.... Read More

Speed Up Or Lose Out! How To Improve Your Websites Download Speed

So your web site's online and you've got high rankings... Read More