Reply to Re: Dedicated 404 pages how do they do it?

Your name:

Reply:


Posted by Lars Eighner on 09/22/07 13:08

In our last episode, <1190459626.745120.24630@g4g2000hsf.googlegroups.com>,
the lovely and talented Desmond broadcast on comp.lang.php:

> Some major websites have their own dedicated page not found error. I
> do not have control of the server that is used for my website. Can I
> still have my own dedicated 404 page?

A line like

ErrorDocument 404 /opps.html

can do this in an .htaccess file in your web directory.

However, your site has to run on a server that uses .htaccess files and this
feature has to be enabled on it. Details may vary, so research the
docuentation for the server your host runs. Many hosts that you pay for
already have this feature enabled, so you can give a try. If it is enabled,
the host evidently intends for you to use it, but may not be willing to hold
your hand or set up the page for you. However, "free" hosts often like to
use 404 and other error documents to promote themselves or other sites that
pay for hits.

--
Lars Eighner <http://larseighner.com/> <http://myspace.com/larseighner>
Countdown: 486 days to go.
What do you do when you're debranded?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация