搜外网>搜外问答>问答页面

为什么 站内站这样写伪静态规则不生效

location /SEOwp/
{
try_files $uri $uri/ /SEOwp/index.php?$args;
}
rewrite /seowp/wp-admin$ $scheme://$host$uri/ permanent;


rewrite ^/seowp/seowp/sitemap.html$ /seowp/sitemap/map.html.php;


rewrite ^/seowp/sitemap.xml$ /seowp/sitemap/map.xml;


rewrite ^/seowp/sitemap.txt$ /seowp/sitemap/map.txt;

追加问题
    4 人参与回答

这个只能等大神来回答了。

华趣免费图床
华趣免费图 · 右边点进去看免费图床

你这个站在二级目录下?

坐等大佬解答

SEO培训招生中
188