admin管理员组文章数量:1130349
I'm looking to have my blog posts under a subdirectory while keeping pages on the root level. So for example, I want to keep page URLs are like this:
mysite/pageone
mysite/pagetwo
But I want all blog posts to be under the blog path:
mysite/blog/postone
mysite/blog/posttwo
How can I do this? Thanks.
I'm looking to have my blog posts under a subdirectory while keeping pages on the root level. So for example, I want to keep page URLs are like this:
mysite/pageone
mysite/pagetwo
But I want all blog posts to be under the blog path:
mysite/blog/postone
mysite/blog/posttwo
How can I do this? Thanks.
Share Improve this question asked Sep 15, 2016 at 16:30 Inn0vative1Inn0vative1 1031 silver badge3 bronze badges1 Answer
Reset to default 2Use the permalinks settings under Settings > Permalinks. They only apply to posts, not to pages.
Custom structure: /blog/%postname%/
I'm looking to have my blog posts under a subdirectory while keeping pages on the root level. So for example, I want to keep page URLs are like this:
mysite/pageone
mysite/pagetwo
But I want all blog posts to be under the blog path:
mysite/blog/postone
mysite/blog/posttwo
How can I do this? Thanks.
I'm looking to have my blog posts under a subdirectory while keeping pages on the root level. So for example, I want to keep page URLs are like this:
mysite/pageone
mysite/pagetwo
But I want all blog posts to be under the blog path:
mysite/blog/postone
mysite/blog/posttwo
How can I do this? Thanks.
Share Improve this question asked Sep 15, 2016 at 16:30 Inn0vative1Inn0vative1 1031 silver badge3 bronze badges1 Answer
Reset to default 2Use the permalinks settings under Settings > Permalinks. They only apply to posts, not to pages.
Custom structure: /blog/%postname%/
本文标签: urlsWP move posts to different path
版权声明:本文标题:urls - WP move posts to different path 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749177503a2328044.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论