• Resolved wp_lion

    (@wp_lion)


    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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”.

    Thread Starter wp_lion

    (@wp_lion)

    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?

    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)

    Thread Starter wp_lion

    (@wp_lion)

    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…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post installation – Visit Site problem’ is closed to new replies.