[Pro] 404.html doesn't show up

I checked that my 404.html is well placed in the public_html folder. However, my host default 404.html always shows up. Support told me to modify the html into .shtml but it doesn’t change anything.

Than they say that I should use the .htaccess to address the issue. On my other sites, the 404 page works fine. And I don’t see the difference with my current project www.smilingresults.com

What am I doing wrong?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Nick, you say public_html folder, do you have cpanel for your account admin by any chance? if you have then there is the option there for creating the various error pages you may need with your account.

Just before I explain the following, try clearing your browser cache or use another browser to show the error page and make sure it is saved as 404.shtml, I wonder if you have maybe called it something else in Freeway and that might be why it is not showing.

If the above doesn’t work and you have cpanel then:

Custom your 404 page with cpanel, if you are not happy with the various options provided for creating the 404 page then you can also create one by posting the code into the 404 error page window and have cpanel create the 404 page from that code. What I have done a couple of times before with this is to create the 404 page as I like it, publish the site, using BBEdit opened the page I created for the error page (404 page in your case) and then search and replace the text ‘Resources’ for ‘http://yourwebsitedomain.com/Resources’ (without quotes). When that is done select all the text and paste it into the error page window in cpanel, this will now be saved as your 404 error page. To test what you have saved try typing an address to a page or folder that doesn’t exist on your server.

If you want to go the htaccess way then the following address should show you how to set that up:
http://www.kirupa.com/web/htaccess.htm

HTH


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I should add that you should then remove the error page you created on the Freeway site so it is not uploaded and is floating around on the server when it then serves no purpose but keep a copy of the file Freeway created before you remove it, then you have it for reference or whatever.

Also, make sure you upload any images you place on the error page you created with Freeway so they exist there.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 2 May 2009, 8:36 pm, Mike B wrote:

If the above doesn’t work and you have cpanel then:

Custom your 404 page with cpanel, if you are not happy with the various options provided for creating the 404 page then you can also create one by posting the code into the 404 error page window and have cpanel create the 404 page from that code. What I have done a couple of times before with this is to create the 404 page as I like it, publish the site, using BBEdit opened the page I created for the error page (404 page in your case) and then search and replace the text ‘Resources’ for ‘http://yourwebsitedomain.com/Resources’ (without quotes). When that is done select all the text and paste it into the error page window in cpanel, this will now be saved as your 404 error page. To test what you have saved try typing an address to a page or folder that doesn’t exist on your server.

Just a quick note here: If you are customising in Cpanel be aware that there is a problem when you try to do it with Safari (at least on my servers) You cannot add tags or text.

Use FF instead.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks David. It works perfect.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options