Title: Two problems
Last modified: January 14, 2020

---

# Two problems

 *  Resolved [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/)
 * (@thegulshankumar)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/two-problems-25/)
 * Hi,
 * This plugin is 99.99999% perfect for my use case. I am testing it for two weeks
   to see how it goes.
 * 1. Plugin is adding wrong canonical link that is missing Trailing slash in post
   permalink at the end.
    – Yoast already take care of this part. And, I could fix
   this by disabling “Add canonical link” checkbox.
 * 2. Plugin is adding hreflang=”x-default even when my language settings is None.
 * There should be checkbox to get consent either I wish to add or not.
 * BTW, I have a question. Do you see this plugin as a good replacement to WPML?
   Yes, I am using right now. So, I want to know.
 * Thanks & Regards,
    Gulshan

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

 *  Plugin Contributor [Gustavo Straube](https://wordpress.org/support/users/gustavostraube/)
 * (@gustavostraube)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/two-problems-25/#post-12325337)
 * Hello Gulshan,
 * Thanks for reporting those two issues. I’ll take a look at both and get back 
   to you as soon as I have a chance.
 * I don’t think this plugin is a good replacement for WPML. It was built with one
   thing in mind: showing the exact same content on different domains. WPML is the
   opposite of that, since it’s supposed to show different (translated) contents.
 * Regards!
 *  Thread Starter [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/)
 * (@thegulshankumar)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/two-problems-25/#post-12326659)
 * Thanks for the kind response.
 *  Plugin Contributor [Gustavo Straube](https://wordpress.org/support/users/gustavostraube/)
 * (@gustavostraube)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/two-problems-25/#post-12333281)
 * I’m moving this issue to GitHub: [https://github.com/straube/multiple-domain/issues/70](https://github.com/straube/multiple-domain/issues/70)
 *  Thread Starter [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/)
 * (@thegulshankumar)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/two-problems-25/#post-12360312)
 * Also, I do not wish to expose any extra subdomain in the body class.
 * <body class=”home page-template-default page page-id-34 wp-custom-logo wp-embed-
   responsive multiple-domain-SUBDOMAIN-EXAMPLE-COM post-image-above-header post-
   image-aligned-center sticky-menu-slide no-sidebar nav-below-header fluid-header
   separate-containers active-footer-widgets-0 nav-search-enabled nav-aligned-right
   header-aligned-left dropdown-hover featured-image-active”>
 * Please allow me to remove it.
 * Thanks
 *  Plugin Contributor [Gustavo Straube](https://wordpress.org/support/users/gustavostraube/)
 * (@gustavostraube)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/two-problems-25/#post-12376699)
 * Hello Gulshan,
 * You can disable that filter adding the following code to the end of your theme’s`
   function.php` file:
 * `remove_filter('body_class', [ MultipleDomain::instance(), 'addDomainBodyClass']);`
 * Let me know if that helps you.
 *  Thread Starter [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/)
 * (@thegulshankumar)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/two-problems-25/#post-12428166)
 * That snippet was helpful. Worked for me. Now, adding it completely removes the
   footprint of Multiple Domains, even better!
 * It appears latest version improves the security by limiting information automatically.
 * `<body class="post-template-default single single-post postid-1614 single-format-
   standard wp-custom-logo wp-embed-responsive multiple-domain-example-com post-
   image-below-header post-image-aligned-center sticky-menu-slide no-sidebar nav-
   below-header fluid-header separate-containers active-footer-widgets-0 nav-search-
   enabled nav-aligned-right header-aligned-left dropdown-hover featured-image-active"
   >`
 * Would like to have a confirmation if there was such changes as I can see output
   like as above shown by me. It no more expose complete subdomain path. That’s 
   indeed great.
 * Thank you
    -  This reply was modified 6 years, 3 months ago by [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/).
      Reason: fixed typos

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

The topic ‘Two problems’ 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/)

 * 6 replies
 * 2 participants
 * Last reply from: [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/two-problems-25/#post-12428166)
 * Status: resolved