• Hey,

    So I posted a topic similar to this a few months back – but decided to give up on Multi-Site/Domain mapping as it was delaying my website production. I now require it to work so I’m attempting it again.

    I’ve created the multi-site function and am trying to get our main site https://www.luffit.com to link with our forum https://www.luffit.org. Instead of using luffit.org, I am testing multi site by using https://www.iluffit.com.

    It is hosted by Godaddy, so I’ve edited the multi site to work with sub directories instead of sub domains (I read somewhere that Godaddy does’t work with subdomains_

    Only problem is I seem to have run into the same issue I had previously. I’ve set up the https://www.iluffit.com as a parked domain on https://www.luffit.com. Changed it’s DNS settings to point toward the same server. But when I create the new site, it doesn’t show up as any of my sites on the dashboard.

    It shows up as a list on the Sites page, but the domain fails to go to it’s own and instead goes to https://www.luffit.com. Similarly if I click the dashboard, it heads to the dashboard of https://www.luffit.com

    I’ve been struggling with this issue for a while, and I’ve no idea how to correct it. I’m 99% sure I’ve followed all the suggested steps, so anyhelp would be amazing.

    My htc.access

    # 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

    Wp.config:

    /* Multisite */
    define( 'WP_ALLOW_MULTISITE', true );
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'luffit.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    define( 'SUNRISE', 'on' );
Viewing 3 replies - 1 through 3 (of 3 total)
  • I see a few possible problems. Everything I have read about WPMU says that to have https://www.mainsite.com and https://www.sub1.com takes some fancy PHP coding. Primarily your sites are either https://www.mainsite.com and https://www.mainsite.com/subsite1/ (subdirectories) or https://www.mainsite.com and https://www.subsite1.mainsite.com (subdomains). I use subdomains on Godaddy. no issues (now anyway).

    When I first set up WPMU I had similar issues as you. Here is where I went wrong (there were several places)

    I had put my subdomains in folders when I added them to my hosting account on godaddy. You should leave the line empty behind the / when it asks you where to put them. In other words I had to point them to my root file instead of to a file within my root.

    My htaccess is a little different:

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

    MY WP config:

    define('WP_ALLOW_MULTISITE', true);
    
    define('MULTISITE', true);
    
    define('SUBDOMAIN_INSTALL', true);
    
    define('DOMAIN_CURRENT_SITE', 'ktfmc.org');
    
    define('PATH_CURRENT_SITE', '/');
    
    define('SITE_ID_CURRENT_SITE', 1);
    
    define('BLOG_ID_CURRENT_SITE', 1);
    
    /* That's all, stop editing! Happy blogging. */

    This code must be DIRECTLY above the “that’s all, stop editing…” line. For some reason not having that arrangement casued issues the first time I set things up.

    I have no idea if this helps you at all, but I was where you are recently and was willing to try anything! Good luck!

    Also try this: https://premium.wpmudev.org/blog/offer-your-multisite-users-unique-domains-with-domain-mapping/

    Thread Starter carmstrongclark

    (@carmstrongclark)

    Hey ktfmc,

    Thank you very much for trying to help. I tried the route you took and create a sub-domain called forum.luffit.com and placed it behind the / as you suggested. That is essentially pointing it right?

    I even tried using your htcaccess code, and made sure my config file was directly above “Thats all…”, but still nothing seems to work.

    The new site never appears on the drop down of sites, and only appears on the sites page. If I visit the proposed new site via that page it just loops me back to my main page. Rather frustrating, but I’m glad to know that there is a light at the end of the tunnel :).

    Really appreciate your help though. I’ve either been incredibly stupid and have missed out something all this time, or the WP Gods are against me.

    Thread Starter carmstrongclark

    (@carmstrongclark)

    So I still haven’t been able to sort it, and I’m really not sure what to do.
    Does wordpress have a job board type thing where I pay for someone to complete the multi-site/domain mapping?

    Any help would be amazing!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New site not appearing & Can't access dashboard’ is closed to new replies.