Forum
Welcome, Guest
Please Login to access forum.
Re:Google says hreflang tag missing (1 viewing) 
Go to bottom
TOPIC: Re:Google says hreflang tag missing
#5062
Mohamed Maaroufi
Fresh Boarder
Posts: 4
User Offline
Google says hreflang tag missing Karma: 0  
Hi,

When I try to submit the XML hreflang Sitemap through Google Search Console, Google says that there is an error: hreflang tag missing!
I have checked the Joomla configuration and the Language setting is en-UK.
Any suggestions?

Thanks
 
Logged Logged  
  The administrator has disabled public write access.
#5063
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:google says hreflang tag missing Karma: 79  
Hi,

the reason could be because the sitemap is empty. The hreflang sitemap is populated only with Joomla contents and menu relations if any. Check the hreflang sitemap opening in the browser before submitting it.

John
 
Logged Logged  
  The administrator has disabled public write access.
#5066
Mohamed Maaroufi
Fresh Boarder
Posts: 4
User Offline
Re:Google says hreflang tag missing Karma: 0  
Yes this is true. The sitemap hreflang is empty. How is this possible? Is JSitemap not supposed to fill it with the tag "en-UK".
I can do it manually but I prefer by using Jsitemap.
 
Logged Logged  
  The administrator has disabled public write access.
#5067
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:Google says hreflang tag missing Karma: 79  
Don't misunderstand things.
A hreflang sitemap is done to relate contents with different languages, if you have not set relations in your Joomla system for menus or articles obviously even the sitemap will be empty.
And you have to use it only if the website is multilanguage, has more than 1 language and has in place relations between contents.
Google won't accept empty sitemaps.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top