View Full Version : Solved subdirectory with another script
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.
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.
Hello, I have sent the real url by private message. Thank you.
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.
works perfect, thanks again.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.