nginx配置文件,在server中添加如下规则
location / {
try_files $uri $uri/ /index.php?q=$uri&$args;
}
在wordpress固定链接设置为
/%year%/%monthnum%/%postname%.html
apache下的固定链接参考:
nginx配置文件,在server中添加如下规则
location / {
try_files $uri $uri/ /index.php?q=$uri&$args;
}
在wordpress固定链接设置为
/%year%/%monthnum%/%postname%.html
apache下的固定链接参考:
Leave a Reply