Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @larissamartins

    Thanks for reaching out about your canonical URLs.

    Strangely, the Catalan, German and English versions all have the Spanish URL as their canonical URLs. Since you’re using WPML, I created language translations of my homepage, and the canonical URLs are correct. So I think in your case, something’s not right.

    We have seen unexpected issues where the previously optimized data is invalid or incomplete. We’ll start with a reset of the optimization to ensure we’ve removed any invalid data. We know that resetting the data may sound intimidating, but our?How to reset the Yoast indexables?guide will walk you through the process step by step. We’ve also summarized the steps below.

    1. Install & activate the?Yoast Test Helper plugin
    2. Go to Tools > Yoast Test
    3. Locate the Yoast SEO section and click on the ‘Reset indexables tables & migrations’, ‘Reset Prominent words calculation’, and ‘Reset Internal link counter’ buttons. After each click, the page will reload to confirm that the specific reset was successful.
    4. Go to SEO > Tools, and under SEO data, click the “Start SEO data optimization” button to allow Yoast to rescan your content.

    Please let us know if the reported issue remains after resetting the optimized data.

    Thread Starter larissamartins

    (@larissamartins)

    Hello,

    I’ve followed the steps you explained, but now we have the https://blog.cerdanyaecoresort.com/ca/ as the canonical URL for the others home pages https://blog.cerdanyaecoresort.com/en/
    https://blog.cerdanyaecoresort.com/de/

    Is there anything else we could do to solve it?

    Thread Starter larissamartins

    (@larissamartins)

    It keeps changing. I tried the steps below one more time and now I see that https://blog.cerdanyaecoresort.com is the canonical for the rest of the homepages.

    https://blog.cerdanyaecoresort.com/ca/
    https://blog.cerdanyaecoresort.com/de/
    https://blog.cerdanyaecoresort.com/en/

    Thread Starter larissamartins

    (@larissamartins)

    Hi, can I have more suggestions to solve this issue?

    Hey @larissamartins,

    Thank you so much for your replies and troubleshooting. Sorry to hear the issue still stands.

    Are you using the WPML addon WPML SEO next to your WPML plugin(s)? Their addon makes WPML work better with Yoast SEO and might fix a few shortcomings you are running into.

    If you are already, I suggest contacting WPML support, as I’m not sure where in their settings this might be going wrong. If you haven’t set custom canonicals in the homepages in other languages, it should just have a self-referring canonical and should not point to the /ca/ URL.

    Plugin Support devnihil

    (@devnihil)

    This thread was marked resolved due to a lack of activity, but you’re always welcome to re-open the topic. Please read?this post?before?opening a new request.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to add canonical URL on homepage’ is closed to new replies.