I have a sports website that will have very similar slugs:
http://example.com/match/teamA-vs-teamB
Sooner than later, teams A and B will play again, and the slugs will repeat themselves:
http://example.com/match/teamA-vs-teamB-1
The solution I found was to prepend a date to the match, making it look like this:
http://example.com/match/2017-01-31/teamA-vs-teamB
This will guarantee I have unique slugs and is also user friendly.
I tried to change "rewrite" option on register_post_type
without success, because whatever I add there will be the same for all "match" post types.
How can I append the scheduled post date to the slug?