-2
I’m having trouble setting up the redirect Htaccess 301 for a domain.
The main domain is the https://www.webfreela.com
I need the combinations below to be directed to the main:
- https://webfreela.com
- http://webfreela.com
- https://www.webfreela.com
- https://www.webfreela.com.br
- http://www.webfreela.com.br
- https://webfreela.com.br
- http://webfreela.com.br
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{HTTP_HOST} ^webfreela.com$ [NC]
RewriteRule (.*) https://www.webfreela.com/$1 [L,R=301]
</IfModule>
I thank everyone who can help me.
Hello Wagner, thank you. The only domain that did not redirect was the
https://webfreela.com.br
andhttps://www.webfreela.com.br
that has https need to add something?– Tiago