View Full Version : Solved Correcting CSS file location

02-03-10, 23:20
I modified a line of code that builds where how css file is called from @import to link (because it's a better and faster way to call css). Now is seems that CSS file locations are not correct. For example...


is being rewritten to

which is resulting in a 404. How do I make it so this does not get 'translated'?

03-03-10, 21:03
Are you sure you have good .htaccess rules? It should work. It is working on our forum. Please PM me your forum URL I will check it.

03-03-10, 23:36
I just double checked my .htaccess rules and thy are all good. Sent you a PM.

08-03-10, 16:12
Quick fix solution (will be included in next release):

1. Open file /includes/vbenterprisetranslator_functions_url_tracking.php
2. Find:

if (0 === strpos($address, 'javascript:') || $address == '#' || vbet_isURLIgnored($address)) {

3. Replace by:

if (false !== strpos($address, '.css') || 0 === strpos($address, 'javascript:') || $address == '#' || vbet_isURLIgnored($address)) {

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations supported by vBET 4.9.99