• 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, https://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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Refer this article:

    https://codex.www.ads-software.com/Moving_WordPress

    Thanks,

    Shane G.

    Thread Starter nylonlover

    (@nylonlover)

    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:
    https://mywebsite.com/wp-signup.php?new=dev2
    when I type:
    https://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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot copy WP MU installation to new folder’ is closed to new replies.