Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/11.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帖子重定向到自定义永久链接_Wordpress - Fatal编程技术网

如何将所有wordpress帖子重定向到自定义永久链接

如何将所有wordpress帖子重定向到自定义永久链接,wordpress,Wordpress,我有wordpress的网站。我已经创建了这样的永久链接结构 domain.com/postname/post_id 现在我想重定向所有 domain.com/postname/ 到 请建议我如何操作。转到 Admin section -> Settings -> Permalinks -> select Custom structure 写 /%postname%/%post_id% 到文本字段不清除您的问题。你能再解释一下吗? /%postname%/%pos

我有wordpress的网站。我已经创建了这样的永久链接结构

domain.com/postname/post_id
现在我想重定向所有

domain.com/postname/

请建议我如何操作。

转到

Admin section -> Settings -> Permalinks -> select Custom structure 

/%postname%/%post_id%  

到文本字段

不清除您的问题。你能再解释一下吗?
/%postname%/%post_id%