• Hi, I’m a new user of wordpress (have used Joomla for 10-15 years) but will now use wordpress.

    I have created a multisite + sites in a sub folder, but now want to move this into the root directory.
    But I apparently lose connection to the DB when I try. Is there something I overlooked, or need to do/edit or should be aware of?

    The installation to be moved are here: http://menubestilling.dk/wp/

    Best regards
    Boris
    DanChef

Viewing 2 replies - 1 through 2 (of 2 total)
  • Instead of moving all the files in the subfolder to the root, I prefer the following approach which eliminates the problem of mixing up root files and WordPress files by keeping them separate:
    https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install
    Read the section “Using a pre-existing subdirectory install”.

    I have used it for nearly 10 years and find it especially handy when rebuilding a site from scratch as I can just switch directories that appear for the domain name within seconds.

    Thread Starter danchef

    (@danchef)

    Hi and thanks for your fast reply.
    I have tried to do as described but it won’t work.
    Using a pre-existing subdirectory install:

    I can not find this box under General/Settigs:
    In the box for Site address (URL): change the address to the root directory’s URL. Example: http://example.com
    Click Save Changes. (Do not worry about the error message and do not try to see your blog at this point! You will probably get a message about file not found.)

    You could get admin access to my site, If you want to look at it.

    Regards
    Boris

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Move installation (multisite+sites) to root folder’ is closed to new replies.