7折
减价出售
¥799
apache的设置方式,正常参考wordpress自带的设置方式。
ngnix的wordpress多站点伪静态设置方式
# wordpress固定链接设置
try_files $uri $uri/ /index.php?$args;
# 管理面板添加斜杠
rewrite /wp-admin$ $scheme://$host$uri/ permanent;
# 传递上传文件给 wp-includes/ms-files.php
rewrite /files/$ /index.php last;
# 重写多站点 '.../wp-.*' and '.../*.php'.
if (!-e $request_filename) {
rewrite ^/[_0-9a-zA-Z-]+(/wp-.*) $1 last;
rewrite ^/[_0-9a-zA-Z-]+.*(/wp-admin/.*\.php)$ $1 last;
rewrite ^/[_0-9a-zA-Z-]+(/.*\.php)$ $1 last;
}
iis的设置方式 (全网我爱主题网独家)
<rule name="WordPress Rule 4_rewrite" stopProcessing="true">
<match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false"/>
<action type="Rewrite" url="{R:2}"/>
</rule>
<rule name="WordPress Rule 5_rewrite" stopProcessing="true">
<match url="^([_0-9a-zA-Z-]+/)?([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false"/>
<action type="Rewrite" url="{R:3}"/>
</rule>
减价出售
减价出售
减价出售
减价出售
电话咨询
133-7205-6573
微信咨询