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

plugin development - Wordpress permalink setting

programmeradmin4浏览0评论

I have a doubt.

If book is my custom post type, language is my taxonomy, english is the item in taxonomy , Harrypotter is new post in book with txonomy english. Then how i get the url structure like

(1) www.example/books/language/english/harrypotter
(2) www.example/books/english/harrypotter

If novel is sub taxonomy under english then

(3) www.example/books/language/english/novel/harrypotter
(4) www.example/books/english/novel/harrypotter

I read many examples like this and this, but i can't figer out how to do this .

Any idea?

I have a doubt.

If book is my custom post type, language is my taxonomy, english is the item in taxonomy , Harrypotter is new post in book with txonomy english. Then how i get the url structure like

(1) www.example/books/language/english/harrypotter
(2) www.example/books/english/harrypotter

If novel is sub taxonomy under english then

(3) www.example/books/language/english/novel/harrypotter
(4) www.example/books/english/novel/harrypotter

I read many examples like this and this, but i can't figer out how to do this .

Any idea?

Share Improve this question edited Apr 24, 2019 at 7:13 Qaisar Feroz 2,1471 gold badge9 silver badges20 bronze badges asked Aug 7, 2015 at 8:48 ron rron r 3331 gold badge5 silver badges13 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

If you need to change the permalink structure, it can be done in admin panel.

Go setting -> permalinks and chose what you need in general settings

发布评论

评论列表(0)

  1. 暂无评论