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. Somnoros.stealthsettings.com$ [NC] RewriteRule ^(.*)$ http://somnoros.stealthsettings.com/ $ 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.

Example:

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} ^ www.domain.com$ [NC] RewriteRule ^(.*)$ http://domain.com/ $ 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:

https://stealthsettings.com ( PR3 )

https://stealthsettings.com ( PR1 )

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

no www.

About the author

Stealth

Passionate about everything that means gadgets and IT, I write with pleasure stealthsettings.com from 2006 and I like to discover with you new things about computers and operating systems macOS, Linux, Windows, iOS and Android.

Leave a Comment