Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Wordpress:如何设置/博客/发布标题permalink?_Wordpress - Fatal编程技术网

Wordpress:如何设置/博客/发布标题permalink?

Wordpress:如何设置/博客/发布标题permalink?,wordpress,Wordpress,我在根目录下安装了一个WP实例。我想将博客文章放在标签或类别中(以最好的为准),以便通过以下方式访问: domain.tld/blog/post-title 这可能非常简单,但我能做到这一点的唯一方法是在permalink中使用“category”(或其他单词),如下所示: domain.tld/category/blog/post-title 我相信这很简单。有什么想法吗?如果我正确理解您的问题,我相信您只需要转到wp admin=>settings=>Permalinks并添加 /%ca

我在根目录下安装了一个WP实例。我想将博客文章放在标签或类别中(以最好的为准),以便通过以下方式访问:

domain.tld/blog/post-title
这可能非常简单,但我能做到这一点的唯一方法是在permalink中使用“category”(或其他单词),如下所示:

domain.tld/category/blog/post-title

我相信这很简单。有什么想法吗?

如果我正确理解您的问题,我相信您只需要转到wp admin=>settings=>Permalinks并添加

/%category%/%postname%/

没问题。如果您的问题已经解决,请将答案标记为正确。谢谢