22智能在线
新记
nginx 怎么给一个wordpress网站设置网站静态文件
如题所述
举报该文章
相关建议 2017-01-19
location / {
try_files $uri $uri/ /index.php?$args;
}
# Add trailing slash to */wp-admin requests.
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
以上代码是我的配置,或许你可以试试看。
温馨提示:内容为网友见解,仅供参考
当前网址:
https://22.t2y.org/zz/c2ci6t002t6hit62cih.html
其他看法
无其他回答
相似回答
大家正在搜