404 error subfolder Wordpress even after updating permalinks

Home page working but other pages 404 error WordPress subfolder digital ocen permalinks not working. I have changes in the directory also. <Directory /var/www/mysite> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all Require all granted </Directory>

But the problem is not resolved yet. Please guide me thanks


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hi there,

The Apache rules also look correct. Do you have an .htaccess file in that /var/www/mysite directory?

In many cases if the default WordPress .htaccess file is missing, you would see that behavior.

Regards, Bobby