WordPress.org

Ready to get started?Download WordPress

Forums

Problem viewing the website (2 posts)

  1. tayyabhussain
    Member
    Posted 5 years ago #

    Good Day,

    I installed word press with apache, PHP and my sql using the http://localhost/wordpress/wp-admin/install page. It installed correctly and i can log in as an administrator and can add the contents like pages etc..

    Problem is when i click upon View Site link at top left corner of the admin page. Brower just takes me to the main Directory (wordpress). I can see all the contents of the directory there including index.php. When I click at Index.php it still shows the the contents of same directory. Actually no matter which page I do click. It just shows me the contents of the directory.

    So any help to view the site would be highly appreciated.

    Thanks

  2. WebDev WaxLotus LLC
    Member
    Posted 5 years ago #

    Well, if you can access the admin side of things then Apache knows what to do with .php files.

    If it cries when accessing specific directories, I'd check httpd.conf and the .htacess files to see what Directory directives are set.

    http://forums.freebsd.org/showthread.php?t=2234
    https://www.linuxquestions.org/questions/linux-software-2/apache2-prevent-directory-listing-424520/

    etc...

Topic Closed

This topic has been closed to new replies.

About this Topic