w uzupełnieniu:
jeśli index nadal się wyświetla, to tutaj usuwanie :
Kod:
RewriteBase /
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]
a tutaj usuwanie .html
Kod:
RewriteRule (.*)\.html$ /$1 [R=301,L]
Pamiętaj, że ważna jest kolejność dokonywania wpisów