Since I'm a non-technical person willing to enter the mobile space, would like to ask for some advice and the specific code to add to my pages if possible.
My desktop site is bilingual English/Spanish with all pages human-translated (as opposed to machine-translation). Let's go for an example:
www.example.com/new-york.html
(English)www.example.com/nueva-york.html
(Spanish)
The mobile version will be:
m.example.com/new-york.html
(English)m.example.com/nueva-york.html
(Spanish)
The mobile pages would probably be a bit smaller that desktop pages, but they will have the same file name and essentially the same content.
I believe this is called "same URL approach", would that be correct?
Now, I've been told that, in order to help Google to crawl both sites and to avoid duplicate content issues, I need to use rel=alternate
/rel=canonical
to link pages between platforms - desktop and mobile. It seems to be required some kind of bi-directional linking, from A to B and from B to A for each page and language.
Would deeply appreciate your input about two things:
If what I've just said is correct and can be implemented like that.
If that's correct, could you please give me the exact piece of code to place within the
<head></head>
tags in both desktop and mobile pages?