Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 5 of 5

Thread: Broken CSS Links

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    3

    Default Broken CSS Links

    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?

  2. #2
    Retired ;)
    Join Date
    Aug 2011
    Posts
    441

    Default

    Hi!
    Please give me link to your forum, and could you please show me your whole .htaccess file

  3. #3
    Junior Member
    Join Date
    Jan 2011
    Posts
    3

    Default

    Quote Originally Posted by r.dziadusz View Post
    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.

  4. #4
    Retired ;)
    Join Date
    Aug 2011
    Posts
    441

    Default

    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
    Last edited by r.dziadusz; 23-09-11 at 17:06.

  5. #5
    Retired ;)
    Join Date
    Aug 2011
    Posts
    441

    Default

    No answer, i consider it solved, if you have more question about this problem, please ask, for any other issues please open new threads

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •