Title: Domain Rewritten Wrongly&#8230;
Last modified: September 25, 2019

---

# Domain Rewritten Wrongly…

 *  Resolved [Ryder](https://wordpress.org/support/users/hyflex/)
 * (@hyflex)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/domain-rewritten-wrongly/)
 * Hi,
 * We’ve noticed an issue with this plugin where if you have similar domain names
   the plugin rewrites and breaks certain resources from loading.
 * If we look at the main domain on its own without “Multiple Domain” installed 
   everything loads correctly.
    - **_[http://www.websitehere.com.au](http://www.websitehere.com.au)_**
 * Now if we add any of the following domains we get some broken images, css and
   js files…
    - **_[http://www.websitehere.co.uk](http://www.websitehere.co.uk)_**
    - **_[http://www.websitehere.co](http://www.websitehere.co)_**
    - **_[http://www.websitehere.com](http://www.websitehere.com)_**
 * The reason the files become broken **looks to be** because it isn’t finding the
   end of the domain correctly, so we’re getting domainsrewritten from **_[http://www.websitehere.com.au](http://www.websitehere.com.au)_**
   to **_[http://www.websitehere.com.au.au](http://www.websitehere.com.au.au)_**
 * We could really do with a fix for this as it’s affecting two different websites.
 * Thank you.

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

 *  Plugin Contributor [Gustavo Straube](https://wordpress.org/support/users/gustavostraube/)
 * (@gustavostraube)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/domain-rewritten-wrongly/#post-11974432)
 * Hello,
 * Thanks for reporting that. Other users also have seen this weird behavior. A 
   possible workaround is changing the order domains are added to the plugin config.
   Check this out: [https://wordpress.org/support/topic/link-translation-wrong-domain/](https://wordpress.org/support/topic/link-translation-wrong-domain/)
 * I didn’t have free time lately to work on the plugin but I hope to find a final
   solution soon. You can follow the status of this bug in here: [https://github.com/straube/multiple-domain/issues/59](https://github.com/straube/multiple-domain/issues/59).
   I believe that user is being affected by the same issue.
 * Regards
 *  Thread Starter [Ryder](https://wordpress.org/support/users/hyflex/)
 * (@hyflex)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/domain-rewritten-wrongly/#post-11975920)
 * Hi Gustavo,
 * That unfortunately isn’t an option because the plugin force re-orders the list
   of domains.
 * My main site .com.au and even if I put the .com one at the top of the list and
   the .com.au one at the bottom it re-orders it so the main domain is back at the
   top of the list…
 *  Plugin Contributor [Gustavo Straube](https://wordpress.org/support/users/gustavostraube/)
 * (@gustavostraube)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/domain-rewritten-wrongly/#post-12067084)
 * Hello,
 * I finally released a new version that fixes this issue. Please update to 1.0.1.
 * Let me know in case the issue persists.
 * Regards

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

The topic ‘Domain Rewritten Wrongly…’ is closed to new replies.

 * ![](https://ps.w.org/multiple-domain/assets/icon-256x256.png?rev=2502840)
 * [Multiple Domain](https://wordpress.org/plugins/multiple-domain/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multiple-domain/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multiple-domain/)
 * [Active Topics](https://wordpress.org/support/plugin/multiple-domain/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multiple-domain/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multiple-domain/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Gustavo Straube](https://wordpress.org/support/users/gustavostraube/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/domain-rewritten-wrongly/#post-12067084)
 * Status: resolved