Question

Error 404 on all pages except the home

I have already checked all possible errors, updated permalinks, htaccess file, and installed plugins to fix it and nothing helps, it seems to be a problem on the server side. website - https://dev.evacodes.com/


Submit an answer


This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
November 8, 2022

Hi there,

It sounds like that you need to enable Mod Rewrite, you can do that with:

sudo a2enmod rewrite

And then restart Apache after that:

sudo systemctl restart apache2

If this is still not working, I would recommend checking your Apache error logs for some more information.

Feel free to share the log output here as well.

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up