Title: Sitemap for CPT not working
Last modified: July 22, 2025

---

# Sitemap for CPT not working

 *  Resolved [marybigorange](https://wordpress.org/support/users/marybigorange/)
 * (@marybigorange)
 * [9 months, 1 week ago](https://wordpress.org/support/topic/sitemap-for-cpt-not-working/)
 * I receive a 500 error anytime I try to access a CPT sitemap. I configured the
   sitemap with Yoast, but all of my Yoast setting seem to be correct, so I’m wondering
   if there’s an issue with CPT UI. Here are the errors I receive in the logs: [https://ibb.co/1Jw0kW65](https://ibb.co/1Jw0kW65)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsitemap-for-cpt-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 months, 1 week ago](https://wordpress.org/support/topic/sitemap-for-cpt-not-working/#post-18566616)
 * You should probably check on your hosting PHP error logs as I’m seeing `There
   has been a critical error on this website.` when I visit the sitemap url. Something
   is definitely going on, but it’s hard to say with any certainty that this is 
   something to do with CPTUI.
 *  Thread Starter [marybigorange](https://wordpress.org/support/users/marybigorange/)
 * (@marybigorange)
 * [9 months ago](https://wordpress.org/support/topic/sitemap-for-cpt-not-working/#post-18571582)
 * [@tw2113](https://wordpress.org/support/users/tw2113/) thank you for your response!
   The server error logs are below. I tried disabling object cache and increasing
   memory limit (with the help of my hosting provider) but continue receiving the
   errors.
 * [Fri Jul 25 18:03:04.241815 2025] [php:error] [pid 11311] [client 162.154.63.219:
   0] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to
   allocate 31592448 bytes) in /nas/content/live/aekotech/wp-content/drop-ins/wp-
   cache-memcached/includes/wp-object-cache.php on line 1087, referer: [https://app.asana.com/](https://app.asana.com/)
   [
   Fri Jul 25 18:03:04.477959 2025] [php:error] [pid 24001] [client 52.14.162.62:
   0] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to
   allocate 31592448 bytes) in /nas/content/live/aekotech/wp-content/drop-ins/wp-
   cache-memcached/includes/wp-object-cache.php on line 1087
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 months ago](https://wordpress.org/support/topic/sitemap-for-cpt-not-working/#post-18571593)
 * This is going to be something you’d want to reach out to your hosting support
   for. We’re not going to be able to do anything regarding memory issues from our
   plugin.
 * Hosting support would be able to better confirm that memory limits were indeed
   increased and also potentially help determine what parts of the website are taking
   up so much memory.

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

The topic ‘Sitemap for CPT not working’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389)
 * [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-type-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-ui/reviews/)

## Tags

 * [CPT UI](https://wordpress.org/support/topic-tag/cpt-ui/)
 * [site-map](https://wordpress.org/support/topic-tag/site-map/)
 * [sitemap](https://wordpress.org/support/topic-tag/sitemap/)
 * [xml](https://wordpress.org/support/topic-tag/xml/)
 * [Yoast](https://wordpress.org/support/topic-tag/yoast/)

 * 3 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [9 months ago](https://wordpress.org/support/topic/sitemap-for-cpt-not-working/#post-18571593)
 * Status: resolved