Answer the question
In order to leave comments, you need to log in
How to redirect to index on localhost?
There is such a code
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php
Answer the question
In order to leave comments, you need to log in
1. Don't get in the habit of developing locally, a local environment will still be different from a live *nix server.
Just make it a rule to develop on a remote machine so that you have phpstorm in your hands, GIT / ssh and so on and so forth.
2. use a real domain name by adding it to the .host file
3. logs to help you.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question