Voir le texte source
De WikiCinéjeu.
pour
The-Wiki-Article-Producing-a-Custom-404-Error-Page-
Aller à :
Navigation
,
rechercher
The generic error web page is horrible to search at and it does not encourage net visitors to discover more of your site. Envision becoming able to setup a custom error message web page that looked very good, told the visitor what had gone wrong and then suggested some alternative hyperlinks to other areas on your web site, such as the property web page, sitemap or even a search page. Every web surfer has encountered the dreaded 404 page not discovered error message. The generic error page is horrible to look at and it does not encourage web guests to explore more of your website. Picture being capable to setup a custom error message page that looked great, told the visitor what had gone wrong and then recommended some alternative links to other places on your site, such as the home page, sitemap or even a search web page. If the visitor wanted to, they could then pay a visit to other components of your web site. It is extremely easy to setup a custom 404 error page (The 404 error is the error number returned when a page or directory is not identified on your website). The easiest way to redirect guests that encounter a 404 is to either send them to your sites residence page or to your sitemap page We do this by placing a one line of code in your web sites .htaccess file ErrorDocument 404 /sitemap.html This would redirect all 404 error messages to the sitemap web page. The path to the web page you want to display, should already exist on your net server, otherwise the internet server will tie itself up in a by no means ending loop. The complete path to the error page should be specified and it ought to be relative to the root path of that account (keep in mind, placing a / at the front of a file name or directory specifies that its relative to the root directory). To make a custom error web page, merely produce a web page making use of your favorite webpage editor such as MS FrontPage or DreamWeaver. [http://www.cheapcarinsurance123.org/wisconsin-auto-insurance-minimums Visit] contains further about the reason for it. The web page can include something you wish, such as photos, links etc. Save the file as anything easy to don't forget (such as 404errors.html) I would then recommend you make a directory straight off your /public_html/ folder and contact it error and place your error files in right here. This would now mean that your .htaccess command line would now appear like: ErrorDocument 404 /error/404errors.html Now anytime a 404 error was generated on your web site, your custom error page will be displayed, and maintain your internet visitors happy. In the upcoming report, I will expand on this notion, and show you how to you can acquire an e-mail notification that a 404 error has occurred on your web site. [http://www.cheapcarinsurance123.org/wyoming-auto-insurance-minimums Home Page] is a lovely online library for further concerning the reason for this viewpoint. It will inform you what brought on the error, and the offending web page. Visiting [http://www.cheapcarinsurance123.org/minnesota-auto-insurance-minimums click] probably provides tips you should tell your girlfriend. Be taught further about [http://www.cheapcarinsurance123.org/hawaii-auto-insurance-minimums visit site] by navigating to our engaging wiki. Permitting you to try and fix all broken links top to your internet site.
Revenir à la page
The-Wiki-Article-Producing-a-Custom-404-Error-Page-
.
Affichages
Page
Discussion
Voir le texte source
Historique
Outils personnels
Créer un compte ou se connecter
Navigation
Accueil
Cinéjeu
Forum
Modifications récentes
Page au hasard
Aide
Rechercher
Boîte à outils
Pages liées
Suivi des pages liées
Pages spéciales