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

  1. Tiago Vargas
    Posted 3 years 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.


  2. Tiago Vargas
    Posted 3 years ago #

    wrong plugin support... my bad.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • XML Sitemaps
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.