Originally Posted by
welder
Hello dikiyforester!
Can I use this plugin, to put the city in URL?
I want to make my permalinks like this mysite.com/city/category/post_id
Yes, I'm trying to do it. And I had some success.
This plugin does not allow to add custom field in the URL.
You can add tags, categories, and extra taxonomy. Such as %ad_tag%, %ad_cat%, %your_custom_tax%.
I created an additional taxonomy "df _region" and linked it with the post type Ads
I changed the base URL for the category. Changed "ad _category" ---> "ads"
And that's what I got:
/ads/some_location/some_category/some_subcategory/ad_title-ad_ID/ - single ad
/ads/some_location/some_category/some_subcategory/ - all ads in some_location and some_subcategory
/ads/some_location/some_category/ - all ads in some_location and some_category
/ads/some_location/ - does not work yet, but should be.
/ads/ - all ads in all locations and all categories
It also works without a location option:
/ads/some_category/some_subcategory/ - all ads in all locations in some_subcategory
/ads/some_category/ - all ads in all locations in some_category
/ads/ - all ads in all locations and all categories
I think that the question of Multiregion much closer than it seems.