This is a very simple way to remove the index.php from your URL. Please note that this only works if you are running an Apache web server and mod_rewrite is enabled! Just add the following lines to your root .htaccess file (directly after RewriteEngine On):