Adapting Single WP site to Multisite WP

Hi, I'd like to change http://www.thedreamfactory.net to a multisite before I launch it next week so that it's ready on the correct platform type.

I just need a bit of support on how to do this without losing all my work.

I'm using the help page http://codex.wordpress.org/Create_A_Network

Some questions from this page:

1. it states i need to deactivate all plugins.
Question: once I reinstall them will all their configurations remain from previous install or will I have to start again?

I have done a lot of work on the Gravity Form plugin so just need to know if I need to take screenhots of all their configurations.

2. Where it states "2. Add the specified lines to your .htaccess file ". Which lines are they referring to?
I is the same lines that go into wpconfig?
/* Multisite */
define( 'WP_ALLOW_MULTISITE', true );

3. Do i then reactivate my plugins and it should all come back as it was but with the networked admin instead as backend?

Thanks

Daniel

  • Jack Kitterhing
    • Code Norris

    Hi there @Daniel,

    Hope you're well today and thanks for your question.

    1. it states i need to deactivate all plugins.
    Question: once I reinstall them will all their configurations remain from previous install or will I have to start again?

    This unfortunately is plugin dependent, most plugins don't delete their settings from the database on deactivation but some do, I'd recommend taking screenshots of the configurations, in case the settings are deleted.

    2. Where it states "2. Add the specified lines to your .htaccess file ". Which lines are they referring to?
    I is the same lines that go into wpconfig?
    /* Multisite */
    define( 'WP_ALLOW_MULTISITE', true );

    Depending on if you use sub domains or sub directories, they are referring to the .htaccess rewrite rules here, https://codex.wordpress.org/Multisite_Network_Administration#Permalinks

    And then there is the additional code that is added to the wp-config.php, your going with sub directories for this site correct? :slight_smile:

    Thanks!

    Kind Regards
    Jack.

  • Daniel
    • Site Builder, Child of Zeus

    HI Jack, yes going for sub directories for this site.
    Still not clear what would be put in the .htacces file. Can you let me know it?

    I don't have any permalinks in the site, so happy to do that...

    Thanks again, oh and if you have a chance to look into making the communifi ok with sub directories that woudl be great. Need to stop spammers creating accounts soon.

    Daniel

  • Jack Kitterhing
    • Code Norris

    Hi there @Daniel,

    Hope you're well today and thanks for the additional information.

    As your be using subfolders, you need the following in your .htaccess file.

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    On the other site, I'm investigating that, feel free to turn off registration, as I have super admin so can re-enable if needed :slight_smile:

    Thanks!

    Kind Regards
    Jack.

  • Daniel
    • Site Builder, Child of Zeus

    Thanks Jack, i'm deleting all the other users and made your Jack login super admin too for now.

    My server disk space went over these last few days, I wonder if that's all the new sites that were registered. Does deleting their usernames delete their site setups too by the way? or should I delete them elsewhere?

    Thanks for help. Will be setting up the DF MS this weekend.

    Daniel

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.