Title: Different URLs
Last modified: August 22, 2016

---

# Different URLs

 *  [Doubleface](https://wordpress.org/support/users/doubleface/)
 * (@doubleface)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/different-urls-1/)
 * Hi,
 * is it possible to have one WordPress multisite install with several sites in 
   it (to make administrating all the sites easier), but that the sites have different
   urls?
 * Example:
 * I have WordPress multisite (subdirectory based) installed in [http://www.multisite.com/](http://www.multisite.com/)
 * Additional sites are created in it:
    [http://www.multisite.com/site1](http://www.multisite.com/site1)
   [http://www.multisite.com/site2](http://www.multisite.com/site2) [http://www.multisite.com/site3](http://www.multisite.com/site3)
 * WordPress MU Domain Mapping is installed and configured.
 * I have [http://www.site1.com](http://www.site1.com), [http://www.site2.com](http://www.site2.com)
   and [http://www.site3.com](http://www.site3.com) redirected in CPanel to [http://www.multisite.com/site1](http://www.multisite.com/site1),
   [http://www.multisite.com/site2](http://www.multisite.com/site2) and [http://www.multisite.com/site3](http://www.multisite.com/site3)
   accordingly.
 * If I try to go to [http://www.site1.com](http://www.site1.com) it opens up [http://www.multisite.com/site1](http://www.multisite.com/site1)(
   which is correct), but the url in the address bar doesn’t change to [http://www.site1.com](http://www.site1.com)
   and still shows [http://www.multisite.com/site1](http://www.multisite.com/site1).
 * What I’m trying to achieve is that if the user enters [http://www.site1.com](http://www.site1.com)
   in the address bar it goes to [http://www.multisite.com/site1](http://www.multisite.com/site1),
   but the address bar shows [http://www.site1.com](http://www.site1.com). If the
   user tries to go to [http://www.site1.com/contacts](http://www.site1.com/contacts)
   it opens up wwww.multisite.com/site1/contacts, but the address bar shows [http://www.site1.com/contacts](http://www.site1.com/contacts).
 * If I map domains using the plugin for each of these sites and set the primary
   domain to [http://www.site1.com](http://www.site1.com), [http://www.site2.com](http://www.site2.com)
   and [http://www.site3.com](http://www.site3.com) accordingly
    it goes into an
   endless loop.
 * What am I doing wrong? Or this domain mapping is a whole other thing?
 * [https://wordpress.org/plugins/wordpress-mu-domain-mapping/](https://wordpress.org/plugins/wordpress-mu-domain-mapping/)

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

 *  Plugin Author [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/different-urls-1/#post-5345771)
 * > I have [http://www.site1.com](http://www.site1.com), [http://www.site2.com](http://www.site2.com)
   > and [http://www.site3.com](http://www.site3.com) redirected in CPanel to [http://www.multisite.com/site1](http://www.multisite.com/site1),
   > [http://www.multisite.com/site2](http://www.multisite.com/site2) and [http://www.multisite.com/site3](http://www.multisite.com/site3)
   > accordingly.
 * If you are doing domain mapping don’t redirect the domains to the sites. With
   what you have now you could remove the DM plugin and you would see the behaviour.
 * The point of mapping is that it catches the request for the domain and shows 
   the content of the site it is mapped to.
 *  Thread Starter [Doubleface](https://wordpress.org/support/users/doubleface/)
 * (@doubleface)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/different-urls-1/#post-5345781)
 * Played some more with this whole mapping stuff and understood myself that I don’t
   need to redirect the domains 🙂
 * I’m pretty sure that I have everything setup up right on the WordPress end but
   I’m missing something on the server side.
 * Currently I have [http://www.site1.com](http://www.site1.com) pointed to my server(
   which also hosts the multisite installation). DNS details are:
 *     ```
       @           A    xx.xx.xx.xx
       localhost   A    127.0.0.1
       *           A    xx.xx.xx.xx
       @           MX   10 site1.com
       ```
   
 * Do I need to add something here for the plugin to work? Or change something in
   DirectAdmin (it’s actually not CPanel :))? BTW, I’m using subdirectories.
 *  Plugin Author [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/different-urls-1/#post-5345832)
 * Look for either domain parking or domain alias in DirectAdmin. You need to park
   the domain on your WP install/create an alias for your mapped domain that points
   to your WP install.
 *  [lifeboy](https://wordpress.org/support/users/lifeboy/)
 * (@lifeboy)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/different-urls-1/#post-5345920)
 * > Look for either domain parking or domain alias in DirectAdmin. You need to 
   > park the domain on your WP install/create an alias for your mapped domain that
   > points to your WP install.
 * Ron, what do you mean by “DirectAdmin”? Your response here doesn’t make sense
   to me, because I don’t understand the terms you’re using.
 * I have the same problem as described by Doubleface. Would you mind explained 
   a little more how to set this up to work to that the mapper domain is always 
   shown in the url, even then accessing [http://www.site1.com/wp-admin](http://www.site1.com/wp-admin)(
   to stick the example), instead of changeing to [http://www.multisite.com/site1](http://www.multisite.com/site1)?
 *  Plugin Author [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/different-urls-1/#post-5345921)
 * > Ron, what do you mean by “DirectAdmin”? Your response here doesn’t make sense
   > to me, because I don’t understand the terms you’re using.
 * Perhaps I was answering the OP’s question…
 * > Do I need to add something here for the plugin to work? Or change something
   > in DirectAdmin (it’s actually not CPanel :))? BTW, I’m using subdirectories.
 *  [lifeboy](https://wordpress.org/support/users/lifeboy/)
 * (@lifeboy)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/different-urls-1/#post-5345922)
 * Thanks for clarifying that!
 * However, it still don’t have a solution as to how to prevent the multisite url
   from being shown rather than the actual client domain. If I have a site [http://www.clientdomain.com](http://www.clientdomain.com)
   and it is actually [http://clientdomain.imhostingclients.net](http://clientdomain.imhostingclients.net)
   in my multidomain WP installation, I want to have [http://www.clientdomain.com](http://www.clientdomain.com)
   not just for the client pages, but for the [http://www.clientdomain.com/wp-admin](http://www.clientdomain.com/wp-admin)
   pages as well. How do I achieve that? What should I look for? The former ([http://www.clientdomain.com](http://www.clientdomain.com))
   works for the pages, but the latter ([http://www.clientdomain.com/wp-admin](http://www.clientdomain.com/wp-admin))
   switches to [http://clientdomain.imhostingclients.net/wp-admin](http://clientdomain.imhostingclients.net/wp-admin)
   right away.
 * The problem is wider than that. When I use a social media plugin on the clientsite(
   [http://www.clientdomain.com/](http://www.clientdomain.com/)) for example, the
   posts on twitter don’t refer to [http://www.clientdomain.com/](http://www.clientdomain.com/)
   but to [http://clientdomain.imhostingclients.net/](http://clientdomain.imhostingclients.net/)
   which is of course not acceptable.
 *  [Gaurav Vaz](https://wordpress.org/support/users/derherr/)
 * (@derherr)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/different-urls-1/#post-5345925)
 * I’m facing the same issue with my installation as well. I have parked the domain
   on Godaddy, so to continue the example, site1.com is parked on multisite.com 
   in my Godaddy WHM panel.
 * But when I go to site1.com, it changes the URL to multisite.com/site1 – I’m sure
   it’s something I am missing on the multi site config or the domain mapping config.
 * thanks in advance!
 *  [Gaurav Vaz](https://wordpress.org/support/users/derherr/)
 * (@derherr)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/different-urls-1/#post-5345926)
 * Hey! I just got it working. It was a simple setting in the Network Domain Mapping
   Configuration.
 * Go to Network Admin -> Dashboard -> Settings -> Domain Mapping
 * Under Domain Options, you see point 5, **Disable primary domain check. Sites 
   will not redirect to one domain name. May cause duplicate content issues.**
 * I selected that, so that logically means, the URL will now NOT redirect to the
   main domain. Save and clear your cache and cookies, and everything should work!
 *  Thread Starter [Doubleface](https://wordpress.org/support/users/doubleface/)
 * (@doubleface)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/different-urls-1/#post-5345927)
 * I’ve solved my problem with the help of mys ISP. The thing was, that I had [http://www.site1.com](http://www.site1.com),
   [http://www.site2.com](http://www.site2.com) and [http://www.site3.com](http://www.site3.com)
   added as normal domains in my DirectAdmin panel. The trick is that they don’t
   have to be added as normal “top level” domains, they only have to be added as
   aliases to [http://www.multisite.com](http://www.multisite.com) (multisite.com
   > Domain pointers > add site1.com, check “Create as an alias”)
 *  [Gaurav Vaz](https://wordpress.org/support/users/derherr/)
 * (@derherr)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/different-urls-1/#post-5345929)
 * Hi Ron – I tried what you said and used the domain parking option available in
   the Godaddy WHM panel so site1.com points to multisite.com/site1 correctly.
 * However, the URL is not maintained when I try to go to [http://www.site1.com](http://www.site1.com)
   and the Godaddy panel doesn’t allow me to park [http://www.site1.com](http://www.site1.com)
   on multisite.com either.
 * Any ideas on what I can do?
 *  Plugin Author [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/different-urls-1/#post-5345931)
 * > site1.com points to multisite.com/site1
 * You don’t point the domain to a URL (that causes a redirect). Park the domain
   onto your WP install and let the DM plugin manage the request for the domain.
 *  [Gaurav Vaz](https://wordpress.org/support/users/derherr/)
 * (@derherr)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/different-urls-1/#post-5345932)
 * Hi Ron, I think I said that incorrectly. I did exactly what you’re suggesting.
   I parked site1.com on multisite.com and that works perfectly. The plugin handles
   it and the correct site is served.
 * However, I can’t seem to park [http://www.site1.com](http://www.site1.com) on
   multisite.com and when I go to [http://www.site1.com](http://www.site1.com) in
   the browser, it redirects instead to multisite.com/site1
 *  Plugin Author [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/different-urls-1/#post-5345936)
 * You need to add the www as a CNAME to the non-www in your DNS instead of parking
   it.

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

The topic ‘Different URLs’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-mu-domain-mapping.svg)
 * [WordPress MU Domain Mapping](https://wordpress.org/plugins/wordpress-mu-domain-mapping/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-mu-domain-mapping/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-mu-domain-mapping/reviews/)

## Tags

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

 * 13 replies
 * 4 participants
 * Last reply from: [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/different-urls-1/#post-5345936)
 * Status: not resolved