Creating a Custom 404 Error Page: Difference between revisions

From Acenet Knowledgebase
Jump to navigation Jump to search
test
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<html>This demo will show you how to add a custom 404 Error Page through your cPanel. <br />
This demo will show you how to add a custom 404 Error Page through your cPanel.
<br />
 
The purpose of a 404 or Not Found error message is to let your visitors know that the server could not find what was requested. For example, if a visitor attempted to visit:<br />
The purpose of a 404 or Not Found error message is to let your visitors know that the server could not find what was requested. For example, if a visitor attempted to visit:
<br />
 
http://domain.com/shop<br />
<nowiki>http://example.com/shop</nowiki>
<br />
 
and you did not have a shop directory a 404 error message would be displayed to let the visitor know that the server could not find that directory (since it does not exist).<br />
and you did not have a shop directory a 404 error message would be displayed to let the visitor know that the server could not find that directory (since it does not exist). With a custom 404 page, you can provide helpful information to the user and display links that may help them find what they're looking for.
<br />
 
<div id="media"><br />
{{oldvideo|/swffiles/customize404.swf}}
            <object id="csSWF"  width="640" height="481" codebase="https://active.macromedia.com/flash7/cabs/ swflash.cab#version=9,0,28,0"><br />
 
                <param name="src" value="https://esupport.acenet-inc.net/swffiles/customize404.swf"/>                <param name="bgcolor" value="#1a1a1a"/>                <param name="quality" value="best"/>                <param name="allowScriptAccess" value="always"/>                <param name="allowFullScreen" value="true"/>                <param name="scale" value="showall"/>                <param name="wmode" value="opaque" />                <param name="flashVars" value="autostart=false"/>                <embed name="csSWF" src="https://esupport.acenet-inc.net/swffiles/customize404.swf" width="640" height="481" bgcolor="#1a1a1a" quality="best" allowScriptAccess="always" allowFullScreen="true" scale="showall" flashVars="autostart=false" pluginspage="https://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed><br />
[1] Locate the "Custom Error Pages" Icon located in the Advanced Tools section of cPanel
            </object><br />
 
</div><br />
[2] Select the Domain from the drop down menu you wish to create a custom error page for a select "Go"
<br />
 
[1] Locate the "Custom Error Pages" Icon located in the Advanced Tools section of cPanel<br />
[3] Locate and Click the "404-Wrong Page" link
<br />
 
[2] Select the Domain from the drop down menu you wish to create a custom error page for a select "Go"<br />
[4]  Enter your custom HTML into the editor box  
<br />
{{note|You can find some commonly used Tags located above the large editor, clicking on them will insert them into the editor.}}
[3] Locate and Click the "404-Wrong Page" link<br />
 
<br />
[5] Select "Save" to create your custom 404 Error Page.
[4]  Enter your custom HTML into the editor box <br />
 
    * You can find some commonly used Tags located above the large editor, clicking on them will insert them into the editor. <br />
[[Category:cPanel]]
<br />
[5] Select "Save" to create your custom 404 Error Page.<br />
</html> [[Category:cPanel]]

Latest revision as of 13:06, 16 October 2012

This demo will show you how to add a custom 404 Error Page through your cPanel.

The purpose of a 404 or Not Found error message is to let your visitors know that the server could not find what was requested. For example, if a visitor attempted to visit:

http://example.com/shop

and you did not have a shop directory a 404 error message would be displayed to let the visitor know that the server could not find that directory (since it does not exist). With a custom 404 page, you can provide helpful information to the user and display links that may help them find what they're looking for.

[1] Locate the "Custom Error Pages" Icon located in the Advanced Tools section of cPanel

[2] Select the Domain from the drop down menu you wish to create a custom error page for a select "Go"

[3] Locate and Click the "404-Wrong Page" link

[4] Enter your custom HTML into the editor box

You can find some commonly used Tags located above the large editor, clicking on them will insert them into the editor.

[5] Select "Save" to create your custom 404 Error Page.