link rel=”canonical” duplicated when using Rank Math

#314774
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    I checked your website’s page source and indeed you have 2 canonical tags. Please see my screenshot here for reference:

    canonical

    Kindly check if there are other plugins or your current theme that might be adding a second canonical tag. To determine that, please follow the troubleshooting guide: https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Let us know how that goes. Looking forward to helping you.

    Thanks for helping. Please help me remove the canonical of rank math from the homepage

    Hello,

    In this case, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    I have added the filter given below in your theme’s functions.php file and it has removed the canonical tag of Rank Math from your homepage:

    add_filter( 'rank_math/frontend/canonical', function( $canonical ) {
    	if (is_front_page()) {
    		return false;
    	}
    	return $canonical;
    });

    Please check and let us know if you need any other assistance.

    Thanks.

    Thank you so much rank math team!

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this ticket.