Results 1 to 5 of 5

Thread: 404 error on a page that exists

  1. #1
    Join Date
    Sep 2007
    Posts
    3

    Default 404 error on a page that exists

    i was trying to access a directory with just domain.com/folder and i get this 404 error. i checked my ftp to see if the file was there and it was. there IS a index.php file in the directory and for some reason i asked a lot of my friends to try to access it and they also get the 404 error. i don't have the set homepage thing in my htaccess so i don't know why it's doing that. this also happened to one of my subdomains. can anybody tell me why its doing that?

  2. #2
    Join Date
    Feb 2006
    Location
    North of Boston, MA
    Posts
    1,658

    Default

    It shouldn't be necessary to add anything to your .htaccess file; servers usually assume that any file labeled index is the default file. Of course, you could add the line to your .htaccess file and see if that does help!

    Code:
    DirectoryIndex index.php
    Of course, index.php can be replaced by filename.html, index.cgi, or any other file, or you can list several files in order of preference.
    Last edited by redsox9; 03-01-2008 at 02:12 PM. Reason: Further clarification
    redsox9 - Go Red Sox!!! 2004 and 2007 World Series Champions!
    Visit FenwayFanatics.com, home to Boston Red Sox baseball fans everywhere... now on Facebook and Twitter!

  3. #3
    Join Date
    Feb 2006
    Location
    Florida, USA
    Posts
    1,505

    Default

    How about a link to the problem?
    If at first you don't succeed, try reading the instructions.
    semlar.com

  4. #4
    Join Date
    Sep 2007
    Posts
    3

    Default

    i contact bluehost and now its fixed :P

  5. #5
    Join Date
    Mar 2006
    Location
    California
    Posts
    21

    Default

    out of curiosity what was the problem?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •