L
L
lshaid2018-06-15 23:01:44
WordPress
lshaid, 2018-06-15 23:01:44

How to make proper URLs for Custom Post Types in Wordpress?

Good day!
I create a catalog site on Wordpress, on the site I use the plugin to create custom post types Toolset Types
1) I create a post type for example - Clinics - it has the slug clinics
2) I create a taxonomy for example - Cities - it has the slug city further in the taxonomy values ​​are created: Sochi , Krasnodar, etc., sochi, krasnodar
3) I add a clinic, for example Medica - it has the medika slug, I assign the city to it, say Sochi
The default URL is
site.ru/clinics/medica
How to make such a URL - site.ru/clinics/sochi /medica
to
show all clinics
in sochi in clinics all clinics in sochi
so that everything is logical.
In which direction to google?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question