Customize .htaccess Question

Discussion in 'Site & Server Administration' started by KeywordsandCopy, May 29, 2008.

  1. #1
    Hope you guys can give me an idea here...

    Right now, my site is showing up at both www.contentdoneright.com and www.chrisblogging.com/contentdoneright because it is an addon domain. My host said the following:

    You could customize a .htaccess within the sub folder contentdoneright that it checks the current URL and redirects, if sub folder of main, to the domain itself.

    It is my thinking that doing this would redirect www.chrisblogging.com/contentdoneright to www.contentdoneright.com. Is this right? If so, can anybody give me some assistance? I want to do this to avoid duplicate content penalties, etc.

    Thanks in advance -
     
    KeywordsandCopy, May 29, 2008 IP