Support » Networking WordPress » Multisite Domain Mapping Errors (please help!)

  • Hello!
    I’ working in a fresh WPMS install to see if we can acheive the setup we need for a project. I have spent a good 8 hours searching, reading and trying and haven’t quite figured this out.

    We are setting up a network of sites that each need a top level domain, and are each to be managed by the same set of users. Ideally we need user session sharing between the sites.

    I have the basic setup, going but with errors.

    – I have pointed my domain Name Servers from godaddy to my hosting account that uses Cpanel.
    – From Cpanel i have assigned those domains to the public_html/multisite directory, which holds my WPMS install.
    – I have changed the site URL of each each sub-site to receive the incoming domains.

    The domain mapping appears to be functioning correctly at top leve, but moving anywhere inside the site, such as mydomain.com/first-post, or going to /wp-admin takes me to a 500 error.

    Also, When logged into the admin section of the main multisite install as super admin, and using the navigation within WP to go directly to the dashboard of each sub site, i receive the WP login page, and an error message about enabling cookies.

    Any help is very much appreciated! <3

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • I think you have multiple errors. IMO, you probably have a error .htaccess. Have you tried removing .htaccess. You should be able to access your main domain and wp-admin with it.

    Hi @mcall,

    about the cookies message, do you have define('MULTISITE', true); in your wp-config.php (not just WP_ALLOW_MULTISITE)? I saw the same symptoms without it.

    @born2webdesign
    I do:

    /* Multisite */
    define( ‘WP_ALLOW_MULTISITE’, true );

    define(‘MULTISITE’, true);

    Thanks for the thought though. I appreciate you taking the time.

    @jkhongusc

    Update: i have removed the .htaccess file and am not noticing a difference.

    UPDATE: Upon trying again, when I try to login directly at a mapped domain sub-sites (not clicking the link from my main MS install) i still get the cookies error, and am unable to log in.

    when i try to visit the dashboard of a sub-site while using the main MS dashboard navigation it takes me from mappeddomain.com/wp-admin to mappeddomain.com/mutlisitedirector/wp-admin and gives me an internal server error.

    Thank you in advance for any other thoughts. I appreciate your time.

    • This reply was modified 2 months, 1 week ago by  mcall.

    I would make sure your WP configurations are correct:
    1) remove your .htaccess file (actually back it up)
    2) get a new version from the Network menu – http://domain.com/wp-admin/network/setup.php
    3) Compare the .htaccess files
    4) check your wp-config.php configurations.

    Can you tell me how you mapped your subdomains? We use the WP Domain Mapping plugin – https://wordpress.org/plugins/wordpress-mu-domain-mapping/

    If you are not using the Domain Mapping plugin, you need to do additional configurations in wp-config.php

    @jkhongusc

    The link you provided on step 2 seems to be a 404

    I mapped the domains by:
    1. pointing my domain Name Servers from godaddy to my hosting account that uses Cpanel.
    2. in Cpanel, assigning those domains to the public_html/multisite directory, which holds my WPMS install.
    3. Changing the site URL of each each sub-site to receive the incoming domains.

    an example of one of the sub-sites using a mapped domain is:
    http://utahartspassport.org/

    http://domain.com/wp-admin/network/setup.php

    Replace “domain.com” with the sitename that you installed your main WP domain on.

    Did you follow these instructions to create your network – https://codex.wordpress.org/Create_A_Network

    My guess is you did a few complexities (possibly): installed WP on an IP address, installed in a subdirectory, re-mapped the subdirectory to base (/), and possibly others.

    @jkhongusc

    Ha, thanks, i should have looked at the url closer. Yes i have copied the code from setup.php exactly.

    You are correct, i have installed WPMS in a subdirectory. Does that make things much more complex?

    thiswaystewie

    (@stupidnamegenerator)

    I would also like an answer to this, same boat as mcall!

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.