I am currently working on wordpress. URL 0f site is something like this
example.com/dashboard-form/?din=random12.
I want the url to be like this
example.com/dashboard-form/random.
Thanks in advance
I am currently working on wordpress. URL 0f site is something like this
example.com/dashboard-form/?din=random12.
I want the url to be like this
example.com/dashboard-form/random.
Thanks in advance
Copyright © 2021 Jogjafile Inc.
To be added on init:
To register your custom variable ('din' in the question)
To create a re-write rule:
For more please refer below link:
https://wordpress.stackexchange.com/questions/48487/how-to-retrieve-get-variables-from-rewritten-urls
Try to add rewrite rule and let me know if any query.