J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Re:Multilanguage site and Sitemap link (1 viewing) 
Go to bottom
TOPIC: Re:Multilanguage site and Sitemap link
#1797
Alexandre Thrrien
Junior Boarder
Posts: 39
User Offline
[SOLVED]Multilanguage site and Sitemap link Karma: 0  
Hello, I translated my site with a fairly simple joomla component called JA Multilanguage that adds language strings to the url:

Primary Language: http://www.mauzaza.com/en

Secondary Lanague: http://www.mauzaza.com/id

Looking at the sitemap link structure generated by jsitemap I realise that this might be a problem impeding the site to be crawled properly.

Explanation:
If you submit this link: http://www.mauzaza.com/index.php?option=com_jmap&view=sitemap&format=xml&lang=en

it is redirected to this link: http://www.mauzaza.com/en/index.php?option=com_jmap&view=sitemap&format=xml&lang=en

Same thing for the secondary language.
Any thoughts?

Regards
 
Logged Logged  
  The administrator has disabled public write access.
#1798
John Dagelmore
Admin
Posts: 3716
User Offline
Re:Multilanguage site and Sitemap link Karma: 79  
Hello Alex,

this is known and it happens because the Joomla multilanguage plugin does the redirect when you open that link in the browser.

However JSitemap already has the technology to avoid 301/303 redirects when a bot lke Google bot or Bing are coming to crawl the sitemap, they always get the real direct link.

Best regards

John
 
Logged Logged  
  The administrator has disabled public write access.
#1819
Alexandre Thrrien
Junior Boarder
Posts: 39
User Offline
Re:Multilanguage site and Sitemap link Karma: 0  
 
Logged Logged  
  The administrator has disabled public write access.
#1820
John Dagelmore
Admin
Posts: 3716
User Offline
Re:Multilanguage site and Sitemap link Karma: 79  
Hello Alex,

yes exactly, you need to submit 2 sitemaps, one per each language using the links above.
http://www.mauzaza.com/index.php?option=com_jmap&view=sitemap&format=xml&lang=en http://www.mauzaza.com/index.php?option=com_jmap&view=sitemap&format=xml&lang=id

have a nice day
John
 
Logged Logged  
  The administrator has disabled public write access.
#1821
Alexandre Thrrien
Junior Boarder
Posts: 39
User Offline
Re:Multilanguage site and Sitemap link Karma: 0  
Alright John, thanks a lot. have a nice day too

Regards
 
Logged Logged  
  The administrator has disabled public write access.
#1824
Alexandre Thrrien
Junior Boarder
Posts: 39
User Offline
Re:Multilanguage site and Sitemap link Karma: 0  
Hi John, what's the easiest way to exclude a link when GWT reports an error?

He didn't like the Gravatar links..


Errors
Invalid URL
This is not a valid URL. Please correct it and resubmit.
4
URL: //www.gravatar.com/avatar/d5354cf4d005c175ecc3c486e1730788?s=60&default=http%3A%2F%2Fwww.mauzaza.com%2Fcomponents%2Fcom_k2%2Fimages%2Fplaceholder%2Fuser.png
Parent tag: image
Tag: loc
8364
Mar 26, 2015
URL: //www.gravatar.com/avatar/543c8ced2f2a38277a0fba3d2210c58a?s=60&default=http%3A%2F%2Fwww.mauzaza.com%2Fcomponents%2Fcom_k2%2Fimages%2Fplaceholder%2Fuser.png
Parent tag: image
Tag: loc
8774
Mar 26, 2015
URL: //www.gravatar.com/avatar/d5354cf4d005c175ecc3c486e1730788?s=60&default=http%3A%2F%2Fwww.mauzaza.com%2Fcomponents%2Fcom_k2%2Fimages%2Fplaceholder%2Fuser.png
Parent tag: image
Tag: loc
8981
Mar 26, 2015

Thank you
Regards
 
Logged Logged  
  The administrator has disabled public write access.
Go to top