about second issue:
1. open, edit and make a copy of this file:
forum root/includes/vbenterprisetranslator_functions.php
2. in this file find:
3. and replace with:PHP Code:
$result =& str_replace('\u003d', '=', str_replace ('\u0026', '&', $result));
4. save and test it.PHP Code:
$result =& str_replace(array('\u003d','\u0026', '\u200b'), array('=', '&', ' '), $result);
about first issue:
did you install some new mod? maybe there is a conflict with mod. before everyting works good?
how to check conflict? just enable all mods without vBET and check links again.
Last edited by haiduongbk; 06-04-11 at 09:35.
what about this issue:
is still after translation?Code:\u200b
are you paste code from my previous post in good place? this code should fix this issue.
About issue with flags - please try to find a conflict with some mod.
please disable all mods without vBET and try to find this issue again.
also - you can use vBET urls in SEO form.
to do it just go to admincp->vBET->main and set Translation links type to Create URL's according to SEO link consensus (i.e. '/en/address'). After that upload into your main forum our .htaccess file from vBET pack.
RewriteCond %{QUERY_STRING} (hl=|language=)(zh-TW|zh-CN|..)
RewriteRule ^(.*)$ http://%{HTTP_HOST}/%2/$1? [L,R=301]
example of .htaccess file:
about second issue: are you sure that you paste my code in the good place?Code:RewriteEngine On #RULES for SEO translation links without any SEO engine (on raw vBulletin links) #If you are using vB 'Mod Rewrite Friendly URLs' then put those rules JUST BEFORE vB rules RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|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|ur|vi|cy|yi)/archive/index.php/(.*)?$ archive/index.php?/$2&language=$1 [L,QSA] RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|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|ur|vi|cy|yi)/$ index.php?language=$1 [L,QSA] RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|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|ur|vi|cy|yi)/(.*)?$ $2?language=$1 [QSA]
pleae paste here a part of this file with this change.
RewriteCond %{QUERY_STRING} (hl=|language=)(zh-TW|zh-CN|..)
RewriteRule ^(.*)$ http://%{HTTP_HOST}/%2/$1? [L,R=301]
RewriteEngine On
Order Allow,Deny
Deny from 74.125.127.95
Deny from 217.172.179.50
Deny from 10.0.8.254
Allow from all
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|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/archive/index.php/(.*)?$ archive/index.php?/$2&language=$1 [L,QSA]
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)/$ index.php?language=$1 [L,QSA]
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)/(.*)?$ $2?language=$1 [QSA]
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
DirectoryIndex forum.php index.php index .php3 messagebrd.pl index.html index.htm
RewriteBase /
RewriteCond %{HTTP_HOST} !^windowsz\.net$ [NC]
RewriteRule ^(.*)$ http://windowsz.net/$1 [R=301,L]
ErrorDocument 404 HTTP ERROR 404
ErrorDocument 401 HTTP ERROR 404
ErrorDocument 403 HTTP ERROR 404
ErrorDocument 500 HTTP ERROR 404
RewriteEngine On
Order Allow,Deny
Deny from 74.125.127.95
Deny from 217.172.179.50
Deny from 10.0.8.254
Allow from all
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|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/archive/index.php/(.*)?$ archive/index.php?/$2&language=$1 [L,QSA]
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)/$ index.php?language=$1 [L,QSA]
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)/(.*)?$ $2?language=$1 [QSA]
RewriteCond %{QUERY_STRING} (hl=|language=)(zh-TW|zh-CN|..)
RewriteRule ^(.*)$ http://%{HTTP_HOST}/%2/$1? [L,R=301]
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
DirectoryIndex forum.php index.php index .php3 messagebrd.pl index.html index.htm
RewriteBase /
RewriteCond %{HTTP_HOST} !^windowsz\.net$ [NC]
RewriteRule ^(.*)$ http://windowsz.net/$1 [R=301,L]
ErrorDocument 404 HTTP ERROR 404
ErrorDocument 401 HTTP ERROR 404
ErrorDocument 403 HTTP ERROR 404
ErrorDocument 500 HTTP ERROR 404
ok here you have example of .htaccess if you DON'T USE vBSEO:
but I was on your site and translation works good!Code:RewriteEngine On Order Allow,Deny Deny from 74.125.127.95 Deny from 217.172.179.50 Deny from 10.0.8.254 Allow from all RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] 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|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/archive/index.php/(.*)?$ archive/index.php?/$2&language=$1 [L,QSA] 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)/$ index.php?language=$1 [L,QSA] 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)/(.*)?$ $2?language=$1 [QSA] DirectoryIndex forum.php index.php index .php3 messagebrd.pl index.html index.htm RewriteBase / RewriteCond %{HTTP_HOST} !^windowsz\.net$ [NC] RewriteRule ^(.*)$ http://windowsz.net/$1 [R=301,L] ErrorDocument 404 HTTP ERROR 404 ErrorDocument 401 HTTP ERROR 404 ErrorDocument 403 HTTP ERROR 404 ErrorDocument 500 HTTP ERROR 404
example:
http://windowsz.net/ja/showthread.ph...7864#post57864
RewriteCond %{QUERY_STRING} (hl=|language=)(zh-TW|zh-CN|..)
RewriteRule ^(.*)$ http://%{HTTP_HOST}/%2/$1? [L,R=301]