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!

Published by Vannkorn

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

Leave a comment

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