no www.

How Lose www. in front of the name of a domain / subdomain? Transformation www.domeniu.tld in domeniu.tld .

RewriteEngine On
RewriteCond% {HTTP_HOST} ^ www.$ [NC] RewriteRule ^ (. *) $ Http: // $ 1 [R = 301, L]

Editing the .htaccess of the subdomain webroot "sleepy"Lines above, is the simplest example of forwarding traffic from www. in subdomain , Keeping the location of their access, valid.


http://www.somnoros.stealth…ry/want-a-baby /

http://somnoros.stealth…ry/want-a-baby /

Without www. you'll still get a chicken and besides that, traffic.

The same is true for domains that have www. by default.

RewriteEngine On
RewriteCond% {HTTP_HOST} ^$ [NC] RewriteRule ^ (. *) $ Http: // $ 1 [R = 301, L]

Procedure declaration is important as a domain name search engines ( SEO ) And web browsers. A website that works simultaneously with the same content on two addresses, it is possible to obtain a PR ( Google Page Rank ) Split.

Example: ( PR3 ) ( PR1 )

From what I noticed an area without www. is indexed faster. Give up www. ? ;-)

no www.

About the author


Passionate about everything that means gadget and IT, I am pleased to write on from 2006 and I love to discover new things about computers and macOS, Linux operating systems, Windows, iOS and Android.

Leave a Comment