• Resolved kcube

    (@kcube)


    I have a domain registered on 1and1.com and hosting it thru the dreamhost.com. I installed the wordpress on the root directory of the domain. But when enter the domain address in the brower it is not opening the index.php by default. I have to manually add the index.php to the url to open the blog’s main page and if I just enter the domain it is giving the following error

    ———-
    Not Found
    The requested URL /defaultsite was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    ——-

    I checked the root directory on the hosting server and I do see a index.php file.

    This is an additional domain on my dreamhost account.

    The domain is https://www.nriblog.info

Viewing 10 replies - 1 through 10 (of 10 total)
  • Sounds like your DH space isn’t set up to use index.php as a default document. You may want to contact their help (or look through their FAQ section) and see if there’s something you can do to turn it on — althought I have to admit it’s funny that it isn’t already set up as others here are using DH as their host and WP works fine there….

    -tg

    Thread Starter kcube

    (@kcube)

    the index.php works fine on my other domain which is being hosted on DH.

    Not sure if it is due to having two domains on the same hosting account.

    Hmmm. It opens fine for me without adding “index.php”. What browser are you using?

    Thread Starter kcube

    (@kcube)

    Firefox

    Thread Starter kcube

    (@kcube)

    Looks like some issue with the firefox browser.. it opened fine in the IE.

    I’m using FF1.5+. No problem at all.

    Hmmm…. works for me too…

    -tg

    can you edit your .htaccess file? i have messed with mine several times and sometimes that can be a problem…but i dont have a domain registered on a different server, so maybe that is the problem

    yes its fine on my end too. used Opera and IE.

    hth

    In your .htaccess file add this line;
    DirectoryIndex index.php
    And see if this helps.

    wp scripts don’t always append the index.php filename to the end of the url, and presume that the webserver is configured to supply it automagically.

    good luck

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘index.php is not opening by default..’ is closed to new replies.