Force Urls with www. to without www. com htaccess

Asked

Viewed 2,770 times

5

1 answer

6


Just change the regular expression and redirect URL.

RewriteEngine on
RewriteBase /
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} ^www.meusite.com.br [NC]
RewriteRule ^(.*)$ http://meusite.com.br/$1 [R=301,L] 

Browser other questions tagged

You are not signed in. Login or sign up in order to post.