Tag Info

Hot answers tagged

2

Try: RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301] This should work. Here is mine: RewriteCond %{HTTP_HOST} ^example\.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]


2

Like everything regarding SEO and domain structure, the answer is 'it depends' By operating a website with a subdomain you do not own, you are always at the mercy of the owner of the domains - this is why any .edu subdomains you create via afraid.org cannot be indexed by Google, else they would be subject to abuse. But other subdomain examples showcase ...


1

As for whether to use a sub-domain or directory, the answer is deceptively simple as I write in this answer (ignore title): Any evidence that subdomain can help with domain authority and vice-versa? As for the suggestion that linking between sub-domains is particularly good for search performance, that is just plain foolish. I will explain briefly. Google, ...


1

The original answers did not address this exactly, so here goes. The www2 is a result of DNS or router load balancing. It is one of a set of web servers defined this way where www3 or www4 might also exist. Any subsequent request will always be with the original server even after a period of time as to maintain session state. There are other ways of doing ...



Only top voted, non community-wiki answers of a minimum length are eligible