Hello,
We apologize for the issue you are facing with Rank Math treating your page as a post. To optimize your Elementor templates for SEO with Rank Math, you may need to enable Rank Math SEO on those templates specifically. By default, Rank Math excludes support for Elementor templates since they are not actual pages or posts.
To enable Rank Math SEO on Elementor templates, please refer to the following knowledgebase article: Enable Rank Math SEO on Elementor Templates.
If you continue to experience issues or if this does not resolve your concern, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.
Thank you for raising this concern!
Sources:
Enable Rank Math SEO on Elementor Templates » Rank Math
This solution didn’t work and i can still see blog post seo features in the elementor seo like table of content in the page which is not suppose to be here.
Hello,
In this case, you can use and customize this filter to remove the test from your Pages only:
/**
* Filter to disable Table of Content test
*/
add_filter('rank_math/researches/tests', function ($tests, $type) {
global $post;
$post_id = $post->ID;
if (get_post_type($post_id) == 'page'){
unset($tests['contentHasTOC']);
}
return $tests;
}, 10, 2 );
If you’re not sure how to add this code, you can follow this guide:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
You can also add other tests in the code you want to disable in our guide here:
https://rankmath.com/kb/disable-seo-content-tests/
Looking forward to helping you.
This is not good solution because rank math is only considering my homepage as page other all pages as getting considered as post and showing post seo features.
It is showing 6 to 7 post seo features in elementor seo which are unnecessary it is hard to disable all of these features.
Please tell me a solution in which all my pages are considered as page not like post.
Thank you.
Hello,
Our plugin shows the same suggestions for all the post types. If you don’t find some test relevant to the content of a post type, you can use the filters available in the following guide to disable the SEO tests: https://rankmath.com/kb/disable-seo-content-tests/
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
This is helpful but there is no code snippet for disabling focus keyword errors
Can you help me with that?
Hello,
That tutorial we shared allows you to disable any test we have included in the SEO analysis tests. There are multiple tests for the focus keyword and those are all referenced in the tutorial.
If you need to disable this only on the pages you can modify the filter we shared before to apply this only to the pages and include the tests that you want to disable for them.
Don’t hesitate to get in touch if you have any other questions.
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.