![]() |
|
seo_locale problem - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Translating (https://forum.zenphoto.org/forum-8.html) +--- Thread: seo_locale problem (/thread-10635.html) Pages:
1
2
|
seo_locale problem - dazzy - 06-12-2012 I have multi languages set up and they work fine. The thing is that it doesn't show in the url For example the link will be zen/en/ but on the browser bar it will revert to zen/ seo_locale problem - sbillard - 07-12-2012 is English your site's default language? For search engine reasons, the links for the default language will not have any language prefix attached. seo_locale problem - dazzy - 07-12-2012 I have english and slovak and default is HTTP_Accept_language The languages come up fine but the url is redirected so there is no language prefix. How can this help search engines if there is no prefix and the 2 language versions are redirected to the same url? Even with english as default language the url is still redirected. Surely this will be bad for search engines seo_locale problem - dazzy - 07-12-2012 Also i enabled the plugin sitemap-extended and when i make the sitemap it doesn't display the separate language pages at all seo_locale problem - sbillard - 07-12-2012 If not otherwise specified, English is the default language of a Zenphoto site. if you have a link Would you like us to generate a 404 error if someone links using the Is your site seo_locale problem - dazzy - 07-12-2012 Hi Thanks for you reply. I thought maybe it would be possible to have mydomain/en/album and mydomain/sk/album. My site has multi-lingual option on. How should the sitemap display the pages? for example will it show them just as mydomain/en/album and mydomain/sk/album or just mydomain/album? Also if the sitemap does show both version of languages but they redirect to the same domain would that not be a problem for google? seo_locale problem - dazzy - 07-12-2012 Also i have tryed everything I can to create the sitemap with multiple links for each language and still no joy. Am i missing something here? seo_locale problem - sbillard - 07-12-2012 The only way to insure that the various language versions of your pages are indexed is to use the sitemap. Otherwise the search engines would only discover the pages by trial and error (the same as they would discover the pages without a language specifier.) The seo_locale problem - dazzy - 07-12-2012 I have dynamic locale plugin enabled with just use flags ticked, seo_locale plugin enabled and sitemap-extended enabled. Still no multiple language versions created in the sitemaps :-( Any other ideas to get this working? seo_locale problem - acrylian - 07-12-2012 Zenphoto does not keep the language prefix in the url like mydomain.com/en. That is only used for switching. You have to use subdomains if you wish to use static urls for each language. IF you haven't yet please read this tutorial: seo_locale problem - dazzy - 07-12-2012 Hi I have followed that tutorial exactly. I have installed a test here: http://www.dazzy.eu/zenphoto/ I've been trying every possibility for hours and still can't get it to work. seo_locale problem - dazzy - 07-12-2012 Does anyone know what the problem can be? seo_locale problem - sbillard - 08-12-2012 All this works correctly, at least with the nightly builds. So the first step would be to install the nightly build and see if you still have issues. seo_locale problem - dazzy - 08-12-2012 Thanks for the reply I have just downloaded and installed zenphoto-2012-12-07-trunk.zip Still the sitemap does not generate multiple language versions of the urls. I have a test here http://dazzy.eu/zenphoto-2012-12-07/ I have made a user profile so you can see the settings i have made user: admin2 seo_locale problem - acrylian - 08-12-2012 Ah, now I see. This is a missunderstanding. That is a sitemap index file that links to individual sitemaps for the items (albums, images , news, pages). These links were never meant to be multilingual. Look at the the individual sitemaps that contain the multilingual links. seo_locale problem - dazzy - 08-12-2012 Yes, i have looked at the individual sitemaps. They do not generate multiple language versions such as the one below http://dazzy.eu/zenphoto-2012-12-07/cache_html/sitemap/sitemap-zenphoto-albums-1.xml seo_locale problem - acrylian - 08-12-2012 Try the current nightly build. That works for me (an older one did not, too). seo_locale problem - dazzy - 08-12-2012 Yes i tryed the current nightly build. After a lot of trial and error switching off and on several plugins i found that when i switched off the 'security-logger' plugin that the sitemap generated multiple language versions and worked. When i switched the security-logger back on it stopped working. Seems the security-logger plugin is stopping the sitemap working properly seo_locale problem - acrylian - 08-12-2012 I don't understand why that would be involved here but interesting find. Best you open a ticket on the bugtracker. seo_locale problem - sbillard - 08-12-2012 If that is the case (certainly security logger is not preventing the genration of the site map for me) then there must be some sort of errors generated. So you will need to find and report those errors. |