Wypróbuj:
Kod:
#### Begin - 301 Redirect#
RewriteCond %{HTTP_HOST} ^www.adresstrony.pl$ [NC]
RewriteRule ^(.*)$ http://adresstrony.pl/$1 [R=301,L]
#
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*(index|home).html?\ HTTP/
RewriteRule ^(([^/]+/)*)(index|home).html?$ http://adresstrony.pl/$1 [R=301,L]
#
RewriteCond %{THE_REQUEST} !^POST
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index.php\ HTTP/
RewriteCond %{SERVER_PORT}>s ^(443>(s)|[0-9]+>s)$
RewriteRule ^(([^/]+/)*)index.php$ http%2://adresstrony.pl/$1 [R=301,L]
#
RewriteCond %{HTTP_HOST} !^(adresstrony.pl)?$
RewriteRule (.*) http://adresstrony.pl/$1 [R=301,L]
#
#### End - 301 Redirect