-
Hey there on my sitemap I have a page that does not exist. It also for some reason is pointing to the french site but with a dutch page title.
The link is in the sensitive data portion.As an extra issue I also keep on getting the message “SEO Notice: A previously published post has been moved to trash. You may redirect” on the admin panel. I try to dismiss it and I also cleared the transients. But no results.
Migrating from Yoast to Rank Math seems like more work than I though 😀
-
@abdullahnawaz3, if you have WPML you should also not forget the install the WPML SEO plugin. I think it may have been that for me after some testing.
Regarding the SEO Notice, I discussed with the WP-Rocket team and they really don’t think it is related to them. I still can’t get it to go away
Hello,
I tried to reproduce this issue on my dev setup but the notification entry is cleared from the database when I click the
xbutton within the notification element.It looks like something is preventing this on your website, or causing a regeneration of the same.
For this reason we would like to troubleshoot further from within your website.For this to happen, please create a staging site and share with us; the admin login and FTP details to the staging site, so we may get to the bottom of this issue.
We look forward to having this issue resolved.
Thank you.
I do not have the option to create a staging site for this website. Is there no other way we can test this? If it isn’t related to caching my guess is that it could be caused in combination with WPML.
The link that is causing the error with the SEO notice is only related to the french url and not the dutch (main language). I did delete both pages so that is rather strange.
Hello,
Since it only happens under special conditions, and we have not been able to reproduce on our setup, we can only troubleshoot on your app|website (we don’t know the exact conditions under which this happens).
Which hosting service provider are you using for this website?; there’s a well detailed walk through on how to create a staging site, on most popular hosts at; https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/If creating a staging site is not possible, you may make a complete backup of the current website and share the FTP details to it, instead.
Thank you.
Have you tried to test it with PHP 8.3? I will look into a staging site.
Hello,
Please share access to a staging copy of your website with us. You can use the WP Staging plugin to create a free and easy staging copy of your website.
We are looking forward to hearing back from you.
damn, now there is a large notification that I should rate WP-Rocket (blue) that I can’t get away. This one takes a lot of my admin space. This is getting a little crazy tbh.
edit: Is there no way to disable all Rank Math notifications? I am beginning to regret taking the effort to move from Yoast to Rank Math. I was enticed by the positive reviews
I found this reference online: https://oswoptimize.com/how-to-remove-rank-math-plugin-dashboard-notification/
Is it safe to do it?
Hello,
Please use this code on your website, this is similar to the code you shared.
add_action('admin_head', 'rm_remove_pending_filter'); function rm_remove_pending_filter() { echo '<style> #toplevel_page_rank-math .awaiting-mod{ display: none !important; } </style>'; }You may refer to this guide on how to add filters to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/
Hope that helps.
Thank you.
That one didn’t work but I used this instead. I would really like to deactivate this code snippet in the future though as some plugins have important things to say. Could you guys let me know when you fixed your notification system? It seems like I really am not the only one with issues.
// Hide WordPress Admin Notifications programmatically function pr_disable_admin_notices() { global $wp_filter; if ( is_user_admin() ) { if ( isset( $wp_filter['user_admin_notices'] ) ) { unset( $wp_filter['user_admin_notices'] ); } } elseif ( isset( $wp_filter['admin_notices'] ) ) { unset( $wp_filter['admin_notices'] ); } if ( isset( $wp_filter['all_admin_notices'] ) ) { unset( $wp_filter['all_admin_notices'] ); } } add_action( 'admin_print_scripts', 'pr_disable_admin_notices' );Hello,
The fact that you got a notification from another plugin that also could not be dismissed is an indication that something might not be working properly with the admin dashboard, particularly with the notification system and dismissal.
From our experience when this happens it’s because something is caching the WordPress backend and prevents the dismissal from happening.
Can you please let us know what is the content of the following key in your postmeta database table?
rank_math_notificationsThat’s the key where all the notifications from our plugin are saved and if that is currently empty, the culprit is the caching of the backend.
Don’t hesitate to get in touch if you have any other questions.
I am able to clear notifications from other plugins. Only Rank Math is an issue. I meant to say that I would rather not hide all notifications that come up in the future from other plugins just because of the issues with those from Rank Math. Sometimes it is useful info.
When I search for “rank_math_notifications” as a key in the postmeta table, nothing is foundHello,
In this case, it is possible that there’s heavy caching in play in your admin dashboard that keeps the notification showing.
We suggest you try to clear your website and browser caches. If you have any server-level caching services, you may also clear that as well.
Let us know how that goes.
I have done the cache clearing several times. WP-Rocket support tells me it is not the cache. I even cleared the Redis cache.
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.
The ticket ‘Page in sitemap that doesn’t exist’ is closed to new replies.