I've really gotten myself into a pickle here.

So I currently have a site www.company.com which has multiple wordpress installs at



company.com/site3 (linking domain: awesomecompany.com)

company.com/site4 (linking domain: okaycompany.com)

And I started working on a multisite to replace that site at company.com/newsite/

Which currently has links with



company.com/newsite/site3 (mapped from awesomecompany.com)

company.com/newsite/site4 (mapped from okaycompany.com)

I was able to map the pages, but ended up with 500 server errors for every page except the home page. I updated my .htaccess for site1 and site2 to make company.com point to company.com/newsite

But I think that throws off the former domain mapping.

I reverted everything back until I have a solid gameplan, am I making this more diffciult than it should be?

Any help would be great!

  • Have you settings for the domain routing inside your server configuration? Please add your .htaccess to the question to check them for wrong settings. The error 500 is an server topic, so that you should look inside the server settings, customization and the .htaccess of your install, webspace. After this check the wp-config.php also for php settings, like memory. here is the topic memory limit a problem, the multisite needs more memory as an single install.
    – bueltge
    Sep 18, 2018 at 8:35

1 Answer 1


This may be incomplete information, but I've had problems with domain mapping on multisite systems with a similar configuration as posted in your question.

First, I would look at the htaccess of the main site. Make sure that any redirects is not domain-specific, so it uses something like this:

RewriteEngine on
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Then, make sure the WordPress part of the main site htaccess is also not domain-specific; use the recommendations in the Codex: https://codex.wordpress.org/htaccess adapted to your site.

Then, I have had to edit the Site Settings files for the sites. This is done via Network Admin, Sites, Edit the sub-site, and use the Settings tab. That will display all of the settings of that site. Make sure the two URLs at the top of that page have the full URL of the subsites.

This is where it gets tricky, and depends on your htaccess settings. You may or may not need to ensure that the 'www' part of is there (or not). So the value may be




I don't have good guidance on exactly what you need, since it depends on how htaccess is set up for the main site. I'd try the first example and see how it works.

Also, once you figure out the proper URL, you may need to go through any other settings to change any URLs in there - many plugins have absolute URLs in their settings.

Of course, you may want to ensure you have a current backup of your database, in case things get really borked.

Hope this helps. I haven't seen any specific guidance that helps, but the above might get you started. (I'm interested in the solution you use, BTW.)

  • 1
    Huzzah !! It appears my answer was helpful. If it was, please click the 'bounty' icon next to your question...it will be my first! Sep 18, 2018 at 21:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.