简体   繁体   English

WordPress的永久链接

[英]Wordpress permalink

I have been having a few problems with my blog and was hoping someone on here may be able to help me out, i have set it up so the the blog is not on the home page but sits on a different page eg /blog/. 我的博客一直存在一些问题,希望这里的某人能够为我提供帮助,因此我对其进行了设置,因此该博客不在主页上,而是位于其他页面上,例如/ blog /。

The permalinks for posts were set to /%category%/%postname%/ and were displaying as so site.com/category/postname, i wanted it to keep the blog prefix (site.com/blog/category/postname) so i changed the permalink structure to /blog/%category%/%postname%/ to work. 帖子的永久链接设置为/%category%/%postname%/,并显示为site.com/category/postname,我希望它保留博客前缀(site.com/blog/category/postname),因此我将永久链接结构更改为/ blog /%category%/%postname%/即可正常工作。

Now i want to remove the category base, i have done this by putting /. 现在,我想删除类别库,我已经通过输入/来做到这一点。 in the field but this removes /blog/ from my permalink. 在字段中,但这从我的永久链接中删除了/ blog /。 Is there any way around this? 有没有办法解决?

Sorry if i have missed out any crucial information, let me know and i will add it! 抱歉,如果我错过任何重要信息,请告诉我,我将添加它!

Thanks a lot! 非常感谢!

如果要添加动态永久链接内容,可以了解有关此插件的更多信息http://tutslog.com/tutorials/plugin-wordpress-supermalink-139.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM