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

From Acenet Knowledgebase
Jump to navigation Jump to search
 
Line 7: Line 7:
 
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.
 
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.
  
<html><div id="media">
+
{{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="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>
 
</div>
 
</html>
 
  
 
[1] Locate the "Custom Error Pages" Icon located in the Advanced Tools section of cPanel
 
[1] Locate the "Custom Error Pages" Icon located in the Advanced Tools section of 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.