404 url in sitemap.xml

#571090
Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello,

    Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.

    Can you please try following the steps below to see if that works for you?

    #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. If the above steps doesn’t seem to work, kindly apply the following filter code to your site.

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

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

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    Hello @hugo-jose-carotti-aubel,

    You mistakenly added your reply to another ticket. We already replied to the support ticket you’ve created in our forum.

    You can add your reply there to avoid any confusion.

    Thank you.

    Doesn’t work:(

    Hello,

    In this case, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    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.

    Thank you.

    knock-knock

    Hello,

    We’ve checked your site and added the following filter to your theme’s function.php but the URLs are still appearing on your sitemap:

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

    We tried to clear the cached XML files directly from the directory but we don’t have the permission to install any file manager plugin on your website. In this case, please head over to the following folder and clear all the XML files you see there and see if that works for you: wp-content/uploads/rank-math

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    Deleted all this files https://tppr.me/7MzuV

    Deleted all this files https://tppr.me/7MzuV but problems are still https://tppr.me/hpu5y

    Hello,

    Could you please renew the login credentials and also make sure that they are admin-level so we can debug the issue in more detail and see why that page is still appearing in the sitemap?

    Looking forward to helping you.

    done. the same link to admin panel and give you admin access

    any update?

    Hello,

    This sitemap generation is entirely controlled by the Premmerce Product Filter plugin in the folder src/Seo/Sitemap and they included support for our plugin’s generation there with custom code.

    Because of that we simply output the results of the code snippets they have for the sitemaps but we don’t have control over the links that are added to it.

    As you can also see, that sitemap is not available in our sitemap settings under WordPress Dashboard > Rank Math > Sitemap Settings because of the same.

    We would recommend getting in touch with their support and asking them to refine the code snippets so that 404 pages are not included by default in their sitemap generation.

    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.

Viewing 12 replies - 1 through 12 (of 12 total)

The ticket ‘404 url in sitemap.xml’ is closed to new replies.