I was wondering why the language selector uses Javascript?
`
);]
[img]/zenphoto/zp-core/locale/nl_NL/flag.png[/img]
`
Search engines can never index multilanguage pages that way.
I do sumbit the multilang sitemap but untill now nothing of my lingo efforts show up in the SERP's!
I am now changing to just:
`
[img]/zenphoto/zp-core/locale/nl_NL/flag.png[/img]
`
It's the same thing right?
So why the JS??
You have read this? http://www.zenphoto.org/news/multi-lingual-sites
Yes acrylian, several times.
[quote]
Search engines
To make search engines aware of different language versions of your site you need to do the following:
Enable the seo_locale plugin which provides language change via URL
Enable the sitemap-extended plugin
Submit the sitemap generated to Google
[/quote]
All checked.
I am just wondering why the javascript? The crawler will not be able to follow the links..
And I did submit my multilang sitemap to Google Webmaster and put the link in robots.txt
But again no sign of indexing pages other than the default English.
Ok, just wanted to be sure. The dynamic locale javascript is actually not of interest to the crawler. It should follow the links in your site map that you either submit directly or via your robots.txt.
The site map should contain different links to different language versions. Zenphoto itself does not really care about the url regarding that as the language setting is stored in cookies foreach visitor.
If Google does not follow that I have no idea right now... Porbably the url part of the seo-locale needs to be there anytime if enabled. Will have to talk with sbillard about that.
We probably need to add alternate links as of this:
http://googlewebmastercentral.blogspot.com/2010/09/unifying-content-under-multilingual.html
Yeah I am telling, I have some very specific keywords that should instantly show up in the SERP's but nothing.
On the big multilanguage sites the locale is always in the URI like
mysite.com/fr/some-folder
mysite.com/en/some-folder
which is how I would prefer as well.
What happens right now with ZP with these links? The locale is written to the cookie?
I don't see any rewrite rule for these locales in the .htaccess
As said the selected language is stored in a cookie for each visitor.
You can use the locale in every link if the seo_locale plugin is enabled, although Zenphoto does not need it.
However there is no way to enable this locale in the url permanently as nothing generates it.
sbillard is the author of thte seo_locale plugin so he later surely will respond on the technical possibilities. As always if any change will be in 1.4.3 earliest anyway.
That's good news acrylian.
I hereby confirm that my multi language pages are NOT indexed by Google, even if my sitemap and robots.txt are submitted correctly. Google can't find the pages.
If I do a Google search for:
my-other-language-keyword site:mysite.com
I get zero results..
Zenphoto can only be run via either a folder or the root, not both as the htaccess needs one rewrite base. (folder that would be "/folder", root that is "/").
Zenphoto's urls are not language dependent, the seo locale adds that for switching. Zenphoto stores that in a cookie/session. If you want to have fixed urls for each language the whole url generation internally would have to be change which would make a lot of custom usages in custom themes or plugins possibly.
Just doing this via htaccess will not really work as that does not "know" about any ZP related settings (for example what languages you actually use).
We will try to solve this conveniently for all sides. Sbillard is actually the expert on this.
We made this for users conveniently not machines...;-) Strange is, that no one ever complained before! Either no one uses the multilingual feature or they all don't care...
[quote]Strange is, that no one ever complained before! Either no one uses the multilingual feature or they all don't care...
[/quote]
I think it's just that no one really tested the indexing of multi language pages acrylian...
I was reading some Google documentation and with the site:somesite.com search for your keywords you can see if the page is really indexed.
btw I also found a multilanguage issue using the sitemap plugin..
I have the "Google image and video extension" enabled
but when looking in the sitemap-zenphoto-albums-1.xml
I see that the multilanguage captions and titles are not ported.
for example the photo on the page mysite.com/surfing/surf-7279.jpg.php
in English has
title: "Surfen 7196"
description: "Surf session on 05/12/2011"
in Dutch
title: "Surfen 7196"
description: "Surf sessie op 05/12/2011"
here is what the sitemap rendered:
`
...
http://mysite.com/en_US/surfing
2012-02-14T17:18:48Z
daily
0.8
http://mysite.com/cache/surfing/surf-7279_900_logo.jpg
Surf 7279
Surf session on 05/12/2011
http://mysite.com/pages/copyright-notice-and-license
mytown, Italy
http://mysite.com/nl_NL/surfing
2012-02-14T17:18:48Z
daily
0.8
http://mysite.com/cache/surfing/surf-7279_900_logo.jpg
Surf 7279
Surf session on 05/12/2011
http://mysite.com/pages/copyright-notice-and-license
mytown, Italy
...
`