WordPress.org

Support

Support » Plugins and Hacks » XML Sitemaps » [Resolved] fix?

[Resolved] fix?

  • in line 2114 of the last version…

    the SQL was giving me some real trouble

    i have cpt ‘produtos’ with some custom taxonomies.. in the sitemap.xml it was only printing 1 custom taxonomy URL when it should be printing 19

    the problem was line 2127:
    “AND p.post_type = ‘post'”, solved excluding

    and line 2129
    “AND r.term_taxonomy_id = t.term_id”, solved using:
    “AND r.term_taxonomy_id = tt.term_taxonomy_id

    now its working fine printing all 19 URLs

    if this is correct please update in the next version.

    http://wordpress.org/extend/plugins/xml-sitemaps/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] fix?’ is closed to new replies.
Skip to toolbar