Kadence Theme Pro Coming Soon page, is not showning with Rank Math active
If I deactivate Rank Math, the Coming Soon page is visible
Is there a way to tell Rank Math that this page is good or maybe some other fix?
Thanks
]]>Ok, so i notice something very wired.
I notice Rank Math (compare to Yoast) Rank Math put this lines on the robots.txt:
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
before long time ago Yoast was put this line as well, but i ask ChatGPT and i understand today WordPress do it by default (ChatGPT answer):
Rank Math includes the lines:
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
This is done to ensure that search engines are blocked from crawling the /wp-admin/ directory, which contains sensitive information about the backend of a WordPress site. At the same time, it allows access to admin-ajax.php, a file that's necessary for certain functionalities like handling AJAX requests (used for dynamic elements on the site).
Yoast, on the other hand, does not include these lines by default because WordPress itself includes similar rules in the core robots.txt file or meta tags when the wp-admin directory is set up correctly. Yoast assumes that WordPress’s native mechanisms handle this aspect.
2. Default Philosophy
Rank Math tends to have a more security-conscious default configuration, explicitly blocking certain areas to avoid any potential crawl issues.
Yoast relies on the default WordPress behavior and assumes that webmasters using their plugin are more likely to customize the robots.txt file based on their specific needs.
Now my quastion is, why you put it by default in the Rank Math plugin?
Maybe better to remove it? if WordPress core robots.txt do it by default, is better to keep the robots.txt cleaner much as we can, and “/wp-admin/admin-ajax.php” is important for API REST POINT.
So not better remove this 2 lines from the robots.txt and avoid trouble? keep the robots.txt much cleaner?
Waiting for your recomendation.
Regards,
Nadav.
]]>Hi
I have a custom social share button on category pages.
I implement it using functions.php but don’t know how to get og:image URL from category page. I need to get it for “media” of Pinterest share button URL:
1) category image URL if it is manually added in?Social Media Preview Snippet for Facebook
2) or if there is no such image, then use the global image URL from?Global Meta / OpenGraph Thumbnail
<a href="https://pinterest.com/pin/create/button/?url=<?php echo $category_url; ?>&media=<?php echo $og_image_encoded; ?>&description=<?php echo $category_title_encoded; ?>"
As, far as I understand I need to deal with rank_math/opengraph/facebook/og_image_secure_url or rank_math/opengraph/facebook/og_image but how to get it from category pages and what function to use I don’t understand.
Thanks for help in advance!
]]>Hi, with the last update WP I see this message error for WooCommerce :
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rank-math
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later.
At the moment I am on the product page. (On the Backend). I try to add the keyword or edit the meta description but it won’t let me do this as it doesn’t open the window.
]]>Hello, how are you? First, I want to say that this plugin is amazing. I actually have Yoast, but I am checking out Rank Math on a staging website before I make the switch and purchase the pro version of Rank Math.
As I mentioned in my title, I have a couple of problems with the free version, along with a few questions I need to understand before fully migrating to Rank Math.
Problems:
It’s very important to note that I’m still investigating, and there may be more problems in the future. But for now, these are the main issues I’ve found:
Another thing I must mention: I haven’t connected the Rank Math account because this is a staging website for testing, not the original website. I actually want to buy the PRO plugin, but as I said before, I need to run a few tests before making the switch.
—————————-
Quastions:
Usually, in Yoast, the default setting is “none” for page schema (only the WebPage schema is used).
I noticed that you offer additional schema types like “Service.” But I’m still a little confused because “Article” schema offered by default, so maybe there’s something I’m not aware of. Can a website like mine benefit from the “Article” schema?
Or should I use the “Service” schema? Each page on my website represents a service location or car key service. For example, the front page represents: Locksmith Orlando.
Or should I just use “none” and not include any additional schema? (only the default WebPage schema)
—————————-
That’s all for now. I know it’s a bit long, but I tried to include everything in one post.
Looking forward to your help.
Regards,
Nadav
Hello,
Can you update all your blocks to API version 3?
The post editor will be iframed if all registered blocks have a Block API version 3 or higher. Adding version 3 support means that the block should work inside an iframe, though the block may still be rendered outside the iframe if not all blocks support version 3.
Regards
]]>I write a template for CPT in setting, but still see the excerpt as a page description. How to bypass it?
]]>Hi,
Would it be possible for you to ask someone to take up a project to EXPLAIN the options for each item listed in https://rankmath.com/kb/filters-hooks-api-developer/
Under v1.0.226 August 21, 2024 changelog you have mentioned
Added: New filter to disable the cache used in the plugin
which points to https://rankmath.com/kb/filters-hooks-api-developer/#disable-cache
What does this even mean? What caching is being referred to here?
How is it different from Sitemap caching in the same page?
Updated explanation at https://rankmath.com/kb/filters-hooks-api-developer/ will reduce a lot of support tickets for you.
Similarly, please ask your team to show practical and actual real life examples while explaining filters, etc
for e.g. https://rankmath.com/kb/filters-hooks-api-developer/#modify-json-data shows
$data['testing'] = wp_create_nonce( 'rank-math' );
Who in the real world would modify json data to use testing ?????
Thanks
]]>Hello.
I can’t figure out which setting is responsible for Blog pagination.
my webmaster writes that errors on the site are due to lack of pagination. Where should I add this?
Dear Rank Math Team,
I have been encountering an issue with links in my Facebook post descriptions that should lead to my website but instead result in a black page. When users click the link, two buttons appear asking them if they want to continue to my website or return to Facebook. However, the button to continue to my website does not work, and nothing happens when clicked. The “back to Facebook” button works fine.
Upon using the Facebook Sharing Debugger tool (https://developers.facebook.com/tools/debug/), I found the following warning: “Missing Properties The following required properties are missing: fb:app_id”
I then followed your article on how to request the ID and key, which I entered in the RankMath dashboard under –> Social Meta –> Facebook App and Facebook Secret, but the error message persists.
Attempts I’ve made to resolve the issue:
It is worth mentioning that the faulty URLs in the posts, which do not lead to my website, are from paid ads and from ads that appear to my followers in their feeds, rather than the ones found on my fan page. The original links on my fan page work fine. Only URLs from these paid ads + feed ads/posts lead to the black page with the two buttons, with the one meant to take users to my website not working.
Do you have any idea why the app ID isn’t being recognized, even though the Scraped URL report detects the code (<meta property=”fb:app_id” content=”12345678912345″>)?
Thank you and best regards
]]>Hello, I tried using Redirects but don’t seem to be working properly – only a single record appears and that happens randomly. If I add a new one, it is not replaced or deleted all together.
Found a similar post where and followed the steps of recreating the database tables, but still no luck.
]]>Hi there,
encountered an issue with Rank Math plugin after updating WordPress tp v6.7 (Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rank-math-pro domain was triggered too early).
Could you please fix this in next release?
]]>Hi there. I upgraded my WP to the latest version. I also have the latest RankMath version. When I open the WP editor, I see the following problems:
The screenshot above shows that the Zoom Out button is nowhere to be found. When I disable RankMath, the editor works as normal.
Note: The issues appear even if I deactivate the Content AI.
]]>Query Monitor is telling me the following message:
“Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rank-math-pro domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. (This message was added in version 6.7.0.)”
]]>Rank Math SEO v1.0.232 does not load the language pack correctly in wordpress 5.7
]]>Hello,
After update to WordPress 6.7, I get this message:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rank-math domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in D:\xampp\htdocs\iris2\wp-includes\functions.php on line 6114
Could you please assist in addressing this issue? Thank you for the support.
Best regards.
]]>Hello, I would like to know how to automatically display the titles of the latest few posts in the meta description for a category. I couldn’t find a relevant variable for this.
For example, if the latest three post titles in Category A are 1, 2, and 3, I would like the meta description to automatically display “1, 2, 3.”
Thank you!
]]>add_filter('rank_math/sitemap/exclude_post', function($exclude, $post) {
2
3 $excluded_urls = [
4 'https://site.com/blog/',
5 'https://site.com/case_studies/',
6 'https://site.com/services/',
7 'https://site.com/solutions/'
8 ];
9
10
11 $post_url = get_permalink($post->ID);
12
13
14 if (in_array($post_url, $excluded_urls)) {
15 return true;
16 }
17
18 return $exclude; // Возвращаем оригинальное значение
19}, 10, 2);
These are the most important taxonomy pages that are created at once by wp. How can they be excluded from sitemap?
]]>Hello, if I’m having google analytics active in RankMath and using MonsterInsights also, do I need to check the option to install analytic code? What is general way to evaluate how many analytic code is inserted into my pages? Thank you.
]]>See video : https://jeriss.tinytake.com/msc/MTAyOTE2NDJfMjM5NzYwMjE
]]>Hello, when the product is withdrawn from sale, I want to set it as hidden. Unfortunatelly, rank math sets noindex and nofollow. There’s no point in nofollow, so I tried changing robots with functions.php, in this case I tried changing all follow links for testing purpose
add_filter( 'rank_math/frontend/robots', function( $robots ) {
$robots["index"] = 'index';
$robots["follow"] = 'follow';
return $robots;
});
No changes, this snippet however:
add_filter( 'rank_math/frontend/robots', function( $robots ) {
$robots['index'] = 'index';
$robots['index'] = 'index';
return $robots;
},999 );
It adds additional robots:
<meta name=”robots” content=”noindex, nofollow, follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large”/>
]]>Hello,
hello i use rank math plugin for seo in wordpress website
some urls are case sensitive and show 404 error how to make all urls same ?
example now my website shows 404 error when user access
https://mywebsite.com/HOMEPAGE1
but when https://mywebsite.com/homepage1
its work
]]>Hi,
today I reached out to the Elementor Support due to the issue which seems to be caused by Rank Math:
I use the search widget of Elementor on my archive page “Trauerf?lle” (see link) to search for names in that particular custom post type. In addition I use the plugin “Ajax Search Lite”. I get search results when I type in some letters within a dropdown but as soon as I hit enter or press the “Suche”-button, I get to a white screen with a message that there was a fatal error caused on my website. I can then hit back in my browser and return to the archive page. I also made a search results page using Elementor’s theme builder and set the conditions to show for all search results in that template. But I don’t even get so far. I reported this issue to the Elementor support who found out that the search works perfectly when the Rank Math is deactivated.
Now Rank Math is on, and the error occurs.
Can you please have a look what could cause that problem?
]]>Hi, i added a few posts to my site (a few days ago) although there are links to these posts in IndexNow history, but they were not indexed! I indexed the new posts manually through the search console.
Why was it done manually but the posts were not indexed via IndexNow?
]]>Hi, when editing a template (like the Blog home page) in the Twenty Twenty-Four theme, the Rank Math tab on the right is visible just like a regular post or page. Why is that?
]]>I tested this problem on three different website each using Rank Math SEO, and if I go to Instant Indexing > History > Clear History the button has no effect. This appears to be a plugin coding issue, as the ‘Clear History’ button links to: https://domain.name/wp-admin/admin.php?page=rank-math-options-instant-indexing#
Please fix this bug, and notify when released.
]]>Hello, when a user filters by color, I want to dynamically change the Rank Math title, remove the canonical, and modify the meta description accordingly. However, this doesn’t work if I try to make these changes within a function:
add_action('woocommerce_before_shop_loop', 'display_current_filter', 1000);
add_action('woocommerce_before_shop_loop', 'display_current_filter', 1);
function display_current_filter() {
global $wp_query;
if (!empty($wp_query->query_vars['filter_color'])) {
add_filter( 'rank_math/frontend/canonical', function( $canonical ) {
return false;
});
}
return false;
}
This could work if I modify display_current_filter function, but then I have to call same function at least 5 times (for title, description etc). Is there any way to run these inside a function?
add_filter( 'rank_math/frontend/canonical', function( $canonical ) {
if(display_current_filter()) return false;
return $canonical;
});
]]>
Hi Rank Math Team,
Users with the role of editor in the WordPress dashboard will have the Rank Math option, although there is no need for it. Is it possible to hide it completely for the editor role?
]]>Hi,
I have a custom post type “job_listing” with 50k posts. I have set the rankamth options for this custom post type to “noindex” and “no follow”. However, looking at the wp_postmeta table in phpmyadmin there are about 50-60 rankmath meta fields for each of these 50k posts. How Can I deactivate / remove these meta fields for this post type entirely?
]]>