• Resolved trim32

    (@trim32)


    I’v installed WordPress 3.2.1 with Apache 2.2 and PHP 5.2. Trying to build a test site on my machine (localhost).
    I wanted to integrate WordPress into the root so I’v copied the wordpress files into Apache2.2/htdocs directory. I’v created a homepage and blogs page from the administrative panel. I don’t see any of those html pages actually created in the htdocs directory.
    Moreover, WordPress does not return the homepage (as created from the admin panel) at the root url i.e. when I open http://localhost, I see the htdocs directory contents instead of any homepage (i.e. after removing Apache’s default homepage index.html). Similarly http://localhost/wp-admin returns the directory contents. I have to go to http://localhost/wp-admin/index.php in order to view admin panel.
    How do I render my homepage from root url?

Viewing 7 replies - 1 through 7 (of 7 total)
  • I don’t see any of those html pages actually created in the htdocs directory.

    That’s because your site’s content is stored in your database with pages generated on demand.

    How do I render my homepage from root url?

    Try adding index.php into the DirectoryIndex in your httpd.conf file.

    Thread Starter trim32

    (@trim32)

    Thanks for the reply esmi. But that didn’t help. It still returns the directory contents. Even invoking http://localhost/index.php explicitly doesn’t help. Apparently index.php isn’t doing much

    Did you install WordPress into the server root from that start? Or move it post-install?

    Please can anyone help me i have localhost installing problem

    Thread Starter trim32

    (@trim32)

    Sorry for earlier reply…. This actually works!!!… Thanks a lot 🙂

    @jbryl: It is considered impolite to interrupt another poster’s thread. Please post a new topic.

    @trim32: Excellent! 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Setting homepage with WordPress’ is closed to new replies.