admin管理员组文章数量:1327308
When I create custom post types in wordpress I got the following site structure which works perfectly with Permalinks "/%category%/%postname%/":
Preview and category page:
[main]/animals/ [main]/animals_slug/cat/
are linking to post detail page:
[main]/animals/this-is-a-page-about-white-cats
[main]/animals_slug/cat/this-is-a-page-about-white-cats (typed in manually)
will be redirected to
[main]/animals/this-is-a-page-about-white-cats
I want to do the same for WordPress default posts but I got the following issue.
Posts preview and category page:
[main]/people/ [main]/people_slug/women/
only showing post detail page
[main]/animals_people/women/this-is-a-page-about-a-woman-x
The page [main]/people/this-is-a-page-about-a-woman-x does not exist and there is no redirection to it. When I change permalinks, to fix this for posts, I got issues with custom post types. How can I prevent those issues? Does anybody have an idea about how to fix this?
本文标签: Add custom post type settings to wordress default posts
版权声明:本文标题:Add custom post type settings to wordress default posts 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742202650a2432245.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论