Hello, i use nginx with wordpress, i added the config rewrite url, whenever i set the permalink structure to plain, everything works fine showing the default 404 of the wordpress themes, but when i change it back to Post Name and i test a wrong url just to see where it goes, i get error 404 nginx
Please i need help to fix this, the step by step guide because everything i have tried, none is working, here is my ngix rewerite rule
`location /
{
try_files $uri $uri/ /index.php?$args;
}
rewrite /wp-admin$ $scheme://$host$uri/ permanent;`
So please how can i get this to work