Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2010
    Posts
    17
    Plugin Contributions
    0

    Default 404 error page custom define - godaddy

    Hi guys,

    I've edited a nice simple custom error page using define pages in admin with a little help from this page http://www.drostdesigns.com/zen-cart...04-error-page/ - this page says: Test the error page by typing www.domain.com/define_page_not_found.php

    however.... my define page won't work with that url and uses this as follows: http://mymultitools.co.uk/index.php?...page_not_found

    No problem until i try pointing godaddy, my host, towards the page and they say they don't accept symbols in the url.

    So Ive been hunting around to find where it points to 'index.php?main_page=page_not_found' so i can change it to the more simple 'define_page_not_found.php' ---- developers tool kit is referencing a file which looks interesting '
    /home/content/68/5880568/html/page_not_found.php' but i don't have any folders called that so not sure how the search is finding it.

    if only godaddy would accept the current url i wouldn't have this trouble.

    thanks for your help!!

    Joe

  2. #2
    Join Date
    Mar 2010
    Location
    UK
    Posts
    445
    Plugin Contributions
    0

    Default Re: 404 error page custom define - godaddy

    The reference to the 404 error page is usually in the ErrorDocument directive in your root .htaccess file.

    The ErrorDocument directive MUST reference a LOCAL internal server filepath, and must NOT contain a domain name.

    Be sure to test the 404 response using Live HTTP Headers for Firefox. For non-valid URLs, the first received response MUST be the one with the correct 404 status code.

    There must NOT be a preceding redirect of any kind. These 'soft 404 errors' will cause you immense problems.

  3. #3
    Join Date
    Mar 2010
    Posts
    17
    Plugin Contributions
    0

    Default Re: 404 error page custom define - godaddy

    Hi g1smd,

    Thanks for your reply! Ok, so now I have a simple .htaccess text file on the root.

    Simply....

    ErrorDocument 404 /define_page_not_found.php

    I've checked my website loads this file.... http://mymultitools.co.uk/page_not_found.php --- actually it then auto redirects to ....http://mymultitools.co.uk/index.php?...page_not_found

    that ok.

    I've set Godaddy 404 page destination to http://mymultitools.co.uk/page_not_found.php and waited 30mins for it to take affect.

    It doesn't seem to be working. Maybe by the time I check tomorrow morning it'll have started work, I hope/doubt.

    Thanks for your help, any other ideas if this doesn't work?

  4. #4
    Join Date
    Mar 2010
    Location
    UK
    Posts
    445
    Plugin Contributions
    0

    Default Re: 404 error page custom define - godaddy

    No. As I already said, a redirect is NOT OK.

    The usual directive is:
    Code:
    ErrorDocument 404 /index.php?main_page=page_not_found
    Test it by typing something that does not exist.
    Last edited by g1smd; 15 Jun 2010 at 08:56 PM.

  5. #5
    Join Date
    Mar 2010
    Posts
    17
    Plugin Contributions
    0

    Default Re: 404 error page custom define - godaddy

    yes thank-you, i changed the .htaccess tested as you advise....tested and it works!!!! thanks!

    surprising thing is that my Godaddy settings still have listed /define_page_not_found.php and the thing was i thought i had to have /index.php?main_page=page_not_found which because of the symbols they wouldn't accept.

    awesome, best wishes, Joe

 

 

Similar Threads

  1. Custom 404 Error Page with Site Map
    By Goldenis in forum Customization from the Admin
    Replies: 3
    Last Post: 11 Feb 2011, 02:53 AM
  2. Page Not Found Custom 404 Error Page with Site Map Sample Text
    By derek53 in forum Basic Configuration
    Replies: 5
    Last Post: 25 May 2010, 10:16 AM
  3. Custom 404 Error Page Not Found
    By jasminescreations in forum General Questions
    Replies: 5
    Last Post: 12 May 2009, 08:35 PM
  4. Page Not Found - Custom 404 Error Page
    By Zoramilea in forum General Questions
    Replies: 4
    Last Post: 15 Sep 2008, 11:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR