How do I remove index.php from the path?

Permalink 1 user found helpful
I would like:http://www.mydomain.com/index.php/login/...

to actually be:

http://www.mydomain.com/login/

Guessing this is an .htaccess configuration. Just wondering if anyone knows what it is?

floweringdesign
 
sokristi replied on at Permalink Best Answer Reply
System & Settings, enable "Pretty URLs"

Regards
Søren
floweringdesign replied on at Permalink Reply
floweringdesign
Thanks!
jjram replied on at Permalink Reply
I tried this but it isn't working...any other suggestions?
sokristi replied on at Permalink Reply
Try adding
define('URL_REWRITING_ALL', true);
to site.php.

Additionally, possibly try a site wide search for "pretty url"
jjram replied on at Permalink Reply
I added
define('URL_REWRITING_ALL', true);
to site.php and it worked perfectly. Thanks a lot sokristi.