FIX: Could not check Focus Keywords in posts

#543367
  • Resolved Max ter Haar
    Rank Math free

    This morning i did the RankMath SEO Analyzer and got this warning “Could not check Focus Keywords in posts – the post meta table exceeds the size limit.”, does this means that the focus keyword is not included in the meta tag.

    And how can i solve this problem?

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

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

    This error in the SEO Analyzer occurs when the default table limit is already reached. However, this does not affect your site’s keywords as it is only in our internal tests’ default limits.

    In this case, please add this filter on your site:

    /**
     * Filter to change the Post Meta Table Limit
     */
    add_filter('rank_math/seo_analysis/postmeta_table_limit', function ( $limit ) {
    		return 500000;
    	}
    );

    And here is how to add a filter/hook to your site: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Once done, clear the SEO Analyzer cache in Rank Math > Status & Tools > Database Tools > Flush SEO Analysis cache and check again.

    Hope that helps.

    Thank you.

    I am having the exact same issue. I installed the code above using Code Snippets (as PHP code), flushed the seo analyzer cache, and even disconnected and reconnected the plugin. I also flushed the wordpress cache as well. The error message still shows up. I am using WooCommerce with the Storefront theme.

    Any other ideas on how to fix?

    Hello,

    @Joel If the issue still persists, please try increasing the value of the limit.

    You can try this value instead:

    5000000;

    Let us know how this goes.

    Thank you.

    That did indeed fix the issue – thank you. I am now running into a new issue though that wasn’t showing up before though. It says:

    “Some Javascript files don’t seem to be minified.
    https://stats.wp.com/e-202311.js

    I already have all Javascript and CSS minified in the Siteground Optimizer plugin though. Any ideas on how to fix?

    Hello,

    Are you using Jetpack or WooCommerce on your site? If so, please get in touch with their support to see if they can assists you with this one.

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

    Thank you.

    Joel Halloran
    Rank Math pro

    Hello,

    Rankmath is noindexing my checkout, cart, and my account pages. I would like to keep these pages indexed. I am trying to turn the robots meta back to index, but everytime it switches back automatically. I read it is being overridden by Rankmath, and you can’t change it on your own.

    How do I stop this and get these pages indexed again? I understand it’s best practice to noindex them, but I want them indexed.

    Thanks,
    Joel

    Hello @joel-halloran,

    If you want to set your cart, checkout, and my account pages to index then please apply the following filter on your website:

    add_filter( 'rank_math/frontend/robots', function( $robots ) {
        if(is_account_page() || is_cart() || is_checkout()) {
    	$robots['index'] = 'index';
    	$robots['follow'] = 'follow';
        }
        return $robots;
    });
    

    Here’s how you can add filter/hook to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

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

    Thank you.

    Joel Halloran
    Rank Math pro

    Thanks. Unfortunately that didn’t help.

    I added the code to ‘code snippets’ plugin. I am able to select ‘Index’, but then as soon as I refresh the page it is set back to ‘Noindex’. I tried on the wordpress side (under pages>checkout/cart/my account> and set to index), and then on each individual page (checkout page>rankmath SEO>mark this page> index). When I change it on the individual pages, it just changes back once refreshed. On the wordpress admin>page side, I am able to toggle it on and off – but it still is stuck on ‘noindex’ on the individual page side under the rankmath setting.

    While trying to figure this out, I was notified of another error. Not sure if this is related or not? When I check my main home page in Bings webmaster tools, it says ‘not indexed, this page has some problems preventing indexing’. But other pages are indexed just fine. And then when I try their robots.txt tester it says ‘syntax error’, and gives the below path:
    <html><meta http-equiv=”refresh” content=”0;/.well-known/captcha/?r=%2Frobots.txt”></meta></head></html>

    Any other ideas I can try?

    Hello @joel-halloran,

    Please create a new forum topic on this issue and include your WordPress and FTP logins in the sensitive data section there so that we can assist you further to resolve this issue.

    Looking forward to helping you.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘FIX: Could not check Focus Keywords in posts’ is closed to new replies.