Update a Tag

Last updated

How Updating a Tag Actually Works in WordPress

WordPress's REST API updates a tag via POST to /wp-json/wp/v2/tags/{id}, sending only the fields (name, slug, description) that need to change.

Real API Details

Changing a tag's slug changes the URL of its archive page immediately -- WordPress doesn't automatically create a redirect from the old slug-based URL to the new one, unlike some redirect behavior for post permalink changes.

Practical Considerations

Set up a manual redirect (or use a redirect plugin) after changing a tag's slug if the old tag archive URL was indexed or linked externally, since WordPress won't handle that redirect automatically.

Use cases

Representative use cases:

  • Correct tag metadata after data enrichment.
  • Align tag semantics with external catalogs during migrations.
  • Bulk tag updates during site rebranding.
  • Automate taxonomy cleanup based on external signals.

Need help with WordPress?

Tell us what you're working with. We'll follow up to schedule a free consultation and map out the fastest path to real adoption.

Book a free consultation

Tell us about your team and the software you need help with. We'll follow up to schedule a time to talk.

Open the form on its own page

Get help