WordPress.org

Ready to get started?Download WordPress

Forums

XML Sitemaps
[resolved] [closed] fix? (2 posts)

  1. Tiago Vargas
    Member
    Posted 1 year ago #

    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/

  2. Tiago Vargas
    Member
    Posted 1 year ago #

    wrong plugin support... my bad.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.