So you have moved to a new machine and have setup everything correctly, all your LAMP settings are correct and your virtual host or localhost is setup as it should be.
But you still get 404 errors on your projects. Your first hunch would be to see if your URL is correct. Assuming it is, you move onto checking if your application uses mod_rewrite (i.e. it uses Apache rewriting). If it does, you will enable it or check if it is already enabled. Assuming once more, that it is enabled and working, you will most definitely wonder what’s wrong and before it comes down to pulling your hair out, let me suggest something else to try because i have been through this scenario so many times and it has always been the same culprit!
So i have missed it so many times and i thought like, no buddy not this time 😀 . By the way, this line goes something like this in your apache configuration.
This overrides default Apache configuration for the specific directory. You can also put it inside your virtual host configuration file.
Latest posts by alexey (see all)
- Zend Soap NULL Reponse - August 29, 2018
- Quick Facts About WooCommerce - April 25, 2018
- WordPress stuck on a “Too many redirects” error loop when using SSL - January 17, 2018