Ready to get started?Download WordPress


  1. NWTD
    Posted 1 year ago #

    I'd like to create a custom module, but not sure where to start.

    Essentially, I'd like to create a sitemap that cross joins a custom taxonomy (locations) with a custom post type (services).

    The resulting URL would look like this: http://domain.com/custom_post_type/custom_taxonomy

    Another thing that I have to consider is that there's a couple thousand of my custom post type and a few hundred of the custom taxonomy....which would yield more than 50,000 URLs.


  2. Khang Minh
    Plugin Author

    Posted 1 year ago #

    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.

  3. NWTD
    Posted 1 year ago #

    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?

  4. NWTD
    Posted 1 year ago #

    To clarify, I've altered my permalink structure so that my custom post type URLs are as follows:


    So it results in something like this for this sample data:

    CPT Post Names: Dry Cleaning, Ironing
    Taxonomy Terms: Los Angeles, Sacramento, San Diego

    I need to make sure all of these URLs make it into the sitemap in some way.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.