WordPress.org

Ready to get started?Download WordPress

Forums

Installs but no blog template, just file listing (9 posts)

  1. mdmick01
    Member
    Posted 3 years ago #

    Installation seems correct, database created, but when I login I get taken to a file listing off the server. See here:
    http://www.mickmedia.net/wordpress/index.php

    ideas? TIA

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Try adding:

    DirectoryIndex index.php index.html index.htm

    to the top of your root WP .htaccess file.

  3. mdmick01
    Member
    Posted 3 years ago #

    I don't have a root WP .htaccess file

    Was it suppose to install?

  4. mdmick01
    Member
    Posted 3 years ago #

    this code is in the index.php file:

    define('WP_USE_THEMES', true);

    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');

    does this look right? I am not familiar with ./ before a file name.

  5. esmi
    Forum Moderator
    Posted 3 years ago #

    Was it suppose to install?

    Not via WordPress but could be present on some servers. ensure that your FTP client is configured to show all files, though, as .htaccess files are often hidden by default.

    If you're quite sure than no such file exists, simply create an .htaccess file and add the line I suggested above. Then upload it to your WordPress folder.

  6. mdmick01
    Member
    Posted 3 years ago #

    Didn't work, generated a 500 error code.

  7. esmi
    Forum Moderator
    Posted 3 years ago #

    Then ask your hosts for assistance.

  8. mdmick01
    Member
    Posted 3 years ago #

    OK, thank you for you time.

  9. esmi
    Forum Moderator
    Posted 3 years ago #

    No problem :-)

Topic Closed

This topic has been closed to new replies.

About this Topic