Przekierowanie index.php na stronę główną w .htaccess

W pliku .htaccess podajesz

RewriteCond %{THE_REQUEST} ^.*/index\.php
RewriteRule ^(.*)index.php$ /$1 [R=301,L]
Zastosowanie: 

Przekierowanie strony index.php na stronę główną w .htaccess

Wiedza: 
Praktyczna
Kategoria: