最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

URL for archive of custom post type with 2 taxonomy terms

programmeradmin1浏览0评论

I need to generate the URL of an archive page of custom post types with terms from 2 different taxonomies.

The post type slug is "technologies", and the 2 taxonomies of this post type are "applications" and "industries".

I have tried, for example: /technologies/?applications=processing&industries=food

But this does not return the expected result.

I have not written any rewrite rules as I was expecting wordpress could handle this natively.

Can anyone provide the correct URL syntax for what I need?

I need to generate the URL of an archive page of custom post types with terms from 2 different taxonomies.

The post type slug is "technologies", and the 2 taxonomies of this post type are "applications" and "industries".

I have tried, for example: /technologies/?applications=processing&industries=food

But this does not return the expected result.

I have not written any rewrite rules as I was expecting wordpress could handle this natively.

Can anyone provide the correct URL syntax for what I need?

Share Improve this question asked May 12, 2020 at 4:14 dygdyg 1298 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

I found the answer, which for future reference was:

/industries/food/?applications=processing

发布评论

评论列表(0)

  1. 暂无评论