Skip to main content
removed chit chat
Source Link
cjbj
  • 15k
  • 16
  • 42
  • 89

I have a situation I cannot quite understand, and wonder if someone could help me do so.

We are developing an e-commerce store (WP + Woocommerce)

Individual artists are represented by Pages (each called with a slug ). There is a single parent page to all individual artist pages called 'Artists'

Products are recordings, with variations corresponding to each Format attribute. they are grouped into Categories. For each artist (page) we created a Woocommerce category with exactly the same name and slug.

If in Settings/Permalinks, we set the product category base to 'Artists', then users clicking on the link to a product category are sent to the Artist page (and not the product category page).

Now : we are very happy about this, but fail to understand why this is the case, e.g. how does WP decide what page is what in this case?

What is the underlying logic?

Thank you in advance for any information you may give us to better understand.

Kind regards

Giacomo Bruzzo

I have a situation I cannot quite understand, and wonder if someone could help me do so.

We are developing an e-commerce store (WP + Woocommerce)

Individual artists are represented by Pages (each called with a slug ). There is a single parent page to all individual artist pages called 'Artists'

Products are recordings, with variations corresponding to each Format attribute. they are grouped into Categories. For each artist (page) we created a Woocommerce category with exactly the same name and slug.

If in Settings/Permalinks, we set the product category base to 'Artists', then users clicking on the link to a product category are sent to the Artist page (and not the product category page).

Now : we are very happy about this, but fail to understand why this is the case, e.g. how does WP decide what page is what in this case?

What is the underlying logic?

Thank you in advance for any information you may give us to better understand.

Kind regards

Giacomo Bruzzo

I have a situation I cannot quite understand, and wonder if someone could help me do so.

We are developing an e-commerce store (WP + Woocommerce)

Individual artists are represented by Pages (each called with a slug ). There is a single parent page to all individual artist pages called 'Artists'

Products are recordings, with variations corresponding to each Format attribute. they are grouped into Categories. For each artist (page) we created a Woocommerce category with exactly the same name and slug.

If in Settings/Permalinks, we set the product category base to 'Artists', then users clicking on the link to a product category are sent to the Artist page (and not the product category page).

Now : we are very happy about this, but fail to understand why this is the case, e.g. how does WP decide what page is what in this case?

What is the underlying logic?

Source Link

Precedence of page permalinks over woocommerce product category links?

I have a situation I cannot quite understand, and wonder if someone could help me do so.

We are developing an e-commerce store (WP + Woocommerce)

Individual artists are represented by Pages (each called with a slug ). There is a single parent page to all individual artist pages called 'Artists'

Products are recordings, with variations corresponding to each Format attribute. they are grouped into Categories. For each artist (page) we created a Woocommerce category with exactly the same name and slug.

If in Settings/Permalinks, we set the product category base to 'Artists', then users clicking on the link to a product category are sent to the Artist page (and not the product category page).

Now : we are very happy about this, but fail to understand why this is the case, e.g. how does WP decide what page is what in this case?

What is the underlying logic?

Thank you in advance for any information you may give us to better understand.

Kind regards

Giacomo Bruzzo