Change hook at which XML sitemap redirects as it otherwise doesn’t load all CPT and Custom Taxonomies.