Control Web Panel

WebPanel => Apache => Nginx => Topic started by: qsz36569 on May 11, 2017, 02:44:23 AM

Title: howto remove "index.php" in permalink?
Post by: qsz36569 on May 11, 2017, 02:44:23 AM
Hello,
I build a website using wordpress on nginx+apache, but it will added "index.php" in permalink on default setting.
I have try to add "try_files $uri $uri/ /index.php?$args;" in nginx.conf but get error.

https://codex.wordpress.org/Nginx
Title: Re: howto remove "index.php" in permalink?
Post by: Administrator on May 12, 2017, 09:13:02 AM
nginx is a proxy so you only need to modify apache