samedi 4 mars 2017

Redirect with .htaccess how to bind correct?

Hello I have a next htaccess code:

RewriteEngine on
RewriteCond %{HTTPS} =off 
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

But a problem is when I open http://ift.tt/UsStL7 it doesn't redirect to https://somesite.com. How can I get rid of this "www"?




Aucun commentaire:

Enregistrer un commentaire