Closed Thread
Results 1 to 4 of 4

Thread: 404 page redirected to x10 hosting's 404 page

  1. #1
    Mcarney is offline x10Hosting Member Mcarney is an unknown quantity at this point
    Join Date
    Jun 2010
    Posts
    3

    404 page redirected to x10 hosting's 404 page

    I created a custom 404 error page for my site, and back when I made it, it worked fine. Recently whenever I go to an incorrect address within my site, all my 404 errors get redirected to this page: http://x10powered.com/errors/404.shtml

    Free hosting that doesn't redirect my site's 404 errors was actually one of the selling points for me switching to x10 hosting, so I will be very disappointed if x10 has changed their policy on that.

    My site: www.artofmartincarney.com
    Try any incorrect page, such as www.artofmartincarney.com/fail

    Is there a change that I'm not aware of? Some trick or some account setting I have wrong?

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: 404 page redirected to x10 hosting's 404 page

    Way I do it.

    1. Create subdirectory errors in public_html
    2. Create my error pages, 404.html (or 404.php ), 500.html, etc and put them in public_html/errors
    3. Open the .htaccess file in public_html
    4. Add lines like

    ErrorDocument 403 /errors/403.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 404 /errors/404.html

    for each error document.

    Note: The directory name 'errors' is a personal choice. Nothing magical about the name. Same with the file names. Just easier to keep track.
    Nothing is always absolutely so.

  3. #3
    Mcarney is offline x10Hosting Member Mcarney is an unknown quantity at this point
    Join Date
    Jun 2010
    Posts
    3

    Re: 404 page redirected to x10 hosting's 404 page

    Ok I may just be blind...but I don't see a .htaccess file. Maybe that's the problem and I just need to make one? It's weird, but I vaguely recall seeing that file a while back...

    I also checked in public_html and most other folders, and did not see anything similar.

    It is heartening to know I can customize my 404's, especially with php. Sounds like I'll be able to get this resolved after all .

  4. #4
    Dead-i's Avatar
    Dead-i is online now Community Advocate Dead-i has a spectacular aura about
    Join Date
    Aug 2011
    Location
    United Kingdom
    Posts
    1,445

    Re: 404 page redirected to x10 hosting's 404 page

    They may be hidden from your view. To reveal them in cPanel, do the following please

    1. Login to your cPanel.
    2. Click on the File Manager button.
    3. A popup titled 'Directory Selection' should appear. Make sure that the checkbox labelled 'Show Hidden Files (dotfiles)' is checked.
    4. Click Go.

    Now you might see a file named .htaccess in public_html. If you don't please create one.

Closed Thread

Similar Threads

  1. Server Error Redirected to default.web.page
    By ufofficial52 in forum Free Hosting
    Replies: 0
    Last Post: 08-30-2011, 07:02 PM
  2. Being redirected to the default page for some reason
    By lyndon.armitage39 in forum Free Hosting
    Replies: 1
    Last Post: 01-15-2011, 10:19 AM
  3. Keep getting redirected to CGI Sys Default Web Page...
    By pushkrajdole58 in forum Free Hosting
    Replies: 5
    Last Post: 10-02-2010, 12:27 PM
  4. Website redirected to error page?
    By lhamil64 in forum Free Hosting
    Replies: 2
    Last Post: 06-17-2010, 09:14 PM
  5. Replies: 5
    Last Post: 05-07-2010, 02:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers