Something is wrong with my rewrite url configuration, so when I enter below mentioned url nginx don't rewrite it :
For example,
1) https://www.example.com/index.php?new
it should be converted to -> https://www.example.com/new
and also
2) https://www.example.com/index.php to https://www.example.com
3) https://www.example.com/forums/index.php to https://www.example.com/forums
and
4) https://www.example.com/new/index.php to https://www.example.com/new
Also we installed wordpress on different directory, permalink is not working in it.
These 5 types of url are not rewritten by nginx.
For example,
1) https://www.example.com/index.php?new
it should be converted to -> https://www.example.com/new
and also
2) https://www.example.com/index.php to https://www.example.com
3) https://www.example.com/forums/index.php to https://www.example.com/forums
and
4) https://www.example.com/new/index.php to https://www.example.com/new
Also we installed wordpress on different directory, permalink is not working in it.
These 5 types of url are not rewritten by nginx.