Jan 28, 2021
0
Level 3
.Htaccess index php / html redirect to main page
I have this .htaccess. I would like:
That he would direct from www.domena.pl to domena.pl (I have it done) to always point to https after entering domena.pl/index php or index html -> redirected to https domena.pl How can I make it?
My htacess:
RewriteEngine On
# Redirect to non www
RewriteCond% {HTTP_HOST} ^ www.domena.pl $ [NC]
RewriteRule ^ (. *) $ Https://domena.pl/ [R = 301, L]
Please help
Please or to participate in this conversation.