PDA

View Full Version : Broken CSS Links



dweu
22-09-11, 11:00
Hello

I am using free version of vbet with vbulletin 3.8 and using NGINX webserver.

This is my rewrite rules:

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:

/forum/tr/clientscript/vbulletin_important.css?v=387

it should be

/forum/clientscript/vbulletin_important.css?v=387

Can someone help me?

r.dziadusz
22-09-11, 14:34
Hi!
Please give me link to your forum, and could you please show me your whole .htaccess file

dweu
23-09-11, 13:37
Hi!
Please give me link to your forum, and could you please show me your whole .htaccess file

I dont use apache and I dont use .htaccess.This is a NGINX rewrite issue.

r.dziadusz
23-09-11, 16:49
Sorry, could you please pm your forum adres, and admin access, becouse i have to check it on place.
One more thing, are you using latest version of vBet

r.dziadusz
01-10-11, 11:08
No answer, i consider it solved, if you have more question about this problem, please ask, for any other issues please open new threads

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations supported by vBET 4.10.1