http___www.vbenterprisetranslator.com_forum_ga_archive_t-233.html_1.xml
1.1 2.1 4.1 5.1 5.2 6.1 8.1 9.1 10.1 12.1 13.1 14.1 15.1 16.1 17.1 17.2 18.1 18.2 19.1 20.1 21.1 23.1 25.1 25.2 25.3 26.1 26.2 27.1 28.1 29.1 30.1 30.2 30.3 31.1 33.1 34.1
View Full Version : Already done Addition of rel="alternate" tags Can an option be added to add tags to translated pages: More info here: rel="alternate" hreflang="x" - Webmaster Tools Help (http://support.google.com/webmasters/bin/answer.py?hl=en&answer=189077) Great! In the meantime could you tell me how this could be added manually if it is not too complicated? Marcin Kalak When we do that, and if it's a simple change then we will publish a quick fix for people who will not want to wait for the new release. I would really like to see this sooner than later as it may help with this issue I'm having: http://www.vbenterprisetranslator.com/forum/vbet4-troubleshooting/3347-major-issue-duplicate-content.html Marcin Kalak Quick fix for this feature is: Open file includes/vbenterprisetranslator_functions_hooks.php Find code: if (!VBET_IS_ACTUAL_IGNORED && (!$vbulletin->options['vbenterprisetranslator_flags_guestsonly'] || !$vbulletin->userinfo['userid'])) { PUT AFTER it this code: require_once(DIR. '/includes/vbenterprisetranslator_functions_lang.php'); require_once(DIR. '/includes/vbenterprisetranslator_functions_url.php'); $active = vbet_getActiveTranslations(); $host = substr($vbulletin->options['bburl'],0,strlen($vbulletin->options['bburl'])-strlen($vbulletin->options['vbenterprisetranslator_forumdir'])); foreach ($active as $key => $value) $template_hook['headinclude_css'] .= ' '; This quick fix will add "alternate" tags to all your pages. In the next release this option will be configurable. In the next release we will add this feature. thank you! really appreciate it! hrm, I was under the impression that the base language should not be an 'alternate' page. hrm, I was under the impression that the base language should not be an 'alternate' page. Actually, I think I'm wrong... If you have multiple language versions of a URL, each language page in the set must use rel="alternate" hreflang="x" to identify all language versions including itself. For example, if your site provides content in French, English, and Spanish, the Spanish version must include a rel="alternate" hreflang="x" link for itself in addition to links to the French and English versions. Similarly the English and French versions must each include the same references to the French, English, and Spanish versions Marcin Kalak As I read, on all pages should be links to all language versions and so it is done. Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.
1.1 2.1 2.2 2.3 2.4 3.1 3.2 4.1 5.1 6.1 7.1 9.1 9.2 9.3 9.4 10.1 11.1 12.1 13.1 13.2
View Full Version: fadhbanna le Snáitheanna an breiseán Sidebar IS DÉANAÍ Dia duit, Tá fadhb leis an mbreiseán Sidebar Lastest Snáitheanna - vBulletin.org Fóram (http://www.vbulletin.org/forum/showthread.php?t=204659&highlight=Sidebar+Lastest+Threads). Nach bhfuil aistrithe an teideal an phoist agus tags. Níorbh fhéidir leat a shocrú sé ar bhealach? Go raibh maith agat. Tá sé seo le haghaidh gnáth mods nach bhfuil comhtháite agus nach bhfuil sé ar ár bug - is é toisc nach bhfuil a bhfuil tú ag baint úsáide as mod comhtháite go fóill. Gach a bhfuil ag teastáil é a fheiceáil teidil aistrithe é a úsáid vbet_parseTitle fheidhm (THE_TITLE) ó / n-áirítear / vbenterprisetranslator_functions_bbcode.php. Mar sin, mar shampla, má tá teideal ag an athróg a shealbhú ainmnithe $ teideal ansin is féidir leat a chur an chuid seo den chód: if (strpos($title, '[/langtitle]')) { require_once(DIR. '/includes/vbenterprisetranslator_functions_bbcode.php'); $title = vbet_parseTitle($title); Téigh i dteagmháil údar mod agus iarr ina bhfuil an áit le haghaidh an cód. Is féidir linn cabhrú leat le comhtháthú, ach beidh sé seo tar éis scaoileadh vBET 4.0. Till an am seo ní mór dúinn i ndáiríre lán de na tascanna eile. Cuir in iúl dúinn raibh a láimhseáil tú é seo:) Mé leis go díreach laistigh de cheann de na forlíontáin, hasn't sé messed suas ar an gcóras plocóidí agus beidh mé ag PM tú an cód iomlán a fheiceáil má tá sé vbet ceart:) Automatic Translations (Powered by Google, Microsoft®, Yandex , SDL Language Cloud and Apertium): Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.