• I posted this question a while back, esmi is the only one who responded, and her short response still leaves me lost: “Install a second copy in a sub-folder in your localhost root.”

    Alas, maybe I should change my login name to “knucklehead,” but I could surely use more “detailed” help with this issue.

    Questions still abound, so as a reference, this is what I have:
    1. I do not have a live site up; only on WAMP localhost.
    2. A single install of wordpress on WAMP here: C:\wamp\www\wordpress
    3. I access the site with https://localhost/wordpress.
    4. I access the wordpress login page with https://localhost/wordpress/wp-admin.

    Now, via the easiest way possible, I’d like to have a SECOND site—a copy of the one I have—on WAMP.

    This second site is to be a totally separate site based on the one I have, with minor changes to make it work with a different live domain name when I put it up later.

    So, I want two different sites here so I can work on them independently.

    Any information on how to do this with a little more detail than esmi’s original response—or an expansion of her response—would be greatly appreciated.

Viewing 11 replies - 16 through 26 (of 26 total)
  • Moderator cubecolour

    (@numeeja)

    I just got back from the pub- typing on the iPhone right now so excuse spelling. I suggested a WordPress export/import. as importing a database export would be more fiddly if your not used to doing that & you’d need to perform a search/replace. Using a native WP export/import should be easier to get your head around.

    To go into more detail – I’d suggest creating a new database & install your wordpress2 installation linked to that. you’ll then have a fresh install with no data, then use the built-in WP feature to export your posts & pages from the original site & import into the new one. you will need to set a few options to clone the site such as enabling plugins & setting up widgets, but that shouldn’t take long

    Thread Starter adhdcelt

    (@adhdcelt)

    Hey, thanks, cubecolour.
    I’ll chew on that for a while, as it’s past my bedtime on this side of the world. I may be back cryin’ for help before it’s over.

    Peredur helped me a lot, and I’m now so close to figuring it out.
    I’ll look into this.

    Thread Starter adhdcelt

    (@adhdcelt)

    OK, cubecolour:
    I started over:

    1. Copied original site folder to root under wordpress2 name.
    2. Modified wp-config.php in wordpress2 to this: define(‘DB_NAME’, ‘wordpress2’);
    3. Created new wordpress2 database using phpMyAdmin.
    4. Exported original site in dashboard/tools/export.
    5. Attempted to access login page at https://localhost/wordpress2/wp-admin.
    6. Got 403 FORBIDDEN page: “You do not have access to…”

    Moderator cubecolour

    (@numeeja)

    That sounds like a permissions problem. Do the ‘wordpress’ & wordpress2 directories & contents have the same permissions?

    Also can you get the static html page https://localhost/wordpress2/readme.html to load up?

    Thread Starter adhdcelt

    (@adhdcelt)

    Yes, it actually says “you don’t have PERMISSION to access…”
    Sorry about that.

    As for permissions, I have no idea if they have the same permissions. I don’t know how to determine that on a localhost setup.

    And, no, same error when trying to access readme.html.

    One thing: The new database has no tables in it.
    It has two users—one root—with global privileges, but no tables.

    That’s your problem then. Or at least part of it. You need to copy your old database into your new one, or you’ll never get anywhere.

    Cheers

    PAE

    Thread Starter adhdcelt

    (@adhdcelt)

    Yeah, just like you said before, peredur.
    I’m gonna do that again right now.

    Good luck. I mean it.

    PAE

    Thread Starter adhdcelt

    (@adhdcelt)

    OK, peredur:
    1. successful database import.
    2. got login page at https://localhost/original-site-folder/wp-admin
    2. Changed “siteurl” option in new database Options table to new site folder location—wordpress2.
    3. got login page at https://localhost/wordpress2/wp-admin
    4. plugged in original username and PW
    5. HOLY $%@!, peredur: DASHBOARD UP using original username and PW!!!!!
    OMG!

    So far; so good.
    It all looks like it’s there.
    Just changed “Settings” and it worked.
    OMG!

    Thank God for people like you and cubecolour, peredur.

    There’ll be a little something extra in your checks when I hit the lottery.

    We aim to please.

    ??

    PAE

    Thread Starter adhdcelt

    (@adhdcelt)

    Wow, and did you ever!

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘How do I set up a second site in a WAMP localhost install?’ is closed to new replies.