Hello @lfedele,
Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.
Please check the screenshot; there is Yoast mentioned in it.
https://i.rankmath.com/i/ZS5utI
Can you please open a new support thread with them so they can assist you with this?
Hope that helps.
Hello @rankmathteam,
you’re right, it was the wrong screenshot, before our migration to your plugin. I just updated it, for the issue did nos change.
Hope you can help.
Hello @lfedele,
We tried to follow the URL of that tag and it’s indeed loading a second page for the glossary. That page might not be visible immediately but the page is clearly present on the website.
If you would like to disable this you can add the following filter: https://rankmath.com/kb/filters-hooks-api-developer/#disable-adjacent-lins
Don’t hesitate to get in touch if you have any other questions.
Hello @rankmathteam,
thank you for your support, what if I wanted to apply it to that specific case only? I would like to keep it working for the blog for example.
Thanks.
Hello @lfedele,
Please try applying the following filter to the website to disable this only on this page:
add_filter( 'rank_math/frontend/disable_adjacent_rel_links', function() { $url = home_url( $_SERVER['REQUEST_URI'] ); if( strpos( 'glossario', $url ) ) { return true; } return false; });
Hope this helps solve your issues.
Don’t hesitate to get in touch if you have any other questions.
Hello @rankmathteam,
thank you, while the code mentioned at the url previously provided works, this last one unfortunately doesn’t. I double checked but nothing changed.
Any suggestion?
Hello @lfedele,
Please use the following code instead:
$url = home_url( $_SERVER['REQUEST_URI'] ); if( strpos( $url, 'glossario' ) !== false ) { add_filter( 'rank_math/frontend/disable_adjacent_rel_links', '__return_true'); }
This should work to set the page without the adjacent links.
Don’t hesitate to get in touch if you have any other questions.
Hello @rankmathteam,
it worked, thank you so much!
Glad that helped @lfedele,
Please feel free to create a new forum topic in case you need our assistance with anything else.
Thank you.