Rank Math not scanning post content properly

#22443
  • Resolved Zuroma
    Rank Math free

    Just installed Rank Math. We have all our custom posts created in Toolset. Rank math shows up when we’re editing a post, and it properly analyzes the title, meta description and URL.

    But no matter what I put in the post_content, Rank Math doesn’t seem to scan it properly.

    For example, if the keyword is “retreat in the mountains”

    and I start my post with “This was a beautiful retreat in the mountains”, then Rank Math is still red for:

    – Use Focus Keywords at Beginning of Content
    – Use Focus Keywords in Content
    – In Header tags (even when I add the key phrase in a header)
    – Keyword density is 0%, etc.

    When I add link outs and images, Rank Math is not detecting them.

    It seems no matter what I do, Rank Match is just not scanning the post_content properly.

    Has anyone encountered this or has any suggestions on what to check or fix?

    • This topic was modified 4 years, 10 months ago by Zuroma.
Viewing 15 replies - 1 through 15 (of 16 total)
  • Hello,

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

    Are your entering the data on the default post editor or you have a third party plugin/page builder to manage the post content?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hi, thanks for your response. We’re entering it in the standard editor, but not the block editor.

    We turned off the block editor with the use_block_editor_for_post_type filter, so that it’s using the standard tinymce editor.

    I can add an admin login for you in sensitive data, if you think that’ll help.

    • This reply was modified 4 years, 10 months ago by Zuroma.

    Hello,

    Some temporary access would really be helpful. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    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.

    The issue is definitely related to using the built-in wordpress filter to disable gutenberg on a custom post. Rank Math does not scan the content.

    When I turn off that filter and let the post type use gutenberg, Rank math finds the post content.

    We need to disable gutenberg for our posts. Is Rank Math only compatible with the block editor? Can you check with a developer?

    Hi there,

    Thanks for the follow up.

    Rank Math should be able to analyse HTML content on any page and the content can either be in the Classic editor or Gutenberg editor.
    I cannot access your theme files to check the snippet that you are using to disable Gutenberg on the post type. Could you please share a copy of the code that you are using so that I can test this on my end?

    We are looking forward to your response. Thank you.

    Hi,

    Thanks for your response. Sure, below is the custom code we’re using. It’s simple, just using a WordPress filter.

    CLASS GFFunctions_Admin {
    ...
    	// post types to disable gutenberg on
    	private $classic_editor_post_types = array(
    		'gf-event-location','gf-event-organizer','gf-letter','gf-events','gf-streaming-video',
    		'gf-blog-post','gf-community-article','gf-livestream-video','gf-podcast',
    		'gf-quote','gf-radio-episode','gf-image-group', 'page', 'gangfound-report',
    		'newsletter',
    		'gf-entry-ev-comp'
    	);
    ...
    		add_filter('use_block_editor_for_post_type', array($this,'disable_gutenberg'), 10, 2);
    ...
    	/*
    	* disable block editor on our custom posts
    	*
    	* for filter: use_block_editor_for_post_type
    	*/
    	function disable_gutenberg($is_enabled, $post_type) {
    		if (in_array($post_type,$this->classic_editor_post_types)) return false;
    		return $is_enabled;
    	}
    ...
    }	

    and more info: We’re using Toolset (toolset.com) to create and manage all our custom post types. When creating a custom post type, they give an option to use the block or classic editor:

    null

    so, I tried disabling our custom code (the use_block_editor_for_post_type filter), and using just Toolset options, and it’s the same. When using classic editor, it doesn’t work, but when using block editor it does.

    Toolset said that when setting a custom post to classic, they don’t add any special html or css, it’s just using the standard WordPress editor.

    If you need more info, let me know. Thanks!

    • This reply was modified 4 years, 10 months ago by Zuroma.
    • This reply was modified 4 years, 10 months ago by Zuroma.

    Hello,

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

    Thank you.

    Hello,

    Thank you for contacting Rank Math today.

    I am sending this to our dev team for closer investigation and we will be getting back to you in a short while.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Thanks for all your help! Looking forward to any solution, since we’d love to use Rank Math.

    Todd
    Rank Math free

    Hi Zuroma,

    We have added API access to the content analysis in the Rank Math plugin when something like this happens and your theme’s/plugin’s content is not available for Rank Math to read.

    You would need to contact the developer of the plugin you mentioned by showing the following link:
    https://rankmath.com/kb/content-analysis-api/

    Many known companies have already added the compatibility, as it takes a few hours:
    https://rankmath.com/compatibility/themify-builder/
    https://rankmath.com/compatibility/page-builder-framework/
    https://rankmath.com/compatibility/flothemes/

    I hope that helps. Please let us know if there’s anything else you need our assistance with. More than happy to help.

    Thank you.

    My site images are not indexed by google.. teccon.co.in or u can check using site:teccon.co.in I made noindex untick but still this problem is going on. Please solve it.

    Hi Todd,

    Thanks for your reply. I’ll add that code to our functions and see if it helps.
    I’ll leave this thread open for now and will close it when I get it working.

    It’s weird though, since Toolset doesn’t alter anything on the post editing screens. We’re not using any custom fields, only using the standard post_content and post_title db columns, and the html/css is the standard wp post editing screen.

    best regards

    • This reply was modified 4 years, 10 months ago by Zuroma.

    Also, the fact that when we switch the posts to use the block editor, without any other changes, causes Rank Match to automatically scan properly, suggest there might be other issues at play.

    Hi,

    We determined that Rank Math’s javascript was conflicting with wpDataTables. wpDataTables couldn’t find anything causing it on their end.

    We added code to not load wpDataTables in the admin area. This resolves the issue temporarily, but it’d be great if you could check if something in Rank Math is the cause of the conflict.

    best regards

    • This reply was modified 4 years, 10 months ago by Zuroma.

    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 15 replies - 1 through 15 (of 16 total)

The ticket ‘Rank Math not scanning post content properly’ is closed to new replies.