Closed Thread
Results 1 to 3 of 3

Thread: custom pages

  1. #1
    zenon80983 is offline x10Hosting Member zenon80983 is an unknown quantity at this point
    Join Date
    Dec 2010
    Posts
    43

    custom pages

    How do i make custom 404 pages??

    I mean how do i use custom 404 pages that i create.

    i would like to use my own 404 pages but i do not know if there is anything that i need to do in order for them to work.

  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: custom pages

    I put mine in a subdirectory of public_htlm , errors .
    Name them for the error ( 404.html, 500.html, etc )
    In the .htaccess file in public_html add the line:

    Code:
    ErrorDocument 404 /errors/404.html
    for each custom error you want to handle. (replace 404 with the error code you are interested in).
    Nothing is always absolutely so.

  3. #3
    zenon80983 is offline x10Hosting Member zenon80983 is an unknown quantity at this point
    Join Date
    Dec 2010
    Posts
    43

    Re: custom pages

    OK i will try this later.

    thank you.

Closed Thread

Similar Threads

  1. Custom Error Pages
    By terrydy in forum Free Hosting
    Replies: 2
    Last Post: 12-10-2009, 02:25 AM
  2. Custom 404 pages
    By galaxyAbstractor in forum Feedback and Suggestions
    Replies: 1
    Last Post: 12-26-2007, 09:09 AM
  3. custom 404 pages
    By coolv1994 in forum Programming Help
    Replies: 7
    Last Post: 12-13-2007, 03:09 AM
  4. Custom Pages
    By Reclutador in forum General
    Replies: 9
    Last Post: 01-23-2007, 08:29 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