PDA

View Full Version : Solved subdirectory with another script



jorgejgm
04-01-10, 13:12
Hola,

Tengo un problema con las páginas traducidas y los enlaces internos que no usan el script vbulletin.




Ej:

www.vbulletinscript/en/vbulletinscript/ ********-->>>> ok

www.vbulletinscript/en/otherscript/ ********-->>>> Error404 how can I say to that subdirectories should not apply the language?Thank you.

vBET
04-01-10, 18:12
Here you have discussion about this:
http://www.vbenterprisetranslator.com/forum/feature-requests/274-disable-within-blogs-other-non-native-vb-scripts-optio.html#post973

Shortly - it is not supported now - if URL is inside of forum URL then it can be translated, but we accepted as feature request to determine which URLs shouldn't be supported.

Right now maybe it will be enough for you to set 301 redirects in your .htaccess.

Also please give us real URLs we will check it.

jorgejgm
04-01-10, 18:30
Hello, I have sent the real url by private message. Thank you.

vBET
04-01-10, 20:04
Ok I see it. So - if as you wrote those sections are totally out of vBulletin control, then it cannot be translated right now. So as I wrote before - for now you can made changes in .htaccess. In next version It will be supported by vBET :)

for .htaccess try this one (put it before other vBET rules):


RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/ofertas-trabajo/(.*)?$ http://%{HTTP_HOST}/ofertas-trabajo/$2 [L,R=301]


Please test it! It was not checked.

jorgejgm
05-01-10, 00:32
works perfect, thanks again.

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations delivered by vBET 4.10.1