WordPress.org

Ready to get started?Download WordPress

Forums

WP Multi Network
Network subsites not working (5 posts)

  1. applesapples
    Member
    Posted 3 years ago #

    Hi!

    Thanks for this great plugin!

    I followed the instructions here to setup my multi-network:
    http://www.uv.mx/personal/gvera/2010/11/19/how-to-use-the-wp-multi-network-plugin/#comment-44

    Everything works perfectly, except for the subsites, which all have a not found error. When i click on the logos or other automated links within the theme, it links back to the network parent site. So in other words, the subsites within each network aren't being properly registered as sites.

    Could someone please advise me as to how I can overcome this? Your help would be most appreciated!!

  2. Curtiss Grymala
    Member
    Posted 3 years ago #

    Honestly, I don't think those are good instructions to follow. Those instructions have you physically copying portions of your WordPress installation into new locations, which is not required (and generally not desired) with the WP Multi Network plug-in.

    The only things you really need to do to get the WP Multi Network plug-in working (in my experience, at least - I've installed and activated it on two servers at this point) are:

    1. Perform a complete back-up of your WordPress installation (database and files)
    2. Install and activate the WP Multi Network plug-in
    3. Open your wp-config.php file and comment out the following lines (if they exist in your wp-config.php file):
      define( 'DOMAIN_CURRENT_SITE', 'example.com' );
      define( 'PATH_CURRENT_SITE', '/' );
      define( 'SITE_ID_CURRENT_SITE', 1 );
      define( 'BLOG_ID_CURRENT_SITE', 1 );
    4. Generate new "salts" for your cookies (this step isn't necessary, but it helps to ensure that lingering cookies won't mess anything up when you try to login) by visiting https://api.wordpress.org/secret-key/1.1/salt/ and pasting the new information in place of the old salts.
    5. Save and upload your modified wp-config.php file
    6. Go back to your Admin area and login again.
    7. Go to the "Super Admin" menu and click "Networks".
    8. Fill out the form to create a new network. Make sure that the "domain" does not include "http://" at the beginning, but it should be a full domain name (for instance, if you want to access the new network by visiting http://subdomain1.example.com/, you would enter "subdomain1.example.com" in the "domain" field).
    9. In the "path" field, enter a "/" (unless your current site is located at a different path, but most of them are located at "/")
    10. Click the "Create Network" button.

    All of that said, I believe this plug-in is normally intended to create new "sites" in sub-directories (so your initial WP Multi-Site setup should be done for sub-directories, not subdomains) and the "networks" to be set up in either subdomains or completely different root domains.

    In addition, if you are planning to use subdomains for your new "networks", make sure that your DNS and apache settings are configured to allow either the specific subdomains you'll be using or, ideally, wildcard subdomains.

    Good luck.

  3. xxangel
    Member
    Posted 3 years ago #

    Hi, I have a similar problem, but not quite exactly that. I did what Curtiss had posted, but I can't seem to get to my subdomain; my wordpress multisite is installed at DOMAIN.COM, but I want a network at BLOGS.DOMAIN.COM. I've created a CNAME record for blogs at my registrar (Namecheap) that points to DOMAIN.COM but it doesn't work. I tried an A record and that doesn't work either. Do you have any idea how to do this? Thanks!

  4. eddihughes
    Member
    Posted 3 years ago #

    In order to get subdomains.domain.com to work you need to use a wildcard CNAME record in your DNS. For example, *.domain.com

    You can set it up for *.mothership.com but when you start adding childdomains.com you need to make sure the * is added to the DNS.

    It looks like this:

    NAME TTL TYPE DATA
    * 72000 CNAME @

  5. illovich
    Member
    Posted 3 years ago #

    I'm having trouble with this plug-in, but I'm not sure if it's the plug or that there's an extra step.

    Our server is setup to host sites following the format:

    http://wp.school.edu/{username}

    Due to a project with the art school, we want to set up eportfolio sites under the url:

    http://wp.school.edu/artSchool/designDept/eportfolios/{username}

    I was able to get http://wp.school.edu/artSchool/ working without a problem, but while I can make a new network called http://wp.school.edu/artSchool/designDept I get 404 errors when I try to access the admin area of designDept and although the content of the site loads, the theme files 404 as well.
    ( anything under
    http://wp.school.edu/artSchool/designDept/wp-content/themes/twenty-ten)

    So, is this a limitation of the plugin? Or do I need to add something to the htaccess file?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic