Two domains, one CI deployment: Duplicated data? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Two domains, one CI deployment: Duplicated data? (/showthread.php?tid=36469) |
Two domains, one CI deployment: Duplicated data? - El Forum - 12-02-2010 [eluser]Juan Velandia[/eluser] Hello people, I've been working with this domain www.nemoestudio.com, and I've recently bought www.nemo.com.co, I want the two domains to point to the same CI deployment and I't seems to work with this code: Code: if(isset($_SERVER['HTTP_HOST'])) But I wonder if the search engines takes this as duplicated data? if so, what should I do? any Ideas? Thanks, and regards! Two domains, one CI deployment: Duplicated data? - El Forum - 12-03-2010 [eluser]smilie[/eluser] Hm, well search engine will recognize that both domains have same content. Take a look at permanent redirection, through DNS or through web server (Apache). I think that search engines in those cases like to see code 302 (permanently moved) or so... Not sure tho'. Cheers, Smilie Two domains, one CI deployment: Duplicated data? - El Forum - 12-03-2010 [eluser]rdjs[/eluser] You could also look into rel="canonical" for duplicate domains http://googlewebmastercentral.blogspot.com/2009/12/handling-legitimate-cross-domain.html Two domains, one CI deployment: Duplicated data? - El Forum - 12-03-2010 [eluser]Juan Velandia[/eluser] Thanks, I'll check it, best regards and Happy Xmas! |