plugins – Create Dynamic Slug Based on Meta Value of Page
I am creating a custom post for example universities
Now while creating universities I will suppose I will add a University having the name RMIT in that post I will add a custom meta key country AU(Australia)
I want to access this single university’s details using URL www.mywebsite.com/au/rmit
and want to get a list of all universities of Australia using RUL www.mywebsite.com/au/
this will list all universities in Australia
So I am adding the country name in the university post as a meta key let me know how can generate this type of URL
because I am not able to generate dynamic URL for post based on meta key values.
Leave an answer