Sábado, 20 Diciembre 2014 22:13
beggarly

XMap does not work on multilingual Joomla 2.5.x site

Report Xmap bugs on this forum.

Re: XMap does not work on multilingual Joomla 2.5.x site

Postby agustin866 » Fri Sep 28, 2012 9:11 pm

Guys I think you can help me with my issue.

My doubt is, if I build my site , with native Multilguage over Joomla 2.5

Can I have all meta descriptions, page names ,categories descriptions, and URL s, unique in each language and indexed by search engine in all languages I have in my site?

Later then I will use xmap with the fixes you talk here to have all my sitemaps in the different languages :x

Hope you can help, Thanks a lot!
agustin866
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Fri Sep 28, 2012 8:59 pm

Re: XMap does not work on multilingual Joomla 2.5.x site

Postby Turieco » Wed Oct 31, 2012 3:49 pm

guilleva wrote:Hi All, thanks for your posts. I have been thinking about this and what would be the best way to solved and I don't think that forcing the XML sitemap to always include all the items on all the languages is the best solution. One of the reasons is that Joomla is always adding the lang=XX parameter to the urls, including the ones for the XML sitemap and adding links to other languages is confusing and all the people that already have two or more languages already configured for each language will be affected with the new versions.

So, I think that I will only provide a better documentation that makes it easier to create one sitemap for each language.

If adding lang=XX is causing errors for you, I would appreciate more details on your posts, unfortunately I don't have too much time to spend on Xmap right now and to be honest, when I see posts lacking of descriptive and helpful information I don't know where to start checking the problem.

This site is an example of a multilingual site using Joomla 2.5 and Xmap 2.2.1 and you can see the two different sitemaps at:
Code: Select all
http://joomla.vargas.co.cr/en/sitemap.xml
http://joomla.vargas.co.cr/es/sitemap.xml


Those URLs are possible because I added the following to my .htaccess:

Code: Select all
# English sitemap
RewriteCond %{REQUEST_URI} ^/en/sitemap.xml
RewriteRule .* /en/index.php?option=com_xmap&id=1&view=xml

# Spanish sitemap
RewriteCond %{REQUEST_URI} ^/es/sitemap.xml
RewriteRule .* /es/index.php?option=com_xmap&id=2&view=xml



As you can see, I'm using two different sitemaps, and specifying the the desired lang by param (lang=xx), but I think that it's not necessary to have two different sitemaps if your menus are not language specific.

On my case, the language of the page is defined by prefix /en/ or /es/ on the urls, but if that's not your case, you should use the lang=xx format.

Regards,

Guillermo


Hello, I'm trying to fix my xml url xmap Indicate to here as above, but does not work ...

I'm putting on. Htaccess code:

# English sitemap
RewriteCond %{REQUEST_URI} ^/en/sitemap.xml
RewriteRule .* /en/index.php?option=com_xmap&id=2&view=xml


But when I put the www.turieco.com/en/sitemap.xml fails me, I have to create a joomla menu or something?

I use joomla 2.5.7 and Xmap 2.3

Thanks and best regards,
Turismo y Economía (Turieco)
http://www.turieco.com
User avatar
Turieco
Fresh Boarder
Fresh Boarder
 
Posts: 2
Joined: Wed Oct 31, 2012 2:42 pm

Previous

Return to Bugs



Who is online

Users browsing this forum: No registered users and 0 guests

cron