Forums

Cannot copy WP MU installation to new folder (3 posts)

  1. nylonlover
    Member
    Posted 2 years ago #

    I have an WP MU installation. I want a development type installation where I can try new things without messing up the main installation.

    How do I do that?

    I created a folder inside the public_html dir where the default installation is at and called it dev.

    I then copied all the files of the main blog into the dev folder.
    I copied the database and called it devDB.
    I edited wp-config and edited this line: define('PATH_CURRENT_SITE', '/dev/' );
    Changed the .htaccess file so BASE is now /dev

    When i pull up the site, http://www.mywordpresssite/dev, I get the "framework" page, but the content says "You 404’d it.".

    All attempts to go to that dev folder redirect to the main site. Is it the .htaccess file I need to edit?

    thanks,
    nylonlover

  2. Shane G.
    Member
    Posted 2 years ago #

    Hi,

    Refer this article:

    http://codex.wordpress.org/Moving_WordPress

    Thanks,

    Shane G.

  3. nylonlover
    Member
    Posted 2 years ago #

    Thanks! That article does help quite a bit, not exactly.

    I don't think I can do what I wanted to do. I don't want to move it, I want to copy the entire site to a new directory. I wanted to copy the entire site, all the content in the root directory and place it in a new folder so I would have a duplicate, working copy of the site to work with.

    I've gone in and changed the entries in the database to the new site_url, disabled the new .htaccess file, etc.
    It still does not work, I get:
    http://mywebsite.com/wp-signup.php?new=dev2
    when I type:
    http://dev2.mywebsite.com.

    I believe because it's in a directory inside the root directory, I would have to edit that .htaccess file in order to "see it" and not redirect it.... ?

    thanx!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags