Support » Plugins » Google sitemap generator custom taxonomy problem

  • Resolved henri


    Hi all, I just upgrade to 3.0 and it seams that the google sitemap generator (3.2.4) doen’t work with my custom taxonomy. It only take the first item and that all. Does anyone test this plugin with custom taxonomy and wordpress 3.0 and find similar problem?

    Thanks for your feedback and help.

    one custom taxonomy :
    and the sitemap : without the custom tax above

Viewing 2 replies - 1 through 2 (of 2 total)
  • I found that the problem is when the custom taxonomy added by the following code :

    wp_set_object_terms($post_id, $data, custom_taxonomy, false );

    When i add a taxonomy by hand it work… Quite strange



    Been playing with this all morning. In order for the sitemap to list a custom taxonomy, the custom taxonomy has to be listed on a page. Let me see if I have it right.

    You create a page for the custom taxonomy (I used a template for each custom taxonomy that listed the terms – or taxonomies – inside each custom taxonomy), since the page will get listed in the sidebar, the sitemap generator will pickup the link to that page, and therefore list that as a page.

    As a side note, I have custom taxonomies inside my custom taxonomies! If I wanted them to be listed in my sitemap I should make a page for each. I am hoping the search engines get to my custom taxonomies pages and then filter down through each custom taxonomy inside it.

    WOW! That was long! You can check out my sitemap to see what I ended up with. I plan on wrtiting a lengthy article about this because it will be used more and more. And guess what! The article will show up on my sitemap!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Google sitemap generator custom taxonomy problem’ is closed to new replies.