GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   seo q: site.com or www.site.com? (https://gfy.com/showthread.php?t=918526)

katharos 07-28-2009 02:37 PM

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

baddog 07-28-2009 02:39 PM

If you were not such an idiot I might tell you.

katharos 07-28-2009 02:39 PM

Quote:

Originally Posted by baddog (Post 16116303)
If you were not such an idiot I might tell you.

pretty please ...

katharos 07-28-2009 02:53 PM

anybody out there who really know the answer? :)

Thrawn$ 07-28-2009 03:05 PM

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...

katharos 07-28-2009 03:10 PM

Quote:

Originally Posted by Thrawn$ (Post 16116387)
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...

thank you, so without 301 redir i can be penalized for duplicated content or something ... ? and is it in all search engines the same, i mean in yahoo, google and bing is it the same? just cause i have some domains targetted only at bing and yahoo so not sure if i have to 301 all my domains ... but this answer was all i needed already, thank you much! :thumbsup

Thrawn$ 07-28-2009 03:15 PM

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.

katharos 07-28-2009 03:18 PM

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

frank7799 07-28-2009 03:20 PM

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]

fris 07-28-2009 03:51 PM

either will do, but which ever you pick, force the other to the one you pick

beta-tester 07-28-2009 04:41 PM

Quote:

Originally Posted by m4yadult (Post 16116435)
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]

this is just too complicated... it could be done in much easier way...

Killswitch - BANNED FOR LIFE 07-28-2009 05:10 PM

Quote:

Originally Posted by beta-tester (Post 16116707)
this is just too complicated... it could be done in much easier way...

RewriteCond %{HTTP_HOST} ^yoursite.com [NC]
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