Title: Multisite Domain issues
Last modified: August 21, 2016

---

# Multisite Domain issues

 *  [bencrinkle](https://wordpress.org/support/users/bencrinkle/)
 * (@bencrinkle)
 * [13 years ago](https://wordpress.org/support/topic/multisite-domain-issues/)
 * Hi Everyone,
 * First post so be gentle!
 * I will try and keep this as clear and concise as possible.
 * I have a path based multisite network
 * Each site/user on the network is created from a third party system via an api
   call
 * All sites are accessible via [http://www.mydomain.com/username](http://www.mydomain.com/username)(
   the actual wp domain) or [http://www.theirdomain.com/blog](http://www.theirdomain.com/blog)(
   achieved with some redirect rules on said third party system)
 * When the user hits the blog from [http://www.theirdomain.com/blog](http://www.theirdomain.com/blog)
   the blog is served up as expected. However the links accross the site are in 
   the format [http://www.mydomain.com/username/whatever](http://www.mydomain.com/username/whatever).
 * Obviously when a link is then clicked the user is bounced back to [http://www.mydomain.com/username/whatver](http://www.mydomain.com/username/whatver).
 * I have explored converting all of the urls to relative urls but this is messy
   and doesn’t work accross all plugins/themes etc. and is something I want to avoid.
 * I don’t want to go down the route of using a Domain Mapping plugin or similar
   as this will add in a layer of complexity for my users that I want to avoid, 
   messing about with DNS records etc. and I really want everything to run through
   [http://www.theirdomain.com/blog](http://www.theirdomain.com/blog) for SEO purposes
   as opposed to blog.theirdomain.com or anything like that.
 * What I am trying to achieve is keeping the site mapped to mydomain.com/username
   but actually thinking it is on theirdomain.com/blog whilst keeping all the links
   and stuff the same.
 * I have managed to get it working in a single site setup by simply changing the
   site url and home url, so it thinks it’s at someotherdomain.com and creates the
   links accordingly but it’s actually all being served up by myactualdomain.com
 * I hope that makes some sense, this is my first multisite install and I’ve been
   battling with this for a few days now so I’m a bit boggled by it all.
 * Many thanks in advance
 * Ben

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years ago](https://wordpress.org/support/topic/multisite-domain-issues/#post-3798549)
 * > What I am trying to achieve is keeping the site mapped to mydomain.com/username
   > but actually thinking it is on theirdomain.com/blog whilst keeping all the 
   > links and stuff the same.
 * Even with domain mapping, WP really doesn’t like that…
 * Domain mapping would to “turn mydomain.com/username into theirdomain.com”
 * Why are you adding the subfolder?
 *  Thread Starter [bencrinkle](https://wordpress.org/support/users/bencrinkle/)
 * (@bencrinkle)
 * [13 years ago](https://wordpress.org/support/topic/multisite-domain-issues/#post-3798558)
 * > Even with domain mapping, WP really doesn’t like that…
   > Domain mapping would to “turn mydomain.com/username into theirdomain.com”
   > Why are you adding the subfolder?
 * Hi, the sub folder is because theirdomain.com points at our other system and 
   its preferrable over a sub domain as we know for a fact nothing is at theirdomain.
   com/blog whereas they may have something like blog.their domain.com
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years ago](https://wordpress.org/support/topic/multisite-domain-issues/#post-3798593)
 * Alas, this is really custom witchery and I don’t know if anyone’s successfully
   done it because that really isn’t how the software was intended to work.
 * CAN it be done? In theory. But you’re trailblazing :/
 *  Thread Starter [bencrinkle](https://wordpress.org/support/users/bencrinkle/)
 * (@bencrinkle)
 * [13 years ago](https://wordpress.org/support/topic/multisite-domain-issues/#post-3798613)
 * > Alas, this is really custom witchery and I don’t know if anyone’s successfully
   > done it because that really isn’t how the software was intended to work.
   > CAN it be done? In theory. But you’re trailblazing :/
 * Just for reference I was able to get this working by setting the Site URL and
   Home Url to theirdomain.com/blog and then a mix of the output buffer and wordpress
   filters to catch all the urls that were incorrect so now i can successfully run
   frontend and admin from theirdomain.com/blog.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Multisite Domain issues’ is closed to new replies.

## Tags

 * [multisite](https://wordpress.org/support/topic-tag/multisite/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 4 replies
 * 2 participants
 * Last reply from: [bencrinkle](https://wordpress.org/support/users/bencrinkle/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/multisite-domain-issues/#post-3798613)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
