Custom Error Page
Collapse
X
-
Tags: None
-
-
Re: Custom Error Page
Top of every Forum page, you'll see "SEARCH" and you click that and then enter "404" or "redirect" or even in Advanced Search "error page" as Key Word to find various threads and methods....
-
-
Re: Custom Error Page
i found nothing
The following errors occurred with your search:- Sorry - no matches. Please try some different terms. The following words are either very common, too long, or too short and were not included in your search : 404
Comment
-
CarbonTerry
Semper Fi
Still green...still mean......just not as lean
Red Hawk Archery
Zone 5 Photo
My USMC
Comment
-
-
Re: Custom Error Page
I have struggled with this and having the newer cpanel and building with bv, I have found this to be the easiest way....
First...Create a page to match your site (template, navigation, etc.) Put the message...HTTP 404 - File not found...and your message on the page. Save page as 404 and then publish.
Note:It's also a good idea to add the code <meta name="robots" content="noindex"> to the <head> section of your 404 page, so that search engine robots don't add it to their indexes.
Then...Go to page on browser. View source. Save as 404.txt. Right click>select all>copy.
Then...Go into cpanel>error pages>edit 404
copy 404.txt into the box. Scroll down and save.
Then...Go to Blue FTP and delete 404 page you published. Or you could leave it there, just don't link to it.
I made my error page immediately after making my index page so that any links that don't work show the 404 error and a blurb about the site having some pages still under construction.
Good Luck
I should say that I have tried all the different methods that I could find on this forum (at least 3 different ways) and this method is by far the easiest.Karen Williams
Your Belief is Your Reality
Comment
-
-
Re: Custom Error Page
Karen,
Using your method,mwhich is similar to mine, you do not have to publish the page. Merely preview it and "View Source" copy the text and:
"Then...Go into cpanel>error pages>edit 404
copy 404.txt into the box. Scroll down and save."
You do not have anything to delete.
Of course for an Addon domain your method will not work as there is no error page folder unless you create one.CarbonTerry
Semper Fi
Still green...still mean......just not as lean
Red Hawk Archery
Zone 5 Photo
My USMC
Comment
-
-
Re: Custom Error Page
ok i ts working noe heres my custom 404 adam-khimji.com/gfhfhg
Comment
-
-
Re: Custom Error Page
Good Work!! I suggest reducing the size of the Error 404 and move the "Something's not right. Wouldn't you agree? Don't get frustrated. Let's simply start back at the beginning" to directly under the 404 to be seen more easily.CarbonTerry
Semper Fi
Still green...still mean......just not as lean
Red Hawk Archery
Zone 5 Photo
My USMC
Comment
-
-
Re: Custom Error Page
One or two things to remember when doing a custom error page.
1/ when using images on your error pages it helps that before saving it in cpanel, to edit the html code and add a / before all your images so this <img src="Connected.png" becomes this <img src="/Connected.png this is so if you use folders to show some different content like a forum the images will show up when the page is brought up.
2/ make use of the error buttons in the error page set up in cpanel the Requested URL one is good for showing the viewer what they typed in.
when added in the right place can be quite effective.
As seen HERE
Comment
-
-
CarbonTerry
Semper Fi
Still green...still mean......just not as lean
Red Hawk Archery
Zone 5 Photo
My USMC
Comment
-
Comment