Full Stack Web Developer


WordPress: All Pages Redirect to 404

The trick is to go to Settings=>permalinks and hit on the Save Changes button, but how if your server does not allow you to write to its disk?

Ads: Register now via this link to receive $100 credit from Vultr

If the .htaccess configuration is correct it means we haven’t enabled the apache2 rewite mod.

To enable, simply run the command below:

sudo a2enmod rewrite


systemctl restart apache2

It works!

Leave a Reply

Your email address will not be published.