• Resolved dov777

    (@dov777)


    Hello,

    I migrated a site to a new server, before changing the dns accross, I updated everything including Yoast.

    However, the canonical is set to the dev demo url now that the dns has been moved.

    I have tried deleting and reinstalling Yoast, going to permalinks and hitting save.

    Many thanks for any help

    Dov

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter dov777

    (@dov777)

    Hi,

    just to let you know if you check the site, I have turned Yoast off as I’m concerned about having the wrong canonical for too long.

    I found a plugin that might be able to hard code the canonical, do you think it will still work, the post is 6 yrs ago.
    https://wordpress.stackexchange.com/questions/144926/hard-code-a-domain-into-yoast-seo-canonical-urls

    Thanks
    Dov

    Thread Starter dov777

    (@dov777)

    Hi,

    I’ve turned Yoast back on if anyone could take a look please I’d be so grateful.

    These are the options I can think of:

    Do a find and replace in the database.
    Try hard coding the canonical with the plugin link in the last post.
    In Admin – Permalinks, my structure is “post name”. Switch it to custom /%postname%/ hopefully Yoast will notice the whole correct url when this is done

    Many thanks

    Plugin Support devnihil

    (@devnihil)

    @dov777 Can you please try the following steps to resolve the issue?:

      1. Install & activate the?Yoast Test Helper plugin
      2. Go to Tools -> Yoast Test
      3. Hit the “Reset indexables & migrations” button
      4. Click the “Click here to speed up your site now” button.

    Does this resolve the problem? We look forward to hearing from you.

    Thread Starter dov777

    (@dov777)

    @devnihil Thank you so much!

    That worked like a dream, your a star, I’m very grateful for your help.

    Dov

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Canonical showing dev url’ is closed to new replies.