popoman
03-04-2007, 02:40 PM
Hi,
In order to prevent duplicates in SE's what's better; a mod_rewrite or a 301 redirect? For example I have a subdomain which is still listed in Google and I erased a while ago and because of my mod_rewrite which redirects that subdomain to my www.domain.com Google now recached the subdomain as my main www. domain so they look like duplicates, the question is does Google understand that everything that goes to my subdomain.domain.com should go to my www. domain, so basically the mod_rewrite is there in my .htaccess redirecting everything to my www. domain, but is it better to do a subdomain to domain redirection with a 301 redirect in order to prevent duplicates???
Thanks!
In order to prevent duplicates in SE's what's better; a mod_rewrite or a 301 redirect? For example I have a subdomain which is still listed in Google and I erased a while ago and because of my mod_rewrite which redirects that subdomain to my www.domain.com Google now recached the subdomain as my main www. domain so they look like duplicates, the question is does Google understand that everything that goes to my subdomain.domain.com should go to my www. domain, so basically the mod_rewrite is there in my .htaccess redirecting everything to my www. domain, but is it better to do a subdomain to domain redirection with a 301 redirect in order to prevent duplicates???
Thanks!