Support » Plugin: Permalink Manager Lite » Permalink Manager, Yoast & Canonical Links

  • Resolved butteryken

    (@butteryken)


    Hi,

    I use Yoast as the SEO plugin and leave the canonical field blank to use the post permalink, but I’ve recently discovered an issue where by the Permalink specified in the Permalink Manager is not being pulled through as the canonical link for the post when live.

    This seems to have arisen after the Yoast 14 update and only for newly published posts.

    Not expecting a solution or workaround but I just wanted to highlight in case it was a bug related to integration with latest Yoast update.

    Thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Maciej Bis

    (@mbis)

    Hi @butteryken,

    I noticed that part of Yoast SEO functions reponsible for displaying canonical tags is now “deprecated”. I am working on this issue and will keep you updated.

    To confirm, the problem that you encounter is that the meta tag <link> with canonical URL is not displayed at all?

    I apologize for the inconvenience!

    Best regards,
    Maciej

    Just to confirm, the original post permalink is being pulled through as the canonical, even if I update that in the permalink manager plugin.

    For instance the original post permalink: https://www.domain.co.uk/example-post

    Then using permalink manager I would update this to: https://www.domain.co.uk/example-post-update

    But then the canonical meta tag would have the original permalink as the href, i.e. https://www.domain.co.uk/example-post

    Hope that makes sense 🙂 And really appreciate your reply, Permalink Manager is a great plugin and is massively useful – I will try and rollback Yoast to a previous version to get around this in the short term but I just wanted to highlight it in case you weren’t aware or anyone else was noticing the same thing.

    • This reply was modified 3 weeks, 4 days ago by butteryken.
    • This reply was modified 3 weeks, 4 days ago by butteryken.
    • This reply was modified 3 weeks, 4 days ago by butteryken.
    Plugin Author Maciej Bis

    (@mbis)

    Hi @butteryken,

    I dug into the code and the Yoast SEO changelog. In 14.0 version, they added a new functionality called “Indexables”:
    https://yoast.com/yoast-seo-14-0/

    In short, the permalinks used by Yoast SEO (for canonical permalinks, sitemaps, etc.) are stored in a separate database table.

    Unfortunately, there is no API available on this, but I am working on a hotfix that will be released on Monday. Basically, whenever the custom permalink is changed with my plugin, the permalink stored in Yoast’s DB will also be updated.

    I apologize for the inconvenience!

    Best regards,
    Maciej

    That would be amazing! Thanks for the update @mbis

    Plugin Author Maciej Bis

    (@mbis)

    Hi @butteryken,

    I have just released 2.2.8.6 version. Please let me know if it works for you.

    Best regards,
    Maciej

    Hi @mbis,

    Unfortunately it still doesn’t appear to work fully for me.

    However, as a work around I can specify the desired exact canonical link on the post using Yoast using a bulk import (rather than just leaving blank) – this seems to pull through to the live post which didn’t previously.

    Thanks

    Plugin Author Maciej Bis

    (@mbis)

    Hi @butteryken,

    Do you use Yoast SEO or Yoast SEO Premium?

    Best regards,
    Maciej

    Just Yoast SEO

    Plugin Author Maciej Bis

    (@mbis)

    Hmm, unfortunately I am not able to reproduce this issue on my server. Do you possibly have any staging/development site where I would be able to debug it?

    In 2.2.8.6 version I added two new hooks. The first one, updates the URL stored in DB by Yoast SEO whenever custom permalink is saved/updated. The latter one is a fallback function and overwrites the canonical permalink (using ‘wpseo_canonical‘ and ‘wpseo_opengraph_url‘ filters) with custom permalinks set with my plugin. Both filters are used when the meta tags are echoed by Yoast SEO in <head> section.

    • This reply was modified 3 weeks, 1 day ago by Maciej Bis.

    Thanks for your help @mbis! There’s a staging environment but it’s not accessible outside of our network. I’ll try and recreate the issue on the staging site and play around as it sounds like it definitely should work it may be as a result of some other issue.

    Thanks again, really appreciate it 🙂

    Plugin Author Maciej Bis

    (@mbis)

    Hi again @butteryken,

    I think I know what is wrong 🙂

    The problem was in SVN repository. Now, the problem should be solved. Could you remove the old instance of plugin & install it from a fresh copy?

    Best regards,
    Maciej

    Hi @mbis

    Sorry didnt reply sooner, the email went into my junk folder, but it seems like that has worked perfectly! 🙂

    Thanks again

    Plugin Author Maciej Bis

    (@mbis)

    You are welcome 🙂

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.