Opis
TaxoMap Category Sitemap publishes a standards-compliant XML sitemap listing your taxonomy term archive
pages (categories, tags, and any custom taxonomy you choose) at:
https://yourdomain.com/category-sitemap.xml
Each <url> entry includes:
<loc>— the term’s permalink, generated withget_term_link(), so it automatically respects custom
permalink structures registered for a taxonomy (including nested/custom rewrite patterns).<lastmod>— the publish/modification time (ISO 8601, site timezone) of the most recently modified
published post assigned to that term.<changefreq>and<priority>— configurable from the admin settings screen.
Features
- Works out of the box with the built-in
categorytaxonomy. - Admin screen (Settings > Category Sitemap) to check/uncheck any registered public taxonomy
(built-in or custom), plus a free-text field to add non-public custom taxonomy slugs. - The full sitemap XML is cached with
wp_cache_set()/wp_cache_get(), and the winning post ID for
each term’s „last modified” lookup is also cached, so repeat requests avoid re-running the
underlyingWP_Query. - One-click „Flush Sitemap Cache” button for after bulk content changes.
taxomapcs_sitemap_urlsfilter for further customizing the URL list before output.
Instalacja
- Upload the
taxomap-category-sitemapfolder to/wp-content/plugins/. - Activate the plugin through the „Plugins” screen in WordPress.
- Visit Settings > Category Sitemap to choose which taxonomies to include.
- Visit
/category-sitemap.xmlon your site to confirm it renders.
If the sitemap URL returns a 404, go to Settings > Permalinks and click „Save Changes” once to flush
rewrite rules.
Najczęściej zadawane pytania
-
Can I include a custom taxonomy?
-
Yes. Any taxonomy registered with
public => truewill appear as a checkbox on the settings screen.
Non-public custom taxonomies can be added by slug in the „Additional Custom Taxonomies” field. -
How is lastmod calculated?
-
For each term, the plugin queries the single most recently modified published post assigned to that
term and uses its modified date.
Recenzje
Wtyczka nie ma jeszcze żadnej recenzji.
Kontrybutorzy i deweloperzy
„TaxoMap Category Sitemap” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.
ZaangażowaniPrzetłumacz wtyczkę “TaxoMap Category Sitemap” na swój język.
Interesuje cię rozwój wtyczki?
Przeglądaj kod, sprawdź repozytorium SVN lub czytaj dziennik rozwoju przez RSS.
Rejestr zmian
1.0.0
- Initial release.