• After upgrading to 4.0.5 I’m no longer getting TSEOF output on category archive pages. I’ve deactivated all plugins and switched to twentytwenty theme and the issue persists. Downgrading to 4.0.4 ‘fixes’ it…

    This is a little strange because its working fine on some of the sites I manage, and others it doesn’t. I’m wondering if there’s a setting that I’m missing?

    I realize this is not an easy issue to solve – but was wondering if perhaps anyone else has come across this issue.

    • This topic was modified 4 years, 8 months ago by Bryan Hoffman.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi Bryan,

    That’s odd! We haven’t come across this issue before.

    If you’d like to debug this error, please add this to your wp-config.php file (PHP7+):

    define( 'THE_SEO_FRAMEWORK_DEBUG', ( $_GET['debug_tsf'] ?? false ) === 'true' );
    

    Then, head to the category, and add this to the URL: ?debug_tsf=true. Note that this may only work when page-caching is disabled (or when you’re logged in).

    At the bottom of the category page, you should see TSF’s debug screen, and it should show whether the query is supported via query-variable query_supports_seo. What I’m most interested in is if there’s a page_id set, since that helps determine the query-validity.

    If you’d like me to take a look, let me know! Shoot me an email, disable caching, leave the debugging snippet in place (it won’t expose sensitive information), and then I can forge you a snippet to override the “query-is-supported”-detection. I’ll try to get back to you within two hours from now.

    You may try your luck with this snippet, however. Be sure to clear the cache after installing it:

    add_filter( 'the_seo_framework_query_supports_seo', function( $supported ) {
    
    	if ( is_category() ) {
    		$supported = true;
    	}
    
    	return $supported;
    } );
    Plugin Author Sybre Waaijer

    (@cybr)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘4.0.5 no SEO output on Post Category pages’ is closed to new replies.