Support » Networking WordPress » Multisite don´t work

  • Resolved Heizpad

    (@heizpad)


    Hello,

    I have a problem with the multisite-function. I found many threads about this topic and the issue, but unfortunately nothing has helped me.

    My site is reaching by: http://www.maf-world.com/
    I can open the Dashboard, visit the page. Everything´s fine.
    I want subdomains like: xxx.maf-world.com.
    Not: http://www.maf-world.com/xxx

    If I wanna reach the Dashboard of the Subdomain, I always get this:
    http://www.screencast.com/t/zJho0bf9

    If I wanna reach the Subdomain (haha.maf-world.com) I get this:
    http://www.screencast.com/t/mmmadwt1ex

    I changed the wp-config.php and the .htaccess.
    This is the important part of wp-config.php:

    define( 'WP_ALLOW_MULTISITE', false );
    
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    define('DOMAIN_CURRENT_SITE', 'maf-world.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    If I change the first line to ‘WP_ALLOW_MULTISITE’, true)’ nothing happens. (Just to say right forward)

    That´s the htaccess:

    # BEGIN WordPress
    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)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress

    I also set a wildcard-domain. (*.maf-world.com)

    I don´t know what´s the problem.
    I hope you can help me, please.

    Best regards,

    Max

Viewing 4 replies - 1 through 4 (of 4 total)
  • Did you originally set up this multisite install for subdirectories (rather than subdomains)?

    In that case, I believe you cannot change it to subdomains without cleaning some tables from the mySQL database or re-installing the database.

    Also, I think I read somewhere that you can only change a site from single-site to multisite with subdomains within the first month from installation. After that, you can only opt for subdirectories.

    Moderator Bet Hannon

    (@bethannon1)

    Also, I think I read somewhere that you can only change a site from single-site to multisite with subdomains within the first month from installation. After that, you can only opt for subdirectories.

    I’m not sure why that would be the case…

    If I change the first line to ‘WP_ALLOW_MULTISITE’, true)’ nothing happens. (Just to say right forward)

    Your skipping an important step, namely installing the network. When you add the constant
    define{'WP_ALLOW_MULTISITE', true)

    you are supposed to go back to the dashboard and under the Tools menu, run the network setup. Then you add the remaining lines to your network config and htaccess. Without running the installer, WP wont create the database tables, which is why you are having trouble connecting to them, since they aren’t there.

    Thread Starter Heizpad

    (@heizpad)

    Hey!

    At first: Thank you for all your answers!
    It´s working now.

    Paul Barthmaier:
    Thank you for your help. I just skipped the step writing here. I actually made it. That was not the problem.

    Schuurmudgeon:
    Thank you.
    I originally set it up with subdirectories, yes.

    Bet Hannon:
    Thanks!

    Now the solution:
    When I created the Wildcard *.maf-world.com, I linked to: /maf-world.com/ instead of /www.maf-world.com/.
    I don´t know why this is a problem, but now everything works perfectly.

    In my case: You can switch between subdirectories and subdomains – even after a month.

    Thank you all for your help! I set it to resolved now. :))

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multisite don´t work’ is closed to new replies.