WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Post installation - Visit Site problem (5 posts)

  1. wp_lion
    Member
    Posted 5 years ago #

    After successfully installing XAMPP and wordpress when I click "Visit Site" link in admin it takes me to the phpinfo() page.

    http://localhost/wordpress/

    The /index.php calls phpinfo() but I'm expecting to see the public blog at this point - what am I missing?

  2. MichaelH
    Member
    Posted 5 years ago #

    I have xampp installed in c:\xampp. The web-root folder is c:\xampp\htdocs. WordPress is in c:\xampp\htdocs\wordpress and so can be accessed at localhost/wordpress

    Might review where and what files you uploaded. See Installing WordPress and the section on "installing on your pc".

  3. wp_lion
    Member
    Posted 5 years ago #

    I have the same webroot:
    c:\xampp\htdocs
    and wordpress installation directory:
    c:\xampp\htdocs\wordpress

    When I visit localhost/wordpress it always displays phpinfo().
    c:\xampp\htdocs\wordpress\index.php file's contents:

    <?php
    phpinfo();
    ?>

    Is this correct?

  4. MichaelH
    Member
    Posted 5 years ago #

    That tells me you don't have a complete and intact set of files because the wordpress/index.php has this:

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');
    ?>

    Make sure you have all the files (see Download tab at top of this page if necessary)

  5. wp_lion
    Member
    Posted 5 years ago #

    Problem solved, thanks Michael.

    My problem was an incorrect index.php file. When creating a PHP Project in Aptana Studio it was overwriting the wordpress delivered index.php with one I had created because of the way named projects work in my IDE...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags