Articles links on my WordPress website don't work

The Homepage works fine but article links, categories etc don’t work.

I get a 404 Not Found Error


Hi @roiskid It looks like you got it working, since I don’t see any errors? If yes, can you please write what you did, so others might learn from it.

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

It does look like you’ve managed to resolve this. For any others who may be facing a similar issue the most common reason for this problem is if rewrites are not enabled in Apache (LAMP) or you have not made additional configuration changes required to run WordPress on Nginx (LEMP).

If you are using Apache you will want to run the following commands:

sudo a2enmod rewrite
sudo service apache2 restart

If you are running NGINX (LEMP) take a look at the official documentation here or our guide here on how to configure nginx so that WordPress will function as expected.