I want my permalink to be accessable via more than one slug.
For example: example-page.com/contact/1234 or example-page.com/contact-1234
To explain my problem: My customer gets an email and he can participate at a quick survey. The email should contain a customized link that leads him to my wordpress site: example-page.com/contact-1234
The slug that’s added to the permalink is the customer ID. So this should change. So the 1234 should be variable.
(The email is not generated, so I can add every link manually)
I want to know how I can change the URL to my customers ID’s is there a snippet to use?
I hope I don’t sound to confusing.
Read more here: How to add more slugs to one permalink