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:

India fire: Relatives identify victims from photos on police phones
Sun, 08 Dec 2019 16:06:00 +0000
A "horrific" factory fire in India is believed to have been caused by an electrical short circuit - as relatives of workers trapped inside identified victims from photos on police officers' phones.

Trump says Kim is too smart for hostile act after 'missile test'
Sun, 08 Dec 2019 04:41:00 +0000
President Donald Trump says North Korea's leader "has too much to lose" to act in a hostile way, after the secretive state's latest military test.

Landslip strands 'up to 1,000' at popular tourist site in New Zealand
Sun, 08 Dec 2019 22:21:00 +0000
A large landslip has left up to 1,000 people stranded at a popular tourist site in New Zealand, according to the country's civil defence.

Saudi Arabia lifts ban on gender segregation in restaurants
Sun, 08 Dec 2019 16:46:00 +0000
Women will no longer have to be segregated from men in restaurants in Saudi Arabia, according to the country's government.

Travel disruption as Storm Atiyah hits UK and Ireland
Sun, 08 Dec 2019 20:44:00 +0000
Storm Atiyah has hit Wales, southwest England and Ireland, forcing flight cancellations and diversions, and causing power outages in several areas.



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.

Web Page Building for Beginners 4

Page ranking by search engines such as Google are not... Read More

Get FASTER Download Times By Making BIGGER Web Pages!

As a webmaster you already know how important it is... Read More

What Is Your Websites Most Wanted Response?

You spend time and money promoting your website; but what... Read More

Elements of Graphic Design for Your Website

We've all seen them. Poorly designed web sites that make... Read More

Why Hire a Professional to Design Your Web Site?

Creating an appealing, functional, and effective Web site is much... Read More

5 Ways To Automate Your Site

Automating your online business is one of the most important... Read More

Making Good Websites that Stand Out

Websites, there's literally billions of them out there in cyber-space.... Read More

Why Choose A Professional Web Designer?

It seems that almost every Tom Dick and Harry do... Read More

Put Up A Website And Start Promoting In About An Hour

I can't figure out people who have products or information... Read More

Design vs Content: Who is KING?

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

Web Design Tips To Boost Your Sales

The way you design your web site affects your visitors'... Read More

Why Your Site Should be Developed with CSS and Semantic Markup

Why your site should be developed with CSS and semantic... Read More

You Need RSS, Atom, and ROR/RDF Codes on Your Website--Now You Need Google Sitemap as Well!

Do you have a website? If so, you need an... Read More

How to Create a Favicon for Your Web Site

One of the simplest things you can do to give... Read More

Browser Compatibility

Internet Explorer, created by microsoft has been the most popular... Read More

What I Look For In a Website

As my occupation is that of a proofreader, one of... Read More

Welcoming Your Website Visitors

Imagine you're going on a blind date. You've heard wonderful... Read More

A Crash Course on Graphic Philosophy 101

Novice and professional graphic designers, we are aware that you... Read More

Graphic Terms- The Basics Part I

You're almost set. The content of your website, e-book, or... Read More

Simplify Your Web Site for Clarity and Ease of Use

There are plenty of web sites out there in which... Read More

Through The Looking Glass

My mother used to take me along when she visited... Read More

Can a Webpage Created Without HTML?

The HTML editor is usually a webpage design software that... 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

Sales Versus Customer Oriented Websites

Should Generating Revenue From A Website Be The Prime Motivator?... Read More

Don?t Put Your Slogan in the Title Tag - Optimize Your Web Pages

Don't just put your slogan in the title tag when... Read More