• I downloaded XAMPP and developed a WordPress site on my PC. I now want to develop a separate, non-related WP site on my PC. I have no idea how to go about doing this. Do I have to delete the existing WordPress installation of my first site (if so, do I just delete those folders and delete the mySQL table?) or can I do another WordPress install and use the existing mySQL database architecture to define another database table for the new site? I’d like to have both sites available for local development. Do I have to use WordPress MU?

    What to do, and more importantly HOW to do it??
    Thanks for any and all help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You don’t need to do anything to your existing site. (I have 4 sites on my PC).

    Pretend that your first site is not there and create a new one just like you did the first one. Just create a new folder under xampp/htdocs and install WP into it. Create a new database for the site and modify the new wp-config.php to point to that database.

    Thread Starter barbcpeter

    (@barbcpeter)

    Thanks for the info, Vtxyzzy!

    Since I am not seasoned in this sort of thing, please verify my following statement or provide assistance (thank you very much!):

    I can use my existing mySQL installation and thru phpmyAdmin create a new database table for the new site. Then modify the new wp-config.php file in the new xampp/htdocs folder to point to that db table.

    I haven’t done this in awhile, so is there a specific line in the wp-config.php folder into which I need to put the new path?

    Sorry for sounding like a dullard!
    And once again, thanks for the help…

    Almost! Use the existing mySQL installation and thru phpMyAdmin create a new database (not a table).

    You are just to follow the installation instructions to install WP in your new xampp/htdocs/newsite folder as if you did not have another site.

    HTH

    Thread Starter barbcpeter

    (@barbcpeter)

    Thanks so much!

    It worked like a charm and I now have 2 WP sites on my PC! Excellent!

    awesome!!! been working on this all day!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Installing Multiple WordPress Sites on local host’ is closed to new replies.