PDA

View Full Version : vbet rules for nginx and vbulletin 4



magmf
12-04-10, 21:25
I would like to confirm that the vbet is stable for VB4 and if you have a demo site? I would also confirm if you have the pair nginx rewrite rules. Thanks,

magmf
12-04-10, 21:28
vbeta == vbet something happend on translation

vBET
12-04-10, 22:01
vBET 4.x is stable. Last release was BETA, but no serious bugs was reported. Actually we have only 1 open bug report for vBET 4.x and it is minor issue.

At this moment we do NOT have rules for Nginx, but we can prepare those and you can test it with free version. Can you please give us your actual Nginx rules?

magmf
05-05-10, 20:16
nginx vbseo rules



location /forums/ {

rewrite ^/forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;

if (!-e $request_filename) {
rewrite ^/forums/(.*)$ /forums/vbseo.php last;
}

}

if ($request_filename ~ "\.php$" ) {
rewrite ^/forums/(.*)$ /forums/vbseo.php last;
}

vBET
05-05-10, 22:08
So for vBET you should use rules below. Please note that those where not tested, but should work (it is just translation from .htaccess rules). You can test it first on free version before you buy paid one. It would be good if you make copy off your actual rules before making changes.
Please confirm that rules are working for you.

Of course you have to change forums to your forum directory or remove all /forums if your forum doesn't use subdirectory in URL.


location /forums/ {

rewrite ^/forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;

rewrite ^/forums/(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)/$ /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/ last;
rewrite ^/forums/(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)/(.*)?$ /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/$2 last;


if (!-e $request_filename) {
rewrite ^/forums/(.*)$ /forums/vbenterprisetranslator_seo.php last;
}

}

if ($request_filename ~ "\.php$" ) {
rewrite ^/forums/(.*)$ /forums/vbenterprisetranslator_seo.php last;
}

magmf
09-05-10, 00:51
great worked fine on nginx.... :)

I'm using payed version with brand free is there any way to remove
"Automatic translations supported by vBET 4.2.2" from footer since i payed for brand free ?

vBET
09-05-10, 03:06
I will PM you :)

meto
13-03-11, 23:11
So for vBET you should use rules below. Please note that those where not tested, but should work (it is just translation from .htaccess rules). You can test it first on free version before you buy paid one. It would be good if you make copy off your actual rules before making changes.
Please confirm that rules are working for you.

Of course you have to change forums to your forum directory or remove all /forums if your forum doesn't use subdirectory in URL.


location /forums/ {

rewrite ^/forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;

rewrite ^/forums/(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)/$ /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/ last;
rewrite ^/forums/(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)/(.*)?$ /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/$2 last;


if (!-e $request_filename) {
rewrite ^/forums/(.*)$ /forums/vbenterprisetranslator_seo.php last;
}

}

if ($request_filename ~ "\.php$" ) {
rewrite ^/forums/(.*)$ /forums/vbenterprisetranslator_seo.php last;
}



Those rewrites are a little obsolete.


location /forums/ {

rewrite ^/forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;

rewrite ^/forums/(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)/$ /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/ last;
rewrite ^/forums/(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)/(.*)?$ /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/$2 last;

try_files $uri $uri/ /forums/vbenterprisetranslator_seo.php;
}

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Languages translations made by vBET 4.10.1