If you already have a custom post type and a custom taxonomy that are linked together, you simply need to filter the permalink for that special taxonomy to be http://domain.com/custom_post_type/custom_taxonomy
Once done the current taxonomy sitemap will handle the rest, no need for a custom module. The challenge here is to split the taxonomy sitemap.
Thread Starter
NWTD
(@nwtechie)
you simply need to filter the permalink for that special taxonomy to be
Is this a setting in the plugin? Is there any more documentation with more information so I can figure it out?
Would a custom module need to be setup to break them up into acceptable XML sitemaps that don’t exceed the 50k limit?
Thread Starter
NWTD
(@nwtechie)
To clarify, I’ve altered my permalink structure so that my custom post type URLs are as follows:
http://domain.com/cpt_post_name/taxonomy_term
So it results in something like this for this sample data:
CPT Post Names: Dry Cleaning, Ironing
Taxonomy Terms: Los Angeles, Sacramento, San Diego
http://domain.com/dry-cleaning/los-angeles
http://domain.com/dry-cleaning/sacramento
http://domain.com/dry-cleaning/san-diego
http://domain.com/ironing/los-angeles
http://domain.com/ironing/sacramento
http://domain.com/ironing/san-diego
I need to make sure all of these URLs make it into the sitemap in some way.