Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#52729 closed defect (bug) (worksforme)

Core sitemap doesn't initialize

Reported by: pvde's profile pvde Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.6.2
Component: Sitemaps Keywords:
Focuses: Cc:

Description

Hi,

The core sitemap doesn't initialize on my sites with more than 1M posts.

<1M posts there is no problem.

I'm running dedicated on plesk and don't use any other sitemap plugins or whatsoever. I tried resetting the permalinks but nothing helped and I can't get to find out IF the sitemaps are working at all.

Change History (2)

#1 @swissspidy
4 years ago

  • Focuses ui accessibility administration coding-standards removed
  • Keywords close added

The built-in sitemaps functionality was deliberately built with typical WordPress sites in mind that have way fewer posts than that. As it has no built-in caching, it is possible that it won't work for millions of posts without any additional performance optimization.

You might want to look into things like object cache integration or dedicated sitemaps plugin that store sitemaps information in the database rather than creating them on the fly like core does.

#2 @desrosj
4 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Thanks for this ticket

I'm going to close this one out. @pvde if you're still experiencing issues, I recommend opening a ticket in the WordPress.org support forums. If you're able to identify a sepecific performance bottleneck that can be improved, feel free to reopen this ticket with more information!

Note: See TracTickets for help on using tickets.