WordPress Direct Fix | HostGator Support
  1. Knowledge Base
  2. >
  3. Results
  4. >
  5. WordPress Direct Fix

WordPress Direct Fix

IndexOf Listing Error

If you get the IndexOf listing error or an incomplete installation while trying to install WordPress Direct, try the steps below to resolve it.

Access the .htaccess File

If you only see IndexOf after installing WordPress, you need to add the following line to the .htaccess file: DirectoryIndex index.php
  1. Log in to cPanel.
  2. In the Files section, click File Manager.

    Hostgator cPanel File Manager

  3. Access the .htaccess file in your WordPress folder, right-click, and select Edit on the pop-up. Click here to find the Document Root of your website.

    File Manager .htaccess

  4. In the next pop-up that appears, click Edit to open the Text Editor.

    File Manager Edit .htaccess

  5. Click Save Changes in the top-right corner after adding: DirectoryIndex index.php.

Delete the default.html Page

  1. Log in to cPanel.
  2. In the Files section, click File Manager.

    Hostgator cPanel File Manager

  3. Right-click on the default.html file and select Delete before you attempt the installation.
  4. After removing the default.html page, attempt the WordPress Direct installation again.