Solution for "no www htaccess"

#Redirect no-www RewriteCond %{HTTP_HOST} ^www.ingrom.com$ [NC] RewriteRule ^(.*)$ https://ingrom.com/$1 [R=301,L] #Redirect IP Adress RewriteCond %{HTTP_HOST} ^123\.12\.123\.12$ RewriteRule ^(.*)$ https://ingrom.com/$1 [L,R=301]

no www htaccess

Similar Code Examples