localhost not showing /import If I navigate to http://localhost:8080/import I am taken back to the index page.

If I navigate to http://localhost:8080/?q=import I am take to the import page.

If I navigate to http://localhost:8080/admin I am taken to the list of admin options.

The webserver for localhost is the default one that comes with Phpstorm (in ubuntu 14.04), which is the built in webserver that comes with php5.4 and above.

When deployed to a remote server /import works.

What might cause this issue?
Just to eliminate a possible cause of your problem, and assuming your web server is Apache: make sure the mod_rewrite module is enabled. If it is not, then enable it and restart Apache.

To verify this, open the file httpd.conf inside your Apache installation folder and find the line starting with AllowOverride:

If that line looks like AllowOverride None

Then:


edit it to look like so: AllowOverride All
and afterwards restart Apache.


If you're using PHP Storm (as mentioned now in the further edited question), it might help to try what is documented in Disabling clean URLs. Here is a quote about that page:


  It's possible that a Drupal site that was once configured to run with clean URLs later on stops doing so. After that, almost all content is inaccessible, because the paths being generated are not supported by the hosting platform.