Support » Networking WordPress » New Multisite Error

  • So I created a new multisite to customize a new theme.

    I have the site http://www.gothamartshd.com setup and successfully running a multisite for https://store.gothamartshd.com

    Now, going to http://test.gothamartshd.com my site redirects to my other site (mdpdance.com) and gives me the following:

    “Greetings Network Administrator! The network currently allows user registrations. To change or disable registration go to your Options page.”

    The site you were looking for, https://testgothamartshdcom.mdpdance.com/, does not exist.”

    Note: The FTP server has mdpdance.com WP installed and gothamartshd.com WP in a folder on the FTP.

    I have changed my .htaccess many times. Maybe missing something here.
    The following doesn’t work:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    I changed it to this, still not working:

    # 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

    And adding the following to my wp-config.php:

    define('WP_HOME','http://gothamartshd.com');
    define('WP_SITEURL','http://gothamartshd.com');
    
    /* Enabling multisites */
    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    define('DOMAIN_CURRENT_SITE', 'gothamartshd.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    
    /* Fix for ram crashing issues with menu and resolved Theme Customization. */
    define('WP_MEMORY_LIMIT','128M');
    define('WP_MAX_MEMORY_LIMIT','512M');
    
    define('NOBLOGREDIRECT', 'http://gothamartshd.com/');
    
    /* That's all, stop editing! Happy blogging. */
    
    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    Any suggestions?
    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • From what you say it sounds like you have WordPress in two directories?

    One of those two is a multisite.

    You need to tell your CP how to direct any domains you have for the multisite to the multisite’s directory and the multisite needs to be told to watch for that domain name (subdomain in your case). You do that by adding the site and mapping the subdomain into the multisite by way of the site editor.

    The norm is to just run one multisite on one host… anything else can be confusing. You’d normally point everything to the root directory and then let WordPress figure it out. When you have two WordPress running on the same host you need to lean on your CP a little more.

    htaccess is normally not the place to change or point things around with.

    @jnashhawkins Thank you for the inpute.

    Yes, I actually have 3 sites on my FTP in 3 directories. Two of those sites have multisites.

    What do you mean by CP? Sorry for the ignorance. My CP in my database? Or on my multisite area?

    I probably should have said control Panel instead of CP…

    What I think happens is any domain request is hitting the root http directory and being munged to the root WordPress domain with the target domain being added to the URL as a miss would normally do. That would then give you the default ‘welcome’ (or maybe that’s a 404 page) for missing pages.

    Whatever you did to get ‘store’ working needs to be done for any other subdomain you wish the other WordPress to serve. You probably used the ‘add on domain’ mechanism and then pointed that domain at the proper subdirectory. Just look at ‘store’s’ domain entry as a template to what you need to do.

    To be honest with you though… I’d not run a second (or more) multisite WordPress instances on most servers. That’s really asking for trouble.

    • This reply was modified 6 months, 3 weeks ago by JNashHawkins.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New Multisite Error’ is closed to new replies.