admin管理员组文章数量:1125004
I would like to remove the "category" part of my catergory permalinks structures. I know you can replace this base by using another word, but I want no words.
So, now I have website/category/france What I want is: website/france
Leaving this empty doesn't help. I guess the default setting is to add the word category to the base of the permalink. I think I have to change the default setting for the category permalink base, but I don't know where/how in my functions file.
(I have the same problem with tags)
Would really appreciate some help
I would like to remove the "category" part of my catergory permalinks structures. I know you can replace this base by using another word, but I want no words.
So, now I have website.com/category/france What I want is: website.com/france
Leaving this empty doesn't help. I guess the default setting is to add the word category to the base of the permalink. I think I have to change the default setting for the category permalink base, but I don't know where/how in my functions file.
(I have the same problem with tags)
Would really appreciate some help
Share Improve this question asked Feb 13, 2024 at 11:13 travelsforfoodtravelsforfood 11 Answer
Reset to default 0I found an easy fix. In case anyone else has this problem: if you have the Yoast SEO plugin installed you can remove the "category" base from category permalinks in your Yoast SEO settings.
本文标签: changing the default structure of category amp tag permalinks
版权声明:本文标题:changing the default structure of category & tag permalinks 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736652837a1946181.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论