![]() |
seo q: site.com or www.site.com?
hello everyone. i have all my sites listed as site.com in search engines. i see i am almost the only one, other sites are listed www.site.com. is better with or without www, or it doesnt matter? thanks in advance for any answers and wish you best with your sites! :thumbsup
|
If you were not such an idiot I might tell you.
|
Quote:
|
anybody out there who really know the answer? :)
|
it doesnt matter which one is indexed but only one of them should be indexed and 301 redirect the other one, including index.php etc...
|
Quote:
|
I don't think you get penalized for duplication content with this issue, SE aren't dumb
but the link juice will get spread on 2-3 pages instead of only one, think about people linking to your site, they just put the link the way they want with www or not. |
ok thank you i got it, i dont have any links comming inside only from my servers and i am always making them in the same way, without www ... so looks like i dont need to change anything ... thank you much and wish you best with your sites! :thumbsup
|
This should avoid duplicate content problems:
RewriteCond %{HTTP_HOST} !^www\.[a-z-]+\.[a-z]{2,6} [NC] RewriteCond %{HTTP_HOST} ([a-z-]+\.[a-z]{2,6})$ [NC] RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L] RewriteCond %{REQUEST_URI} ^/index\.(php|htm|html)$ RewriteCond %{QUERY_STRING} ^$ RewriteRule ^(.*)$ / [L,R=301] |
either will do, but which ever you pick, force the other to the one you pick
|
Quote:
|
Quote:
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301] |
| All times are GMT -7. The time now is 09:14 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123