Welcome Guest, Not a member yet? Register   Sign In
Code igniter shared for sub domains
#1

[eluser]ahmedi[/eluser]
hi,
My question is that i want to create with CI a website that supports several version for each language.
and i want that each language will have a sub domain like fr.valuatemywebsite.com, sp. and so on.

Now the question is that it is possible to have only one installation of Code igniter ?
#2

[eluser]ahmedi[/eluser]
my question is that i don't want to use external languge module , and i want to make international web site by having sub domains :
fr.valuatemywebsite.com
eng.valuatemywebsite.com
de.valuatemywebsite.com

and all this by using e the same code

thanks
#3

[eluser]Tom Schlick[/eluser]
search for using a wildcard subdomain. once you have that working you can use a different language file set for each domain. ie

en.website.com uses english
fr.website.com uses french
#4

[eluser]ahmedi[/eluser]
thank you for your answer, but i have used this tehcniqus: icreated needed sub domains and all the sub domains point to the same directory
in php i fetecte the language from $_SERVER['SERVER_NAME']; and according to language i choose the good one accroding to CI helper .
I will try to lean about your technique, and thanks for answers




Theme © iAndrew 2016 - Forum software by © MyBB