WordPress.org

Ready to get started?Download WordPress

Forums

Not able to view my site when installed on local machine (4 posts)

  1. gagrawal
    Member
    Posted 2 years ago #

    Hello,

    I have installed wordpress successfully on my local machine.

    I created a demo page also for my site, but when I click "Visit Site" it takes me to the directory structure of root directory where wordpress is installed. all the files are displayed on the browser.

    I'm not getting why it's happeing, please tell me.

    Thanks
    Gaurav Agrawal

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Try configuring the DirectoryIndex on your local server.

  3. nadafouad
    Member
    Posted 1 year ago #

    Hi...I'm facing the same problem just like urs gagrawal. did u manage to fix? if yes, would you please tell me how??I'm getting really frustrated cause i tried everything!

    Thanks

  4. gagrawal
    Member
    Posted 1 year ago #

    Add index.php to DirectoryIndex in Apache2.2 httpd.conf on Windows

    #
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    #
    <IfModule dir_module>
    DirectoryIndex index.html index.php
    </IfModule>

    That's what I did. We have to index our index.php first after that server will take it.

    Ref:
    http://itguykelly.wordpress.com/2006/11/01/add-indexphp-to-directoryindex-in-apache-httpdconf/

    Let me know Once it is done!

Topic Closed

This topic has been closed to new replies.

About this Topic