Does anyone know how to configure htaccess? I need it to work with the subdomain, and the main domain does not appear in the address bar when the subdomain is open. Ex how you are now:
[ link
My current htaccess is the code below:
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\.site\.com\.br$ [NC]
RewriteRule ^(.*)$ https://www.site.com.br/$1 [L,R=301]