howto remove "index.php" in permalink?

Started by qsz36569, May 11, 2017, 02:44:23 AM

Previous topic - Next topic

qsz36569

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

Administrator

nginx is a proxy so you only need to modify apache