• Resolved studio1337

    (@studio1337)


    I’ve been working with a client to put together a network of sites. We set up Multi User to run the network, with domains mapped to subdomains, a pretty standard implementation I believe. I was viewing one of the sites, and I noticed that the canonical url in the site’s metadata is pointing to the subdomain instead of the mapped TLD. Is this normal behavior, and maybe we missed a step during setup? I linked one of the sites to this post, but it’s consistent across the ~80 sites we have in the network.

    I can see where canonical URLs can be set for each page individually, but it would be an extraordinary task to go into every page of every site and set each one individually. This wouldn’t solve the core issue, and it would add a ton of time to spinning up new sites in the future if this was necessary. How do I adjust the sites so they default to the mapped domain? Any help would be most appreciated!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @studio1337,

    Thanks for the question. Yoast SEO supports multisite installations, so this is not the expected behavior for canonical URLs.

    To see if we can reproduce the problem, can you provide the following information?

    1. Is Yoast SEO network-activated or activated in each subsite?

    2. What is the subsite’s Site Address in the settings? You can find this if you go to the Network Dashboard > Sites > Edit site.

    3. Does allowing Yoast SEO to reset the SEO data on the subsite solve the problem?

    You can follow the steps below:

    1. Install and activate the Yoast Test Helper plugin
    2. Go to Tools -> Yoast Test
    3. Click the “Reset indexables and migrations” button
    4. Go to SEO -> Tools and under SEO data, click the “Speed up your site” button.
    Thread Starter studio1337

    (@studio1337)

    Hi Priscilla,

    Thank you very much for getting back to me.

    1. It is network activated – every site uses it.
    2. The subsite address is the correct TLD (as seen in this topic when you’re logged in).
    3. I just tried this, and it appears to have worked! I don’t suppose there’s a way to hit the reset on all sites across the network at once? Or would we need to log into each one and reset them individually? It’s not a HUGE problem if needed, just somewhat tedious; if it’s possible to run network-wide, that would be a nice bonus.

    Plugin Support Rumejan Barbarona

    (@onlyincebu)

    Hello @studio1337!

    If you are familiar with the WordPress Command Line Interface (WP-CLI), you can perform the indexation on all sites within the network using that. More information here: https://developer.yoast.com/customization/yoast-seo/indexables-cli/

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WPMU: Canonical URL pointing to subdomain, not mapped domain’ is closed to new replies.