Difference between revisions of "Creating a Custom 404 Error Page"

From Acenet Knowledgebase
Jump to: navigation, search
(test)
 
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 />
+
http://example.com/shop
<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).
<br />
+
 
<div id="media"><br />
+
<html><div id="media">
 
             <object id="csSWF"  width="640" height="481" codebase="https://active.macromedia.com/flash7/cabs/ swflash.cab#version=9,0,28,0"><br />
 
             <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 />
+
                 <param name="src" value="http://docs.ace-host.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="http://docs.ace-host.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 />
             </object><br />
+
             </object>
</div><br />
+
</div>
<br />
+
</html>
[1] Locate the "Custom Error Pages" Icon located in the Advanced Tools section of cPanel<br />
+
 
<br />
+
[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"<br />
+
 
<br />
+
[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<br />
+
 
<br />
+
[3] Locate and Click the "404-Wrong Page" link
[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 />
+
[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.}}
[5] Select "Save" to create your custom 404 Error Page.<br />
+
 
</html> [[Category:cPanel]]
+
[5] Select "Save" to create your custom 404 Error Page.
 +
 
 +
[[Category:cPanel]]

Revision as of 22:28, 3 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).



[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.