How to redirect site from index.php to without index.php

Options +FollowSymlinks
RewriteEngine on
rewriterule ^index.php(.*)$ http://www.domain.com/$1 [r=301,nc]
Advertisements