WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress in a subdirectory troubles (7 posts)

  1. krah
    Member
    Posted 6 years ago #

    Hello

    Please help me!

    I stored all wordpress files in a subdirectory.
    http://www.mydomain.ch/blog.
    (Because in the root directory is my main page. I'd like to open the blog in a subdirectory.)

    Then I could start the installing process with:
    http://www.mydomain.ch/blog/wp-admin/install.php

    I can open the blog only with:
    http://www.mydomain.ch/blog/index.php

    If i try with http://www.mydomain.ch/blog i see a directory with files as:
    index.php
    wp-admin
    wp-app.php

    When I click to comments on my first blog page I also see the same directory with files as:
    files as:
    index.php
    wp-admin
    wp-app.php

    My setting are:
    WordPress-Addres (URL):www.mydomain.ch/blog
    Blog-Addres (URL):www.mydomain.ch/blog

    Thanks for your support.

    Best regards
    krah

  2. Jeremy Clark
    Moderator
    Posted 6 years ago #

    Your host doesn't have index.php setup as the default document. You can try adding this to your .htaccess if you host uses apache servers.
    DirectoryIndex index.php index.html

  3. krah
    Member
    Posted 6 years ago #

    Hello

    Thanks for your help.
    My host uses asp 2.0 Servers but he support php and mysql.

    Best regards
    krah

  4. moshu
    Member
    Posted 6 years ago #

    If you can, move to a "normal" server... and in the meantime tell your host to make index.php a valid index file.

  5. krah
    Member
    Posted 6 years ago #

    My host said:
    We run php version 4.3.4 (WordPress requires 4.2 or greater) and MySQL version 4.1.18-standard (WordPress requires version 4.0 or greater), so you should be fine. It runs with more features on Apache (using mod_rewrite) than it will here on IIS, but it will work. I've done test installs that worked fine.

  6. Jeremy Clark
    Moderator
    Posted 6 years ago #

    Do like moshu said and tell your host to make index.php the default document.

  7. krah
    Member
    Posted 6 years ago #

    The problem is solved.
    Thanks a lot for your support.
    In the ISS Manager was index.php missing.

Topic Closed

This topic has been closed to new replies.

About this Topic