We are currently using the following code to redirect traffic to SSL.
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.duplika.com/$1 [R=301,L]
The problem is that parked domains like www.duplika.net or www.duplika.com.br are also redirected to https://www.duplika.com.
Is there a way to redirect traffic, except the ones from this domains?
After looking at this thread, I've tried the following without success:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} ^br.*$
RewriteCond %{REQUEST_URI} ^net.*$
RewriteRule ^(.*)$ https://www.duplika.com/$1 [R=301,L]