WordPress.org

Ready to get started?Download WordPress

Forums

XAMPP Localhost WordPress Problem (7 posts)

  1. tfmurphhk
    Member
    Posted 1 year ago #

    I'm a relative newbie... so please understand.

    I have installed XAMPP and also WordPress and have imported my LIVE blog into the XAMPP localhost system and I think I did it all right according to a tutorial found on the net.

    When I go to localhost/phpmyadmin I can get in and in the left column I see my blog (the database is called wordpress).. and when I click it all my files seem to be there.

    However, when I try to enter localhost/wordpress I get an error message:Oops! Google Chrome could not find http://www.localhost

    BUT if I type in 127.0.0.1/wordpress I get to my blog. It's pretty unstructured and lacking a theme... but it's there somewhat. Clicking on any of the articles however brings me back to the: Oops! Google Chrome could not find http://www.localhost

    And yes, I have changed my wp-config.php to reflect localhost and the recommended settings there as follows:

    define('DB_NAME', 'wordpress');
    define('DB_USER', 'root');
    define('DB_PASSWORD', 'Jxxxx');
    define('DB_HOST', 'localhost');
    define('DB_CHARSET', 'utf8');

    I know there is just something minor that I have set wrong.. but I'll be damned if I can find it....

    Can someone else??

    Thanks in advance.

    I might add that I just tried http://127.0.0.1/wordpress/?p=2862 and sure enough, I can get to the blogpost. (not in a theme) VERY WEIRD !!

    Tom

  2. vtxyzzy
    Member
    Posted 1 year ago #

    Did you translate all the links and paths in the database while importing your live site? Here is an article with the steps I use to migrate (copy) a site: http://wordpress.mcdspot.com/2012/08/22/migrating-a-wordpress-site-step-by-step/

  3. tfmurphhk
    Member
    Posted 1 year ago #

    Yep, I very carefully changed the links and paths before importing the database.

    I'll read through your link and see if I can come up with any other ideas... I appreciate it.

    Tom

  4. vtxyzzy
    Member
    Posted 1 year ago #

    Unless you used a special method to convert the embedded links and paths, those stored in serialized strings will probably be invalid.

  5. tfmurphhk
    Member
    Posted 1 year ago #

    Quite possibly... but would that be the cause of me not being able to access localhost/wordpress??

    Tom

  6. vtxyzzy
    Member
    Posted 1 year ago #

    Try taking out the www and just using http://localhost

  7. tfmurphhk
    Member
    Posted 1 year ago #

    Have tried that and I can get to the XAMPP screen that way.. but not to WordPress... very odd.

    I have sent you a private message through your site and hope to hear from you there.

    Tom

Topic Closed

This topic has been closed to new replies.

About this Topic