silkAdmin
silkAdmin

Reputation: 4810

Codeigniter, multiple domains

I am building a multi-language site with english and french. The site is made so that my default controller is /en and the french site entry controller will be at /fr.

The problem is that the french site will have a different domain, will that be a problem to point the french domain to the /fr controller ?

Upvotes: 0

Views: 648

Answers (1)

Robert
Robert

Reputation: 1907

No, it shouldn't be. If you have 2 domains then it's best if you "hide" the /fr and /en part from the URI (using .htaccess), otherwise you'll end up with domain.com/en and domain.fr/fr.

Here's an interesting article on this topic: http://googlewebmastercentral.blogspot.nl/2010/03/working-with-multi-regional-websites.html

Upvotes: 1

Related Questions