且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Nginx重写仅从根目录上的URL中删除index.php

更新时间:2023-02-24 10:50:33

我也在nginx上使用wordpress和ipb,现在进行配置,我在ipb config中添加了wordpress永久链接,并打开seo重写URL,强制友好URL >

I'm too using wordpress and ipb on nginx, now configuring, i added wordpress permalink to ipb config and turn on seo Rewrite URLs, Force Friendly URLs

location / {
try_files $uri $uri/ /index.php?$args;
}

对我有用