so site,com has 58,000 pages indexed , while www,site,com has 39,000. does this pose a problem seo wise? would a 301 redirect solve this problem?
thanks guys. one question though, if they do return different amounts of indexed pages, does that mean some will be thought of as duplicate content ?
They can be yes, Google along with other bots see www and http versions as different pages. Matt Cutt's blogged about it here.
I've same issue, but without www site shows allot of backlinks from other sites, so maybe thats the issue? how do I do that redirect? can u give me htaccess example? thx.
RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^domain\.com$ RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
if you don't have .htaccess, like for a VPS, you can use this PHP one <?php if (substr($_SERVER['HTTP_HOST'],0,3) != 'www') { header('HTTP/1.1 301 Moved Permanently'); header('Location: http://www.'.$_SERVER['HTTP_HOST'] .$_SERVER['REQUEST_URI']); } ?>
hi, I have following rewrite rule in my htaccess, so do I add that one below? or do I blend them? is this correct: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /college-guide/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /college-guide/index.php [L] </IfModule> # END WordPress RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^flunkme\.com$ RewriteRule ^(.*)$ http://www.flunkme.com/$1 [R=301,L]
after you add the 301 redirect you can tell Google in your webmaster tools account your preferred domain, either with the www or without, this is something I recently changed also.
where do you tell them that? its not a removal request is it because that matt cutts blog specifically advised against that?
I strongly advise against using this, always use the .htaccess directive to tell search engines which URL to use.