404 not Found Error after migrating October website from one hosting to another. The home page ur l is OK but the rest of the links give me 404 error

Hi There,

I transferred my website in a new shared hosting from another hosting from the same company. both the php version is the same 7.2. the home page url is working but the rest of urls including the dashboard back-end access are not working giving me the 404 Not found error

Please help.

Thank you

Hello Simogold,
Did you have a look at your .env file?

Hi and welcome @Simogold,

You may need to enable Mod Rewrite in your apache configuration. The logic in .htaccess only applies when it is enabled:

<IfModule mod_rewrite.c>...</IfModule>