配置nginx支持wordpress permalinks(固定链接)的两种方式

假定根目录为/var/www/html,wordpress安装在wordpress子目录

第一种方式:

location /wordpress/ {
root /var/www/html;
index index.php index.html index.htm;
try_file[……]

继续阅读

WordPress permalinks with nginx

WordPress generally works out-of-the box on nginx.

The posts load fine all the functions in the dashboard works pretty well. That is, until you com[……]

继续阅读

Stop wordpress from sending out moderation emails

I’m having trouble with my wordpress installation sending out emails to the site admin every time a comment is up for moderation.
This also goes for[……]

继续阅读