Change custom taxonomy url in tag cloud wordpress
-
I have a search form which allows users to select cities to display results in a customized search page.
On the other hand I have created a page for each Region (Europe, Asia, etc) and in each page I have a “tag cloud”(with categories instead tags) which show each city available in that region. for the moment the url of the cities in these pages look like this : https://example.com/europe/paris and this link sent to a list of every post with Paris as taxonomy.
What I need instead is a url that will redirect to the customized page that I created. Something like this https://example.com/?s=&city=paris
What do I have to write and where to have this?
I’m quite new in coding so if you can try and be very specific in your answer I ‘d really appreciate it.
php wordpress url search
- The topic ‘Change custom taxonomy url in tag cloud wordpress’ is closed to new replies.