Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#16711 closed defect (bug) (duplicate)

A way to handle post slugs that are entirely numeric is needed

Reported by: waclawjacek Owned by:
Priority: normal Milestone:
Component: Permalinks Version: 3.1
Severity: normal Keywords:
Cc:

Description

If a post has a slug that's all numbers, which WordPress allows, the permalink to it will then be treated as a query containing the post ID, not the slug.

I guess one way to do it would be to add a prefix to either all post ID requests, or just those slugs, that are all numbers?

Cheers!
WJ

Change History (3)

  • Summary changed from A way to handle permalinks that are entirely numeric is needed to A way to handle post slugs that are entirely numeric is needed
  • Resolution set to duplicate
  • Status changed from new to closed
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.