• Resolved dbbuda

    (@dbbuda)


    Hi there.

    I received a notification from Ahrefs indicating that my /locations.kml file was returning a 404 error. After reading through your help desk article, I realized that coordinates were missing. Therefore, I went ahead and added them in the plugin Settings. Now, the /locations.kml is no longer showing a 404 error, but it appears to be blank.

    On the other hand, I noticed that the /rank_math_locations-sitemap.xml is working fine and contains 3 items. Does it mean that my locations sitemap is working fine or I perhaps I misunderstood something?

    PS. If there’s any additional information needed, please feel free to ask, and I’ll gladly provide it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @dbbuda,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    Please make sure to fill all necessary details in Rank Math > Titles & Meta > Local SEO.

    Then, 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/

    Looking forward to helping you.

    Thread Starter dbbuda

    (@dbbuda)

    Thank you very much for detailed answer. After flushing sitemap cache all went back to normal.

    Have a nice rest of the day!

    Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @dbbuda,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on
    https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post

    about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The topic ‘locations.kml empty’ is closed to new replies.