Page in sitemap that doesn’t exist

#807731
  • Resolved manuvanden
    Rank Math free

    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 😀

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

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    In this case, please follow these steps to flush your sitemap cache:

    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    3. Disable the transient cache for the sitemap by applying this filter. This will make sure that your XML sitemap always reflects the latest changes on your site:

    /** 
     * Filter if XML sitemap transient cache is enabled.
     *
     * @param boolean $unsigned Enable cache or not, defaults to true
     */
    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    If you’re not sure how to add this code, you can follow this guide:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Regarding the notification,please try to clear Rank Math’s transient. Head over to your WordPress dashboard > Rank Math > Status & Tools > Database Tools > Remove Transients:

    Transients

    Once done, clear your website’s cache and click the close button again.

    Hope that helps.

    Thank you.

    I really can not get the notification to disappear. I tried the solution several times. I saw that someone else online had the same issue and can’t get it to go away

    Hello,

    We can see that the referenced URL is no longer present on your sitemap.

    As regards the notification, please confirm you are using the latest version of the plugin and then attempt to clear your site’s and server’s cache.

    If the issue persists after doing that, we might need to take a closer look at your site’s settings.

    Please edit the first post on this ticket and include your WordPress logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    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.

    I added the login details for the site. However be really careful as it is a live site.
    Feel free to have a look if I have some other settings I should have enabled for Rank Math to do a better job.
    For example the rank math widget on the dashboard also doesn’t show data but that is the same for another site I moved onto Rank Math

    I have tried several times to clear the message and even today no luck

    Hello,

    In this case, we may need to disable the notification directly on your website’s database. You can install the PHPMyadmin so we can have direct access to do that.

    Meanwhile, you may try clearing the notification from your database after that. You should be able to find a key named rank_math_notifications under the {table_prefix}_options table in your database. Once you find the notification there, you can simply delete the option for that notification entirely.

    Alternatively, the following hook should hide the notice entirely from your dashboard and it’s safe to use, since this only applies to your admin dashboard, not to your entire site.

    function hide_rm_review_plugin_notice() {
    	echo '<style>
    	#rank_math_review_plugin_notice {
    		display: none;
    	}
    	</style>';
    }
    add_action('admin_head', 'hide_rm_review_plugin_notice');

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

    Let us know how it goes.

    Thank you for your reply. To be honest, I was expecting Rank Math to point to the Github bug report for this issue to make sure on the next update it can be fixed.
    I am new to this plugin but that is what I have seen with others.
    This bug was reported before so I really hope this can get a fix.
    I can not find the correct table with this notification in PHPadmin

    Hello,

    We tried accessing your site using the login details in the Sensitive Data section, however we were unsuccessful.
    https://imgur.com/zCyXqrs

    Please review the details and revert to us.

    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/

    We really look forward to helping you.

    Hello,

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

    Thank you.

    Ah sorry. For security reasons I had already disabled it because of the new reply in this thread.
    I updated the password in the sensitive data section.
    Please be careful though 😉

    Hello,

    We are able to log in to your website with the access details provided in the sensitive data section.

    After we deleted the rank_math_notifications key under the options table in your database. That key was regenerated again with the same option_value:
    a:1:{i:0;a:2:{s:7:"message";s:291:"<strong>SEO Notice:</strong> A previously published post has been moved to trash. You may redirect <code>https://baniwafels.be/fr/notre-histoire/nouvelles/</code> to <a href="https://baniwafels.be/wp-admin/admin.php?page=rank-math-redirections&url=fr/notre-histoire/nouvelles">a new url</a>.";s:7:"options";a:5:{s:2:"id";s:21:"auto_post_redirection";s:7:"classes";s:31:"is-dismissible rank-math-notice";s:4:"type";s:7:"warning";s:6:"screen";s:3:"any";s:10:"capability";s:0:"";}}}

    We have shared this with our developers. We will get back to you once we have an update or solution from them.

    In the meantime, can you please add your site’s FTP access details in the Sensitive Data Section so we can debug this by making changes in the plugin files? You can request this from your host.

    Thank you so much for your patience while we resolve this for you.

    Thank you for getting back with your findings. At this time, I am not allowed to provide the details for the FTP (security). However, I do think it is easy to reproduce as I’ve seen it reported by others.

    Hello,

    The only way this would happen and the notification could not be removed is because of the caching on the website.

    However, if you set the notifications key to the following in the database it should not return unless the slug is changed again and detected by our plugin:

    
    a:0:{}
    

    Don’t hesitate to get in touch if you have any other questions.

    Hello @abdullahnawaz3,

    Thank you for reaching out.

    Please follow the steps below:

    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    3. Apply the following filter code to your site.

    
    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

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

    If the issue persists, please create a new separate ticket and share the affected URL so we can debug further.

    Looking forward to helping 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 15 replies - 1 through 15 (of 32 total)

The ticket ‘Page in sitemap that doesn’t exist’ is closed to new replies.