• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

using htaccess how to remove www from site link

CTXMedia

Formerly CyclingTribe
#2
Try this:

Code:
RewriteCond %{HTTP_HOST} ^www\.english4me\.net$ [NC]
RewriteRule ^(.*)$ http://english4me.net/$1 [R=301,L]
 

Pereira

Well-known member
#3
It's probably a complete n00b question but does anyone know how to decipher each bit of code in the above post?

I've used the same code in the past but I've noticed there tends to be different variations. For instance what does the "[R=301,L]" do?