Fix: GeoDirectory Location and Archive Pages Missing from Rank Math Sitemaps

Introduction

I ran into an issue where my GeoDirectory location pages and archive pages weren’t showing up in Rank Math’s sitemaps. This was a problem because without them, Google couldn’t properly crawl my directory site.

Here’s how I fixed it.


The Problem

  • Rank Math was only generating sitemaps for my listings, not for my location pages or archive pages.
  • I had added new regions and cities after Rank Math initially created the sitemap, which I suspect was the cause.

The Solution

The fix came down to enabling the correct settings with GeoDirectory’s Location Manager addon.

  1. Make sure the Location Manager addon is installed and activated.
  2. Go to: GeoDirectory → Settings → Locations → Settings
  3. Click Show Advanced.
  4. Under Rank Math Sitemaps, select the locations and CPTs (custom post types) you want included.
  5. Rank Math will now generate:
    1. locations/{city} → one sitemap for each city.
    2. businesses/{city} → one sitemap for each CPT in that city.
    3. Plus additional sitemaps for taxonomy archives.

After enabling this, my missing sitemaps finally appeared.


Extra Notes

  • If you added new regions or cities after Rank Math already generated the sitemaps, you may need to refresh the cache.
  • This setup ensures each location has its own sitemap, which is great for SEO.

Conclusion

If your GeoDirectory location and archive pages aren’t showing up in Rank Math, don’t panic. Just enable them under Location Manager → Rank Math Sitemaps, and they’ll start appearing correctly.

Subscribe to Michael Shoe

Sign up now to get access to the library of members-only issues.
Jamie Larson
Subscribe