Tired of searching on the web without results so I end up here asking for help.
I am using Plesk to manage my server I activated PHP-FPM for Nginx and wanted start
Processing PHP by Nginx so I set up these options (picture below):
IMAGE : http://goo.gl/U8Ul0a
The Index page is working well because I add it in the setting as you can see on the
image The probléme is the Permanent link any link i click on i get
404 Not Found Nginx
When I turn off WordPress permalinks All work fine and when I switch back only
the home page work.
Any help pls !
4
Answers
Well, thank you guys for your help!
By searching more in SO and some external forums, I was able to find a solution.
Here are the steps how to add custom include in Nginx virtual host config:
and edit the location code you have already with the following code:
If your wordpress is at the root level this is all you should need to do for your location / block
You must just insert in the “Additional nginx directives”:
Do not insert the
"location / {" en de final "}"
Hello guy’s I m pleased to tell you that i found better solution to fix this 404 Nginx error.
You just need to download this extension : htaccess to nginx
And go to your domaine -> Web Server Settings -> click on Show .htaccess converter -> Copy what u already have on your .htaccess in your ftp root -> then click
convert to nginx.
So it will convert it and past it in the Additional nginx directives field then save it and “Ta Da !!!!!”
It s gonna be working Inchaalah without any security issue. our freind UFHH01 know what i m talking about.