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

Then

systemctl restart apache2

It works!

About the author

Vannkorn I am a WordPress lover. I make my living using WordPress. Buy a coffee
Show your support

Related Posts

0 comments

Leave a Reply

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