Tips & Tricks

WordPress: All Pages Redirect to 404

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!

By Vannkorn

I am a WordPress lover. I make my living using WordPress.

Leave a Reply

Your email address will not be published. Required fields are marked *