阿里云虚拟主机如何设置wordpress伪静态规则
作者:本站作者 人气:现在估计很少人会用到云虚拟机,毕竟各家轻量云也比较香。如果你刚好有一台阿里云的虚拟主机,又恰好在使用 WordPress 网站。那么就有可能碰到设置了WordPress 固定链接后,文章、分类跳转404的问题。

出现这个问题,不用慌,在阿里云虚拟主机后台中,找到 「高级环境设置」-> 「Nginx设置」,填写下面这段代码即可。
location / { # This is cool because no php is touched for static content. # include the "?$args" part so non-default permalinks doesn't break when using query string try_files $uri $uri/ /index.php?$args; } rewrite /wp-admin$ $scheme://$host$uri/ permanent;原文地址:https://www.suxing.me/wp-courses/2249.html
加载全部内容
青云诀 2
奇迹:暗黑深渊
贪玩原始传奇
至尊蓝月
公益传奇
爆装传奇
冒险王2
至尊之刃