Forums

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

  1. mdmick01
    Member
    Posted 1 year 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
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Try adding:

    DirectoryIndex index.php index.html index.htm

    to the top of your root WP .htaccess file.

  3. mdmick01
    Member
    Posted 1 year ago #

    I don't have a root WP .htaccess file

    Was it suppose to install?

  4. mdmick01
    Member
    Posted 1 year 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
    Theme Diva & Forum Moderator
    Posted 1 year 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 1 year ago #

    Didn't work, generated a 500 error code.

  7. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Then ask your hosts for assistance.

  8. mdmick01
    Member
    Posted 1 year ago #

    OK, thank you for you time.

  9. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    No problem :-)

Topic Closed

This topic has been closed to new replies.

About this Topic