WordPress.org

Support

Support » Plugins and Hacks » Networks for WordPress » [Resolved] [Plugin: Networks for WordPress] Subdomains addition

[Resolved] [Plugin: Networks for WordPress] Subdomains addition

Viewing 8 replies - 1 through 8 (of 8 total)
  • I guess the only way to do it is to create a new network for the subdomain if you want to be reachable in the format:
    http://subdomain.example.com

    Plugin Author David Dean

    @ddean

    Hi fka,

    If you chose sub-directory (not sub-domain) install when first enabled the Network feature, you will have to create a new network for each different domain or sub-domain.

    If you choose a sub-domain install, you may be able to get the URLs you are looking for without adding networks.

    Thanks David. You are right.
    I looked into it and someone I had working on a theme made changes to wp-config among other things. I changed things back and it is working fine.
    I am making the status of this thread resolved.

    could you post the changes you made to the wp-config? I am currently stuck with a similar problem and would greatly appreciate the help

    Hi David,

    I changed back the subdomain_install from false to true below the comments that begin with:
    /**
    * For developers: WordPress debugging mode.
    *
    * Change this to true to enable the display of notices during development.
    * It is strongly recommended that plugin and theme developers use WP_DEBUG
    * in their development environments.
    */

    so below this comment, I have the following lines:

    define('WP_DEBUG', false);
    define('WP_ALLOW_MULTISITE', true );
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';

    just to clarify, are you now able to add different networks or are the websites all running as sub sites on a single network?

    SUCCESS!! I can now administrate the different networks i have set up!

    Thank you for your help fka!

    I had to comment out the lines in order to add subsites

    define( ‘DOMAIN_CURRENT_SITE’, ‘example.com’ );
    define( ‘PATH_CURRENT_SITE’, ‘/’ );
    define( ‘SITE_ID_CURRENT_SITE’, 1 );
    define( ‘BLOG_ID_CURRENT_SITE’, 1 );;

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] [Plugin: Networks for WordPress] Subdomains addition’ is closed to new replies.
Skip to toolbar