• Resolved arnoldgma

    (@arnoldgma)


    I recently discovered that when I copy an old post to a new draft, if there is a canonical url in the old post, that gets copied over. I have used the copy function dozens of times and probably have hidden canonical settings that are causing problems. Is there a way to find all the canonical url tags on my site so I can remove them? (If not there should be.)

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

    (@maybellyne)

    Hello @arnoldgma,

    Thanks for reaching out about canonical URLs.

    when I copy an old post to a new draft, if there is a canonical url in the old post, that gets copied over.

    Can you let me know how you do this copying? As I assume it is not a manual process. Also, is it possible to share an example post where this happens?

    Thread Starter arnoldgma

    (@arnoldgma)

    While editing a post, click on Copy to a New Draft. This is a Yoast feature.

    Plugin Support Maybellyne

    (@maybellyne)

    The feature you mentioned is in the Yoast duplicate post plugin and not Yoast SEO plugin.

    I copied an old post to a new draft but couldn’t replicate the beahviour you described. It got assigned it’s canonical URL and not that of the old post.

    In the advanced tab of the Yoast SEO meta box when you edit the post, the canonical URL field should be empty. This ensures the post URL is used automatically as the canonical URL.

    However, to change the canonical URL that Yoast SEO generated for a URL programmatically, you can use the?wpseo_canonical?filter. Learn more here

    Plugin Support Jose Varghese

    (@josevarghese)

    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 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Canonical URLs – How to find’ is closed to new replies.