Hello,
Wanted to use Yoast Canonical links, we have few posts which need to use 3rd party domain for canonical. Checked plugins to check if something disabled it.
td-cloud-library/includes/tdb_functions.php: add_filter( 'wpseo_canonical', '__return_false' );
td-composer/legacy/common/wp_booster/td_wp_booster_functions.php: add_filter( 'wpseo_canonical', '__return_false' );
td-composer/mobile/functions.php: add_filter( 'wpseo_canonical', '__return_false' );
Can you please tell me why it’s disabled, or what can I do to make Yoast canonical work without modifying your code.
Thank you
Hello !
Please make sure that you have set up your Yoast properly and also follow their guide for canonical urls: https://yoast.com/help/canonical-urls-in-wordpress-seo/
Let us know the result !
Thank you !
Hi valuewalk,
The code that you mentioned in topic is related to our theme, if I’m right our developers added an canonical url in our theme.
Now if I’m right the code should still be set, because this will be set on og:url for example -> https://i.imgur.com/YWDUM8m.png -> https://i.imgur.com/77lV67W.png if this is not right, or I do not understand correctly, please let me know!
Thank you!
Hello Calin,
1. Correct: https://imgur.com/YWDUM8m
2. We are expecting this: https://yoast.com/rel-canonical/ <link rel=”canonical” href=”x” />
So the output of link rel is the one we need to modify.
Thanks
Hello !
We need to take a look and see what can be done there to see if a fix can be done in order to fit your needs.
Please contact us via email at contact@tagdiv.com and provide the following:
– admin url and credentials
– A link to this topic in order to identify you
Our team will take a look !
Thank you !