Answers for "Force WWW"

0

Force WWW

#Force www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^retrimo.net [NC]RewriteRule ^(.*)$ https://www.retrimo.net/$1 [L,R=301,NC] 

If using for NGINX use 
https://winginx.com/en/htaccess
Posted by: Guest on August-19-2021

Browse Popular Code Answers by Language