3748 posts
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Won a competition
+9 more
pezflash says

Hi. I’m building a site for a client (in WP), and it will have 2 languages. My idea is to have each language in separate folder/installations, like domain.com/en and domain.com/es.

Default language will be english (/en), so my idea is to a have an index.html redirecting to /en folder. Then a language switcher on header.

My doubt: is this a valid structure for SEO? Will be Google (and other SE) indexing /en as the primary language, even with the root redirection?

Thanks in advance.
Jesús <”}}><

2445 posts
  • Has referred 100+ members
  • Has sold $100+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+3 more
digitalimpact says

Why not have the main target audience in domain.com and the secondary language in domain.com/lang ?

If EN was the main target, you could then permanently redirect domain.com/en to the root domain.

214 posts
  • Has referred 1+ members
  • Has collected 50+ items on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
agusmu says

Hi pezflash,

For SEO purpose, you can use multilingual content markup. You can read Google explanation here,

http://googlewebmastercentral.blogspot.com/2011/12/new-markup-for-multilingual-content.html
3748 posts
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Won a competition
+9 more
pezflash says

Thanks both. Still not sure what to do, but yeah, maybe using root for primary language instead is the right path.

@agusmu. – Never used alternate href lang links, it’s safe enough? Not sure if i should leave the decission of language directly to the user. Being spanish, sometimes i prefer to read sites in english, as translations are not always professional.

214 posts
  • Has referred 1+ members
  • Has collected 50+ items on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
agusmu says

It is recommended by Google, so it worth to try…

Btw, have you tried WPML plugin? It works perfect for your scenario. The main website (root) will use English, and you will get /es in your Spanish post…

3748 posts
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Won a competition
+9 more
pezflash says

^ Not valid for us, we are going have different contents and structure. Also different admins.

by
by
by
by
by
by