404 Errors - LEMP and Wordpress

July 7, 2018 980 views
LEMP Ubuntu 16.04

I installed LEMP with the one click install and then installed wordpress using this guide:

Unfortunately, I’m getting 404 errors on permalinks.

Here is my /etc/nginx/sites-available/default file

the site is strongmanhub.com

1 Answer

Hello friend!

You will need to do just a bit more configuration to be able to use permalinks with Nginx. This handles itself with Apache as Wordpress writes the instructions to a .htaccess file, but Nginx does not read that and instead will require manual adjustment. I found a guide that should help you to complete it:


Kind Regards,

Have another answer? Share your knowledge.