Forums

[resolved] WP MU Domain Mapping plugin not showing up in network (4 posts)

  1. MattV
    Member
    Posted 10 months ago #

    I´ve just installed Donncha's WordPressMU Domain Mapping plugin. I can edit the settings from Network Admin > Settings > Domain Mapping, but when I go to Network Admin > Settings > Domains no sites are listed.

    Also, the plugin is not activated on the network sites´ plugin pages (in fact it´s not even listed), although I did activate it for the whole network.

    I´ve no idea where to look anymore, I hope someone has an idea.

    Below a few facts about my network:

    1. Fresh WP multisite install using subdomains
    2. 2 sites: primary.com and sub.primary.com
      Folder structure:

    1. wp-content/sunrise.php
    2. wp-content/plugins/wordpress-mu-domain-mapping

    In wp-config:

    /**
     *  WORDPRESS MULTISITE
     */
    define('WP_ALLOW_MULTISITE', true);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'primary.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    
    /* 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. */
    define( 'SUNRISE', 'on' ); /* Requiered by domain mapping plugin */
    require_once(ABSPATH . 'wp-settings.php');

    On my Network Admin dashboard it says "You have 1 site and 1 user., while that should be 2 sites and 1 user? The sites do show up in the "Sites" submenu.

  2. Andrea_r
    team pirate
    Posted 10 months ago #

    but when I go to Network Admin > Settings > Domains no sites are listed.

    because you haven't mapped any domains yet.

    Also, the plugin is not activated on the network sites´ plugin pages (in fact it´s not even listed), although I did activate it for the whole network.

    network activated plugins do not show on the sub sites plugins pages. because they are already activated and you cannot turn them off from there. it;s too confusing for the user.

    on the SUB site look under the Tools menu for the domain mapping sub menu.

  3. MattV
    Member
    Posted 10 months ago #

    Thanks so much Andrea, it works now :)

    The domain mapping sub menu still doesn´t show up under the Tools menu of the subsite, but I don´t need that anyway.

  4. Andrea_r
    team pirate
    Posted 10 months ago #

    There's a checkbox to let it show. ;)

Reply

You must log in to post.

About this Topic