Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Gustavo Straube

    (@gustavostraube)

    Hello,

    I had Yoast installed together with Multiple Domain without any issues. However, it’s good to keep in mind that one side effect of using the plugin is duplicate content. That’s the nature of the plugin since it’s used to allow your content to be served from more than one domain.

    I hope this clarifies your question.

    Thread Starter stoicattempt

    (@stoicflo)

    Thanks!

    Hi Gustavo,

    great to see your quick reply. I’m also interested in this question.

    I also use Multiple Domain and Yoast without any problems. But I’m kind of “scary” about the impact of seo and duplicate content.

    I will read the link you posted.

    What is a good way with the canonical? Would that be a seo-friendly way? Is this supported in any way by multiple domain?

    Best regards,

    Timo

    Plugin Contributor Gustavo Straube

    (@gustavostraube)

    Timo,

    I’m not an SEO specialist but I guess that adding canonical tags to all secondary domains would turn the site SEO-friendly. The plugin doesn’t support it now but it’s something I can definitely add to a future release.

    I’ll open an issue in the GitHub repository. We’ll probably have to add this as an option. Site admins would have the choice to enable it and also pick one of the domains as the “primary” domain. Any thoughts?

    Plugin Contributor Gustavo Straube

    (@gustavostraube)

    Here is the issue: https://github.com/straube/multiple-domain/issues/42. Feel free to contribute there or here.

    Hi Gustavo,

    thanks for your reply. Yes that sounds great. I also thought about something like the “primary” domain.

    Best regards,

    Timo

    Hi Gustavo,

    in another topic I found this link:

    https://kb.yoast.com/kb/canonical-urls-in-wordpress-seo/

    With this I created a simple filter-function to change the canonical url fixed:

    add_filter( 'wpseo_canonical', 'yoast_seo_change_canonical_for_multidomain' );
    function yoast_seo_change_canonical_for_multidomain( $canonical_url ) {
    
        return str_replace(MULTPLE_DOMAIN_DOMAIN, 'maindomain.com', $canonical_url);
    }

    It seems that this works fine for me.

    Best regards,

    Timo

    Thanks a lot for sharing, Timo! Works fine and according to what I did read so far about duplicate content it should be absolutely ok with SEO.

    Gustavo: Would be great if this goes to the next update. SEO is crucial and in this case the problem is solved with just these few lines of code. I’m a little bit afraid to lose track of all the changes if I’m coding too much in the plugin’s core and then get stuck in future updates (as Timo already proposed another good piece of code at another place).

    But besides this missing part of SEO compliance I really love this plugin. Very effective, straight forward what I was looking for. Thanks a lot, Gustavo!

    Zep

    Plugin Contributor Gustavo Straube

    (@gustavostraube)

    Hello Zep,

    That’s something it’s already done but not released yet. I still have some work to do before packaging those changes into a new version.

    If you want to give it a try before the next release — and actually I appreciate if you could do that and help me debugging — you can download the latest code from GitHub, here: https://github.com/straube/multiple-domain/archive/master.zip. Right now, it includes two new SEO-related features:

    • Added option to enable canonical tags.
    • Added %%multiple_domain%% advanced variable for Yoast.

    In case you opt to download the package from GitHub, you’ll have to remove everything from the ZIP file except for the multiple-domain/ folder. That means removing README.md, CHANGELOG.md, tests/, and so on.

    Or, you can wait until I release a new version and update through your WordPress admin. ??

    Hello Gustavo,

    That’s great news! I’ll try it on weekend, too curious to wait for the official release.

    Thanks again!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Does the plugin work well with Yoast SEO?’ is closed to new replies.