write down,forget
标签 Tag : wordpress

nginx下WordPress的WP-SuperCache RewriteRule设置

<Category: Linux> Comments Off on nginx下WordPress的WP-SuperCache RewriteRule设置

因为空间搬家,所以报了一个The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed!的错误,重新安装一下Wp-superCache,更新下配置就行了。
nginx配置如下:

本文来自: nginx下WordPress的WP-SuperCache RewriteRule设置

nginx相关配置与WordPress的Rewrite Rule

<Category: Linux> Comments Off on nginx相关配置与WordPress的Rewrite Rule

nginx的cofig里加上:

阻止对文件的访问:

nginx泛域名需要在编译时加上参数: –with-http_sub_module
nginx配置: server_name www.yourdomain.com *.yourdomain.com;

本文来自: nginx相关配置与WordPress的Rewrite Rule