URGENT : Multi Title Tag and Self Canonical

  • null
    null

    Hello Support Team. First of all thank you for your great support.

    Can you help me fix this issue? i have provide login details in Sensitive Data section.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    I recommend you to use one of our supported AMP plugins:
    AMP for WordPress
    AMP for WP
    WP AMP Ninja
    AMP on WordPress – weeblrAMP CE
    AMP for WooCommerce
    WP AMP

    Rank Math will work out-of-the-box or with just some tweaks on those plugins and your issue will be fixed at the moment.

    Looking forward to help you.

    But, theme used on my client wordpress already build in with “Better AMP”.

    Are you using Better AMP and Rank Math AMP same time?

    Yes, im using it on the same time. Why do you asking it? You have any idea how to fix it?

    Hello,

    I created for you a filter so you can disable the Rank Math canonical tag and just use the one by Better AMP.

    You just need to add this code at the end of the functions.php file of your current theme, save it and clean the cache (if you have one):

    /**
     * Filter to disable Rank Math's canonical tag in Better AMP pages
     *
     * @param string $canonical The canonical URL.
     */
    add_filter( 'rank_math/frontend/canonical', function( $canonical ) {
    	if(is_better_amp()){ 
    	   return false;
    	}
    	return $canonical;
    });

    Looking forward to help you.

    • This reply was modified 4 days, 11 hours ago by Alberto.

    Yes, I was also using both options. After disabling Rank Math AMP, I found the issue solved.

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

You must be logged in to reply to this ticket.