• Hello,

    i am moving my multisite to a new domain.

    it used to be under a folder like (mysite.com/1/mysite)

    now i am using it under a sub folder (site.mysite.com)

    i disabled the multi-site when moving to my new domain and server.

    I am having problem with setting up the config file and .htaccess for this.

    The error messaging i am getting is the homepage is taking me to
    http://http//site.mysite.com/wp-signup.php?new=site.mysite.com

    these are my settings: I copied them from the network. But i added the value for sub domain manually since i am using one now.

    Note i see an error message in my tools->Network
    Warning: An existing WordPress network was detected.

    /* Multisite */
    define( 'WP_ALLOW_MULTISITE', true );
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    define('DOMAIN_CURRENT_SITE', 'http://site.mysite.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    and .htaccess

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ wp/$1 [L]
    RewriteRule . index.php [L]

    do you guys see any problem with these? If i remove these codes from config file single site works fine. so i think the problem is with my config file.

    please help
    thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter rockydude

    (@rockydude)

    i was able to get this to work. however my homepage works, but when i go to the pages i created its going to http://http//mysite.com

    does anyone know why?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    How did you move Multisite? Did you read, and follow, the directions at http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Multisite

    Thread Starter rockydude

    (@rockydude)

    yes,

    i followed every single step on that page you gave me….

    i have a multilingual site and when i switch the language between the posts its going to http// without the :

    it only happens in the articles, but on the home page.

    my site only works with http:// but not www

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    And when you did the search/replace did you perhaps not get the values right?

    I’m 99% sure you have this messed up in the database. Compare the OLD one to the new one and see what’s different for wp_site and wp_blog and all that fun stuff.

    You’re going to have to compare all this by eye, since that is a MAJOR move.

    Thread Starter rockydude

    (@rockydude)

    My English site seems fine, the problem only occurs on the French articles..

    also my admin network panel gives me an error message
    “This web page has a redirect loop Reload”

    Thread Starter rockydude

    (@rockydude)

    It seems to work when i change the permanent settings, but not the Network level.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    It seems to work when i change the permanent settings, but not the Network level.

    The … what? What ‘permanent’ settings?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Multi-site config file issue (new server and new domain)’ is closed to new replies.