Title: Primary mapping problem
Last modified: August 22, 2016

---

# Primary mapping problem

 *  [Jeanae](https://wordpress.org/support/users/jeanae/)
 * (@jeanae)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/primary-mapping-problem/)
 * Hi
 * I have setup MU Domain Mapping for a WP Multisite with 4 languages
    – [http://www.studienstiftung.ch](http://www.studienstiftung.ch):
   german – [http://www.studienstiftung.ch/fr](http://www.studienstiftung.ch/fr):
   french – [http://www.studienstiftung.ch/it](http://www.studienstiftung.ch/it):
   italien – [http://www.studienstiftung.ch/en](http://www.studienstiftung.ch/en):
   english
 * For some of it I want to map it to more specific URLs, e.g.
    [http://www.studyfoundation.ch](http://www.studyfoundation.ch)
   to [http://www.studienstiftung.ch/en](http://www.studienstiftung.ch/en).
 * The problem: As soon as I define the domain as primary I get an ‘infinite redirects’
   error in the browser (Firefox and others). Without primary it goes to the right
   place.
 * Anay suggestions how to solve the issue.
 * Best regards Jean
 * [https://wordpress.org/plugins/wordpress-mu-domain-mapping/](https://wordpress.org/plugins/wordpress-mu-domain-mapping/)

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

 *  Plugin Author [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/primary-mapping-problem/#post-5372550)
 * You can only map domains with the plugin. Mapping URLs is not supported by the
   plugin or DNS.
 *  Thread Starter [Jeanae](https://wordpress.org/support/users/jeanae/)
 * (@jeanae)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/primary-mapping-problem/#post-5372566)
 * In this case [http://www.studyfoundation.ch](http://www.studyfoundation.ch) is
   a registered domain. It already points to [http://www.studienstiftung.ch/en](http://www.studienstiftung.ch/en)
   without your plugin. Could this be the problem?
 *  Plugin Author [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/primary-mapping-problem/#post-5372607)
 * > In this case [http://www.studyfoundation.ch](http://www.studyfoundation.ch)
   > is a registered domain. It already points to [http://www.studienstiftung.ch/en](http://www.studienstiftung.ch/en)
   > without your plugin.
 * Yes, that’s what causing the infinite redirect..
 *  Thread Starter [Jeanae](https://wordpress.org/support/users/jeanae/)
 * (@jeanae)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/primary-mapping-problem/#post-5372680)
 * We have eliminated the redirect from [http://www.studyfoundation.ch](http://www.studyfoundation.ch)
   to [http://www.studienstiftung.ch/en](http://www.studienstiftung.ch/en). The 
   mapping seems to work now correctly. But I can’t access the subpages of the site.
   E.g. [http://www.studyfoundation.ch/partners](http://www.studyfoundation.ch/partners)(
   previously [http://www.studienstiftung.ch/en/partners](http://www.studienstiftung.ch/en/partners))
   goes to “Not Found The requested URL /partners/ was not found on this server.”
   
   What can causing this? Beste regards Jean
 *  Plugin Author [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/primary-mapping-problem/#post-5372681)
 * > What can causing this?
 * The URL has changed. You need to add some rewrite rules to your .htaccess to 
   rewrite the old urls to the new ones.
 *  Thread Starter [Jeanae](https://wordpress.org/support/users/jeanae/)
 * (@jeanae)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/primary-mapping-problem/#post-5372682)
 * Any advise on how to change this .htaccess from the old url [http://www.studienstiftung.ch/en](http://www.studienstiftung.ch/en)
   to the new url [http://www.studyfoundation.ch](http://www.studyfoundation.ch)
   is highly welcome:
 * # WordPress
    RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] # 
   add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-
   admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME}-
   d RewriteRule ^ – [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)
   $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php[
   L] # Media Library php_value upload_max_filesize 64M php_value post_max_size 
   64M php_value max_execution_time 300 php_value max_input_time 300 # Disallow 
   access to important files <FilesMatch “(^\.|wp-config\.php|xmlrpc\.php|(?<!robots)\.
   txt|(liesmich|readme)\.*)”> Order deny,allow Deny from all </FilesMatch> # Prevent
   Directory Listings Options -Indexes

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

The topic ‘Primary mapping problem’ 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

 * [infinite redirect](https://wordpress.org/support/topic-tag/infinite-redirect/)
 * [mapping](https://wordpress.org/support/topic-tag/mapping/)
 * [multsite](https://wordpress.org/support/topic-tag/multsite/)

 * 6 replies
 * 2 participants
 * Last reply from: [Jeanae](https://wordpress.org/support/users/jeanae/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/primary-mapping-problem/#post-5372682)
 * Status: not resolved