Canonical URLs are set to draft page instead of published post
-
Hi guys,
I’m the admin at outofbit.it and we have been using Yoast for 8 years, without experiencing any major issue until now. In the last months we have dealt with issues regarding the “metadata” of our posts, which have severely impacted our SERP.
The problem is that the link rel=”canonical attribute is not set correctly: instead of the article complete URL(e.g. https://website.domain/the_most_awesome_website), a draft URL, having the following structure ( https://website.domain/?p=numerical_article_id) is shown. The same happens also on the og:url property, however it is less severe compared to the canonical issue.
We currently have the latest version of the Yoast plugin (v17.1) and the only workaround we have found is to use Yoast Test Helper, in particular using the function “reset indexable tables & migration”. This fixes both canonical and og:url issues for already published articles, however new blog posts will have the same issues.
Do you have any tips for better understanding the nature of this issue and avoid using Yoast Test Helper daily? Thanks a lot and have a nice day.
- The topic ‘Canonical URLs are set to draft page instead of published post’ is closed to new replies.