his is the basic rule to hide index.php from the URL. Put this in your root .htaccess file.mod_rewrite must be enabled with PHP and this will work for the PHP version higher than 5.2.6.For PHP version less than 5.2.6 try this: