wpseo_canonical not working

Posted in: Newspaper
Post count: 46

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

Post count: 18283

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 !

Post count: 46

Hello!

The setup for Yoast requires to add a canonical link in the backend, did that, no changes. This is why we moved to review plugin code.

Thanks.

Post count: 18283

Hello !

This may be a caching issue. Please make sure to clear your cache and let us know the result !

Thank you !

Post count: 46

Hello!

We have cleared cache, other content changes but not the canonical link.

Thanks

Post count: 18283

Hello !

There seems to be a problem with SEO Yoast, we have tested this with and without Newspaper Theme and now it is not working. You will have to contact SEO Yoast and let them know about this issue.

Thank you !

Post count: 46

No, it’s definitely the newspaper theme. They have specifically written code to disable it, I even posted it on their forum.

Yoast guys will say it’s newspaper

Please check

Post count: 35449

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!

Post count: 46

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

Post count: 35449

Hi valuewalk, please make a test, disable and delete tagDiv Composer and tagDiv Cloud library, after that re-install the plugins from Newspaper > plugins and try again, it should set the canonical how you said.
Let me know the results!

Post count: 46

Hello,

Can I do this on a live site, will deleting the plugins delete any of the templates/library items we made?

Thanks!

Post count: 18283

Hello !

You can but you will have to look when there are no users online in order not to make their experience bad.

Thank you !

Post count: 46

Hello,

We have tried deleting all the plugins and reinstalled them.

The issue still exists, any clue?

Thanks

Post count: 18283

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 !

Post count: 46

We have sent it to you multiple times

Here it is again plz keep in your notes
EDITED

Post count: 35449

Hi valuewalk, please let me know the email address that you use and the title of email. I will search for it and reply as soon as possible.
Thank you for your understanding!

Viewing 16 posts - 1 through 16 (of 16 total)
The forum ‘Newspaper’ is closed to new topics and replies.