Migrate multisite or multisite from wordpress to local under wampserver

0

I have nowhere else to look and it has been 2 days and I have done everything possible but nothing works as I want. I was assigned a project where I must migrate a page made in wordpress multisite to local to work it.

The following happens, my boss passed me the hosted files of the hosting up to the sql. I decided to start by a fast path where I installed a plugin called duplicator which does not support multisite when I saw this, I decided to do it manually, which has been very complicated but I will dictate it in parts:

  • I use as Wampserver 3.1.3
  • I create the folder within www called "test"
  • I copy and paste all the files, including the .htaccess
  • The .sql file that was in the hosting is imported

Fixed Errors:

  •   

    Internal Server

    The way to fix it was by removing the .htaccess file hosted in my "test" folder

  •   

    No Establish connection to the database

    It was decided to configure the wp-config which was as follows:

    // ** MySQL settings - You can get this info from your web host ** //

    define('DB_NAME', 'salem');
    define('DB_USER', 'root');
    define('DB_PASSWORD', '');
    define('DB_HOST', 'localhost');
    define('DB_CHARSET', 'utf8mb4');
    define('DB_COLLATE', '');
    

    / * Multisite * /

    define( 'WP_ALLOW_MULTISITE', true );
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'localhost');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    

    In this it can be seen that the Domian which was associated with the page is now localhost and uses the default account that comes in phpmyadmin

  •   

    Configuring tables in phpmyadmin

    Here the following tables were configured:

    3.1. wp-options : where site_url and home were changed by (http:) localhost / test
    3.2. wp-blog : where domain was changed to localhost and patch to / test /
    3.3. wp_site : where domain was changed to localhost and patch to / test /
    3.5. wp_sitemeta : where siteurl is changed by (http:) localhost / test /

  • So far so good, notice that I get localhost or the content of wordpress but another problem happens because the page does not load the stylos by any side or I do not know if it is the wordpress but it appears something like the following image

    I want to instruct you to edit the wampserver httpd.conf file, saying Allow From all because before it appeared it did not have permissions and well that's what I have if you want to do the test or if you find a viable solution serious help.

    Thanks

        
    asked by Teik4n0n 06.07.2018 в 03:08
    source

    0 answers