Hello
I am using free version of vbet with vbulletin 3.8 and using NGINX webserver.
This is my rewrite rules:
Code:
location = /forum {
rewrite ^.+ /forum/ permanent; }
location /forum {
rewrite ^/forum/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;
rewrite ^/forum/(ga|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)/$ /forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ last;
rewrite ^/forum/(ga|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)/(.*)?$ /forum/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 last;
if (!-e $request_filename) {
rewrite ^/forum/(.*)$ /forum/vbenterprisetranslator_seo.php last;
}
}
if ($request_filename ~ "\.php$" ) {
rewrite ^/forum/(.*)$ /forum/vbenterprisetranslator_seo.php last;
}
When i get translated page link,I see css file directory was replaced like:
Code:
/forum/tr/clientscript/vbulletin_important.css?v=387
it should be
Code:
/forum/clientscript/vbulletin_important.css?v=387
Can someone help me?