• Resolved Gulshan Kumar

    (@thegulshankumar)


    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

    (@gustavostraube)

    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

    (@thegulshankumar)

    Thanks for the kind response.

    Plugin Contributor Gustavo Straube

    (@gustavostraube)

    I’m moving this issue to GitHub: https://github.com/straube/multiple-domain/issues/70

    Thread Starter Gulshan Kumar

    (@thegulshankumar)

    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

    (@gustavostraube)

    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

    (@thegulshankumar)

    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 5 years, 1 month ago by Gulshan Kumar. Reason: fixed typos
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Two problems’ is closed to new replies.