mpek on "[Plugin: qTranslate X] Google Search Console reported faulty hreflang-Tags on my website"

ساخت وبلاگ

What do I have to look for that could cause this?

Here is a screenshot

https://wordpress.org/plugins/qtranslate-x/

John Clause
Member
Plugin Author

Posted 5 days ago #

Could you translate what the actual error is reported?

yes, sure...

keine Rücklinks means no backlinks

Use a tool like hreflang.org to find what the errors are. No backlinks aka missing retu tags happen usually because interlinking has not been implemented correctly.

If page A is in Engilsh and page B is in German, your markup should be
<link rel=alteate hreflang=en href="http://example.com/page_A">
<link rel=alteate hreflang=de href="http://example.com/page_B">

Note that both link tags should be present on both pages.

Is this a theme issue then?

John Clause
Member
Plugin Author

Posted 3 days ago #

No, this should not be a theme issue, unless they do something really inappropriate, which is very unlikely.

Could you show what you have in source for entries with "hreflang" and "x-default"? Just search the source (Ctrl-U in Chrome) of the page in trouble for those words and copy all lines found here.

BTW, next time when you do a screenshot, switch Google Console to English, since this forum's main language is English - then you would reach a larger audience :)

John Clause
Member
Plugin Author

Posted 21 hours ago #

Hi @mpek, it looks like you do not enjoy much working with PHP code ;)
In this case it is really the best way to hire a PHP developer, who can tune it for you. I am sure your problems are solvable, but without seeing the code and being able to troubleshoot it in a meaningful way it is very hard and very time consuming thing to do. You may also submit a request for a paid job to us.

I am closing the issue here, since there is not much we can do without your deep participation. I hope you will figure it out one way or another, if you have not done so already.

Good luck to you in the further development!

Hi John,

you must be a very funny guy :)

I guess, you expected a faster response and I had many other things to do.

Thank you for your help. This should be the information you asked for:

<link hreflang="de" href="http://www.pekic.de/de/" rel="alteate" />
<link hreflang="en" href="http://www.pekic.de/en/" rel="alteate" />
<link hreflang="x-default" href="http://www.pekic.de/" rel="alteate" />
<div class="footer-menu"><h2>Sprache:</h2>
<ul class="language-chooser language-chooser-image qtranxs_language_chooser" id="qtranslate-3-chooser">
<li class="lang-de active"><a href="http://www.pekic.de/de/" hreflang="de" title="Deutsch (de)" class="qtranxs_image qtranxs_image_de"><img src="http://www.pekic.de/wp-content/plugins/qtranslate-x/flags/de.png" alt="Deutsch (de)" /><span style="display:none">Deutsch</span></a></li>
<li class="lang-en"><a href="http://www.pekic.de/en/" hreflang="en" title="English (en)" class="qtranxs_image qtranxs_image_en"><img src="http://www.pekic.de/wp-content/plugins/qtranslate-x/flags/gb.png" alt="English (en)" /><span style="display:none">English</span></a></li>
</ul><div class="qtranxs_widget_end"></div>
</div>

John Clause
Member
Plugin Author

Posted 27 minutes ago #

I am funny guy ;) Indeed, normally people respond within hours when they care. Your other topic was two weeks old with no reply either, so I suspected that you abandoned theses topics. I will know now about you ;)

Anyway, that looks normal. I'll have to try to reproduce. Which Google tool exactly did you use to see that error?

It's Webmasters Toolkit, that they recently renamed to Search Console.

This is the URL i use:

https://www.google.com/webmasters/tools/

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 373 تاريخ : دوشنبه 4 مرداد 1395 ساعت: 23:02