4 replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/
source | link

Im developing a theme for article directory and i would like to link some way taxonomies to taxonomies. I had a custom post type called "company" with 2 taxnomies

Taxonomy #1 is category with terms(shops,workshops,churchs,shoppings,etc)

Taxonomy #2 is location with terms(New York, New jersey,Miami, etc)

With taxonomy #1 i can do

local.dev/category/shops/ to list all shops

With taxonomy #2 i can do

local.dev/location/miami/ to list all companies in miami

Currently i got working by this answerthis answer of MikeSchinkelMikeSchinkel the following:

 local.dev/shops/

Which i can use also like these to retrieve my desired results:

local.dev/shops/?location=miami

BUT i would like to do

local.dev/shops/miami or 
local.dev/shops/new-york to list shops in different locations 

Making all the urls looks nicer. Is this possible? My terms will be all unique so im sure they will not collide with posts tags or slugs or anything

Probably the best thing is to create a rewrite rule right? Please give me some light on this, im a bit lost.

Im developing a theme for article directory and i would like to link some way taxonomies to taxonomies. I had a custom post type called "company" with 2 taxnomies

Taxonomy #1 is category with terms(shops,workshops,churchs,shoppings,etc)

Taxonomy #2 is location with terms(New York, New jersey,Miami, etc)

With taxonomy #1 i can do

local.dev/category/shops/ to list all shops

With taxonomy #2 i can do

local.dev/location/miami/ to list all companies in miami

Currently i got working by this answer of MikeSchinkel the following:

 local.dev/shops/

Which i can use also like these to retrieve my desired results:

local.dev/shops/?location=miami

BUT i would like to do

local.dev/shops/miami or 
local.dev/shops/new-york to list shops in different locations 

Making all the urls looks nicer. Is this possible? My terms will be all unique so im sure they will not collide with posts tags or slugs or anything

Probably the best thing is to create a rewrite rule right? Please give me some light on this, im a bit lost.

Im developing a theme for article directory and i would like to link some way taxonomies to taxonomies. I had a custom post type called "company" with 2 taxnomies

Taxonomy #1 is category with terms(shops,workshops,churchs,shoppings,etc)

Taxonomy #2 is location with terms(New York, New jersey,Miami, etc)

With taxonomy #1 i can do

local.dev/category/shops/ to list all shops

With taxonomy #2 i can do

local.dev/location/miami/ to list all companies in miami

Currently i got working by this answer of MikeSchinkel the following:

 local.dev/shops/

Which i can use also like these to retrieve my desired results:

local.dev/shops/?location=miami

BUT i would like to do

local.dev/shops/miami or 
local.dev/shops/new-york to list shops in different locations 

Making all the urls looks nicer. Is this possible? My terms will be all unique so im sure they will not collide with posts tags or slugs or anything

Probably the best thing is to create a rewrite rule right? Please give me some light on this, im a bit lost.

    Tweeted twitter.com/#!/StackWordPress/status/236748341340422144
    Notice removed Authoritative reference needed by chifliiiii
    Bounty Ended with eddiemoya's answer chosen by chifliiiii
3 Added more examples and explained a bit more what im trying to do
source | link

Im developing a theme for article directory and i would like to link some way taxonomies to taxonomies. I had a custom post type called "company""company" with 2 taxnomies

Taxonomy #1 is category with terms(shops,workshops,churchs,shoppings,etc)

Taxonomy #2 is location with terms(New York, New jersey,Miami, etc)

With taxonomy #1 i can do

local.dev/category/shops/ to list all shops

With taxonomy #2 i can do

local.dev/location/miami/ to list all companies in miami

AndCurrently i got working by this answer of MikeSchinkel the following:

 local.dev/shops/

Which i can use also like these to retrieve my desired results:

local.dev/shops/?location=miami

BUT i would like to do

local.dev/shops/miami or 
local.dev/shops/new-york to list shops in different locations 

Making all the urls looks nicer. Is this possible? My terms will be all unique so im sure they will not collide with posts tags or slugs or anything

Probably the best thing is to create a rewrite rule right? Please give me some light on this, im a bit lost.

Im developing a theme for article directory and i would like to link some way taxonomies to taxonomies. I had a custom post type called "company" with 2 taxnomies

Taxonomy #1 is category with terms(shops,workshops,churchs,shoppings,etc)

Taxonomy #2 is location with terms(New York, New jersey,Miami, etc)

With taxonomy #1 i can do

local.dev/category/shops/ to list all shops

With taxonomy #2 i can do

local.dev/location/miami/ to list all companies in miami

And i would like to do

local.dev/shops/miami or 
local.dev/shops/new-york to list shops in different locations 

Probably the best thing is to create a rewrite rule right? Please give me some light on this, im a bit lost.

Im developing a theme for article directory and i would like to link some way taxonomies to taxonomies. I had a custom post type called "company" with 2 taxnomies

Taxonomy #1 is category with terms(shops,workshops,churchs,shoppings,etc)

Taxonomy #2 is location with terms(New York, New jersey,Miami, etc)

With taxonomy #1 i can do

local.dev/category/shops/ to list all shops

With taxonomy #2 i can do

local.dev/location/miami/ to list all companies in miami

Currently i got working by this answer of MikeSchinkel the following:

 local.dev/shops/

Which i can use also like these to retrieve my desired results:

local.dev/shops/?location=miami

BUT i would like to do

local.dev/shops/miami or 
local.dev/shops/new-york to list shops in different locations 

Making all the urls looks nicer. Is this possible? My terms will be all unique so im sure they will not collide with posts tags or slugs or anything

Probably the best thing is to create a rewrite rule right? Please give me some light on this, im a bit lost.

    Notice added Authoritative reference needed by chifliiiii
    Bounty Started worth 100 reputation by chifliiiii
2 trying to make question easy to understand
source | link

Im developing a theme for article directory and i would like to link some way taxonomies to taxonomies.

Example: I had a custom post type called "company" with 2 taxnomies

Taxonomy 1 will#1 beis category with terms(shops,workshops,churchs,shoppings,etc)

Taxonomy 2 will#2 beis location with terms(New York, New jersey,Miami, etc)

With taxonomy one#1 i can do

local.dev/category/shops/ to list all shops

AndWith taxonomy #2 i would like tocan do

local.dev/shopslocation/miami or local.dev/shops/new-york to list differentall shopscompanies in miami

I know howAnd i would like to strip the taxonomy name so do

local.dev/category/shops/ turnsmiami intoor  
local.dev/shops/new-york to list shops in different locations 

But im not sure what i should do to make the other thing work. Probably the best thing is to create a rewrite rule right? Please give me some light on this, im a bit lost.

Im developing a theme for article directory and i would like to link some way taxonomies to taxonomies.

Example:

Taxonomy 1 will be category (shops,workshops,churchs,shoppings,etc)

Taxonomy 2 will be location (New York, New jersey,Miami, etc)

With taxonomy one i can do

local.dev/shops/ to list all shops

And i would like to do

local.dev/shops/miami or local.dev/shops/new-york to list different shops 

I know how to strip the taxonomy name so

local.dev/category/shops/ turns into local.dev/shops

But im not sure what i should do to make the other thing work. Probably the best thing is to create a rewrite rule right? Please give me some light on this, im a bit lost.

Im developing a theme for article directory and i would like to link some way taxonomies to taxonomies. I had a custom post type called "company" with 2 taxnomies

Taxonomy #1 is category with terms(shops,workshops,churchs,shoppings,etc)

Taxonomy #2 is location with terms(New York, New jersey,Miami, etc)

With taxonomy #1 i can do

local.dev/category/shops/ to list all shops

With taxonomy #2 i can do

local.dev/location/miami/ to list all companies in miami

And i would like to do

local.dev/shops/miami or  
local.dev/shops/new-york to list shops in different locations 

Probably the best thing is to create a rewrite rule right? Please give me some light on this, im a bit lost.

1
source | link