yetoso
05-23-2005, 01:59 PM
Okay, here's my issue.
I am running OsCommerce on my site (gridchoice.com)
my site is accessible through both www and non-www urls. for example: gridchoice.com and www.gridchoice.com
Although, when you click through to another page it will then remove the www. So you could type in http://www.gridchoice.com/catalog and it would display as such until you click another link.. so it defaults to non-www.
This is a problem, however, when a search engine spider manages to index your site both with and without the www, because then it counts them as seperate sites and supposes it's repeat content. which it will look unfavorably upon.
SO, I want to permenantly 301 redirect all url's to their www equivilant. for example, if somebody typed: http://gridchoice.com ... it would redirect to http://www.gridchoice.com
also, it would apply to all urls everywhere.. so if somebody typed http://gridchoice.com/catalog/shipping.php then it would redirect to http://www.gridchoice.com/catalog/shipping.php respectively.
I have tried numerous times to do this numerous ways only to be unsuccessful. is there something about our particular webhosting that I must take into consideration?
I am running OsCommerce on my site (gridchoice.com)
my site is accessible through both www and non-www urls. for example: gridchoice.com and www.gridchoice.com
Although, when you click through to another page it will then remove the www. So you could type in http://www.gridchoice.com/catalog and it would display as such until you click another link.. so it defaults to non-www.
This is a problem, however, when a search engine spider manages to index your site both with and without the www, because then it counts them as seperate sites and supposes it's repeat content. which it will look unfavorably upon.
SO, I want to permenantly 301 redirect all url's to their www equivilant. for example, if somebody typed: http://gridchoice.com ... it would redirect to http://www.gridchoice.com
also, it would apply to all urls everywhere.. so if somebody typed http://gridchoice.com/catalog/shipping.php then it would redirect to http://www.gridchoice.com/catalog/shipping.php respectively.
I have tried numerous times to do this numerous ways only to be unsuccessful. is there something about our particular webhosting that I must take into consideration?