WordPress.org

Ready to get started?Download WordPress

Forums

Can't View Site - Dashboard OK (2 posts)

  1. readytoblog
    Member
    Posted 4 years ago #

    I have installed WordPress 2.8.6 in a directory named /Blog

    At first I could not access the dashboard and was only getting an Index of /Blog. Someone told me to add the following file named index.html because the server was not recognizing the index.php:

    <html>
    <head>
    <title>Public Register Blog</title>
    </head>
    <body onload="document.location='index.php'">
    </body>
    </html>

    I added this to the wp-admin folder and can now access and work in the Dashboard. All works fine.

    Now to my current problem - trying to view the blog. When clicking 'View Site' from the dashboard I only get an Index of /Blog. I tried adding the index.html to the root of my Blog folder but it seems to send it into some kind of loop and I only get a blank page.

    I also tried creating .htaccess with this line: DirectoryIndex index.php --didn't help

    My url: http://www.prars.com/Blog

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Someone told me to add the following file

    Bad idea in my opinion. The .htaccess method should work for the whole site - public and admin areas - providing you add it to root WP folder.

Topic Closed

This topic has been closed to new replies.

About this Topic