admin管理员组文章数量:1424977
I've tried to Google this but to no avail. I'm a newbie at programming but I can say I'm adept at configuring WP - pretty please, please bear with me. :)
I have a CUSTOM_TAXONOMY that when viewed, the archive's url is example/custom_taxonomy/actual_taxonomy/.
Since I wanted my posts to have this new custom taxonomy's slug in all my post urls, I went to Settings >> Permalinks in WP dashboard and set it to "Custom Structure" of example/%custom_taxonomy%/%postname%/, I am able to actually get my goal of having standard posts with that url scheme.
However, when I was about to create a wp page with url: example/actual_taxonomy to properly display the archives for my custom taxonomy with some few added designs, it seems that example/custom_taxonomy is turned into an auto-archive, with the same layout as the one in the second paragraph above.
I really wanted to create my own page and set the url as example/actual_taxonomy, however it's already there because I've set it in Settings >> Permalinks. Is there any way to avoid this issue? Much thanks guys!
TL;DR
I have the "Custom Structure" of example/%area%/%postname%/ in Settings >> Permalinks.
So my standard posts have this URL: sitename/"area"/"postname"
And because of what I've done in Settings>Permalinks, my taxonomy pages have these URLs: sitename/california/ and sitename/area/california (where "california" is the taxonomy page)
Now I want to create a new "page" with the same slug, california.
I can create a new "california" page easily, however, when I go to sitename/california/ the taxonomy archive is displayed -- instead of the newly created page.
My question: Is there a way to "override" the default priority of taxonomy over a page? I'd like to show page because I will have control over it -- I can customize, add more content, and change them easily (plus, pages are going to help me structure my site better)
Appreciate your help!
本文标签: permalinksHow to create a standard WP Page that has the same url as an archive
版权声明:本文标题:permalinks - How to create a standard WP Page that has the same url as an archive 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745391607a2656622.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论