Forum Replies Created
-
AuthorPosts
-
Hi Mike,
thanks a lot, I’ve implemented you code, works fine.
I will let you know in a week or so if Google now gets it ;-)Thank you for your efforts.
DorianHi Mike,
unfortunately Google did not understand what we’re trying to tell them – neither by using TIRLE nor ALT.
The way I understand the guidelines it would be worth a try to apply an ALT and or TITLE attribute to the link, the actual A element, not the spans inside. The ALT element could contain the content from both the text and subtext with a seperator like – or |:
<a href="https://www.huber-fusstechnologie.de/leistungen/" alt="Leistungen | Unsere Kompetenzen im Detail"> <span class="avia-menu-text">Leistungen</span> <span class="avia-menu-subtext">Unsere Kompetenzen im Detail</span> </a>
Is that possible?
Would you agree it’s worth a try?Best regards,
DorianHi Mike,
very much appreciate you taking the time to explore this issue.
I’ve implemented the function and see the new title element in the website code.I will let you know the results after Google indexed the new version of the site.
Cheers,
DorianThis looks like a very similar problem to mine: https://www.codefixer.com/blog/how-to-fix-unwanted-sitelinks-appearing-in-google-search/
The solution there was to use “the correct anchor text for the internal link”.
That’s where I think Google gets confused by your code because you guys put both spans (avia-menu-text and avia-menu-subtext) inside the same internal link.
Is it possible to separate both spans into separate links? I think that might help..Like
<a> <span class="avia-menu-text">Leistungen</span> </a> <a> <span class="avia-menu-subtext">Unsere Kompetenzen im Detail</span> </a>
Cheers,
DorianHi Rikard,
ok but you guys know Google’s sitelinks?
Is it a matter of not understanding the request? Or not having a solution?I’m not saying I found a solution, I just noticed the error is maybe caused by the way the main menu is coded?
I don’t know exactly how Google creates these sitelinks – can I influence them myself?Thanks,
DorianHi Rikard,
thank you for taking the time.
I will add an image, that should help clear things up.Those Sitelinks are automated by Google. They seem to be produced from the main menu of the website.
Can the source code of the main menu of the website be changed so Google does understand that “Kontakt” and ” Nehmen Sie Kontakt mit uns auf” needs to be separated in the sitelink?
Thanks,
Dorian-
This reply was modified 4 years, 10 months ago by
d0r1an-web.
-
This reply was modified 4 years, 10 months ago by
-
AuthorPosts