Link to home
Start Free TrialLog in
Avatar of Pedro Chagas
Pedro ChagasFlag for Portugal

asked on

Same URL address for every languages

Hi E's, I want a opinion for what I will do in my project.
I will launch a project in 10 different languages. I have the domain for example example.com, and the page was index.php, so the address is www.example.com/index.php.
I will use index.php for show the contain in the 10 languages, without index.php?lang=en or es, or pt etc, I will control the language I show with session variables.

My afraid is google will see always example.com/index.php, regardless the language the client choice to see the page.

Google will index all languages, regardless the URL was always the same?

Regards, JC
ASKER CERTIFIED SOLUTION
Avatar of Rob
Rob
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Pedro Chagas

ASKER

Hi, I have the same idea, but was not sure, I decided to ask.
I will rewrite all languages, like:
www.example.com/en/......
www.example.com/pt/......
www.example.com/es/...... etc

In this way google will index?

Regards, JC
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi @andreeochoa, and sub domains, like es.example.com, en.example.com etc?

Regards, JC
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial