.htacess dosyasına şu kodu ekleyin olacaktır

RewriteCond %{IS_SUBREQ} false
RewriteRule ^index.php$ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]