Articles links on my WordPress website don't work

Posted April 2, 2017 1.6k views
ApacheWordPressUbuntu 16.04

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

I get a 404 Not Found Error

1 comment

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.

Submit an Answer
1 answer

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.

by Justin Ellingwood
WordPress is the most popular CMS (content management system) on the internet. It allows you to easily set up flexible blogs and websites on top of a MySQL backend with PHP processing. WordPress has seen incredible adoption and is a great choice for getting a website up and...