Support » Plugin: The SEO Framework » Canonicals

  • Resolved MassimoD

    (@massimod)


    Hi.

    It seems that SEO Framework reports wrong (always the same, reports the Base page) canonicals for

    https://wordpress.org/plugins/wpforo/

    Is there a solution ? If not anyway to at least exclude canonical creation for specific pages ?

    Thank you

Viewing 16 replies (of 16 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi @massimod,

    In the latest update, wpForo compatibility has been implemented like with the code above, but a little more optimized.
    That said, the descriptions can’t be generated correctly as we don’t know the content. Because of that, the Open Graph output isn’t complete.

    So, if you truly wish to disable TSF on wpForo pages then this snippet will definitely work:

    add_action( 'init', function() {
    	if ( function_exists( 'the_seo_framework' ) && function_exists( 'is_wpforo_page' ) && is_wpforo_page() ) {
    		$tsf = the_seo_framework() ?: null;
    
    		if ( $tsf )
    			\remove_action( 'init', array( $tsf, 'init_the_seo_framework' ), 0 );
    	}
    }, -1 );

    I do understand your frustration and I’ll see if I can prioritize the options for the exclusion of queries, but I can’t promise its release in any given timeframe.

Viewing 16 replies (of 16 total)
  • You must be logged in to reply to this topic.