Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#19659 closed defect (bug) (duplicate)

using %tags% in permalinks doesn't work

Reported by: hubertnguyen's profile hubertnguyen Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3
Component: General Keywords:
Focuses: Cc:


Hi there, since WP 3.3 comes with improvements in the way permalinks are handled, I thought that I would try things that would be unthinkable not so long ago. I wanted to use something like


but it looks like %tag% may not be evaluated at all in the code that handles the permalink. The codex says that it is possible though, and I don't see why not, so I'm assuming that it's something that may have been overlooked because it was not recommended before.

Change History (4)

#1 @dd32
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

%tag% is not supported within URL's, nor are any other taxonomies (other than the obvious, %category%).

See #9466 #10786

#2 @hubertnguyen
11 years ago

dd32, thanks for confirming. The codex would let one think otherwise:

"You can use these tags to customize your "Pretty" or "Almost Pretty" permalinks. A few hints:"

A sanitized version of the tag name (tag slug field on New/Edit Tag panel).

#3 @dd32
11 years ago

The codex would let one think otherwise:

The codex is a wiki, anyone can add/edit/update the documentation there :)

I've removed the reference to %tag% from there though.

#4 @hubertnguyen
11 years ago

dd32 - I'll do that next time. I didn't think that I should edit it without being 100% sure first. Thanks!

Note: See TracTickets for help on using tickets.