Warning: touch(): Unable to create file /www/wwwroot/www.seobiji.cn/robots_log.txt.lock because Permission denied in /www/wwwroot/www.seobiji.cn/wp-content/plugins/wp-log-robots/wp-log-robots.php on line 104

Warning: file_put_contents(/www/wwwroot/www.seobiji.cn/robots_log.txt): failed to open stream: Permission denied in /www/wwwroot/www.seobiji.cn/wp-content/plugins/wp-log-robots/wp-log-robots.php on line 107

Warning: unlink(/www/wwwroot/www.seobiji.cn/robots_log.txt.lock): No such file or directory in /www/wwwroot/www.seobiji.cn/wp-content/plugins/wp-log-robots/wp-log-robots.php on line 112
百度云主机WordPress伪静态设置方法 – 郑州seo笔记

百度云主机WordPress伪静态设置方法

百度云主机的伪静态方法比较特殊,所有记录一下。

1.新建一个文件,命名为:bcloud_nginx_user.conf

2.复制粘贴一下内容后上传至根目录,然后在百度云主机后台,点击“重载站点服务”后伪静态就会生效。

rewrite ^.*/files/(.*)$ /wp-includes/ms-files.php?file=$1 last;

if (!-e $request_filename) {

rewrite ^.+?(/wp-.*) $1 last;

rewrite ^.+?(/.*\.php)$ $1 last;

rewrite ^ /index.php last;

}

未经允许不得转载:郑州seo|不知则问,不能则学!-郑州seo笔记 » 百度云主机WordPress伪静态设置方法

赞 (2)
'); })();