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 10 of 52

Thread: vBSEO integration

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default

    Text automatically translated from: Portuguese to: English
    Translated text
    Hello, I know you say to add the rules before the rules htacces vbseo.php, but for many people it can be confusing, since there are two lines with "vbseo.php."

    Here is the. Htaccess vBSEO original, you can specify the exact line that we must add the htaccess rules vBET?

    Code:
    1 RewriteEngine On
    2 RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    3 RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    4 RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
    5 RewriteCond %{REQUEST_FILENAME} !-f
    6 RewriteCond %{REQUEST_FILENAME} !-d
    7 RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    8 RewriteRule ^(.+)$ vbseo.php [L,QSA]
    Original text

  2. #2
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by trevis View Post
    Text automatically translated from: Portuguese to: English
    Translated text
    Hello, I know you say to add the rules before the rules htacces vbseo.php, but for many people it can be confusing, since there are two lines with "vbseo.php."

    Here is the. Htaccess vBSEO original, you can specify the exact line that we must add the htaccess rules vBET?

    Code:
    1 RewriteEngine On
    2 RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    3 RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    4 RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
    5 RewriteCond %{REQUEST_FILENAME} !-f
    6 RewriteCond %{REQUEST_FILENAME} !-d
    7 RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    8 RewriteRule ^(.+)$ vbseo.php [L,QSA]
    Original text
    It is clearly described to add vBET rules just before ALL rules to vbseo.php So 'just before ALL rules to vbseo.php' means - before first which is to vbseo.php - not earlier not later.

    We didn't realize that it can be confusing. How you suggest we should describe it? - We will gladly take any suggestion how to improve his description

  3. #3

    Default

    Quote Originally Posted by vBET View Post
    It is clearly described to add vBET rules just before ALL rules to vbseo.php So 'just before ALL rules to vbseo.php' means - before first which is to vbseo.php - not earlier not later.

    We didn't realize that it can be confusing. How you suggest we should describe it? - We will gladly take any suggestion how to improve his description
    Text automatically translated from: Portuguese to: English
    Translated text
    For example, reading your instructions I would put the details of its htaccess between lines 3 and 4, is that correct? If I tried and it did not work
    Original text

  4. #4
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by trevis View Post
    Text automatically translated from: Portuguese to: English
    Translated text
    For example, reading your instructions I would put the details of its htaccess between lines 3 and 4, is that correct? If I tried and it did not work
    Original text
    As I remember issue already solved by PM - correct me if I'm wrong

  5. #5

    Default

    Here is my .htaccess IN ROOT, with FORUMS in root (e.g. I do not have forums in folder or anything, only rewritten as so) MAKE SURE THE LONG RULE ISN'T BROKEN (E.G. TURN OFF 'WORD WRAP IN NOTEPAD).

    Code:
    RewriteEngine On
    Options +FollowSymLinks
    
    # Redirect coinforums.com
    RewriteCond %{HTTP_HOST} ^(www\.)?uscoininfo\.com
    RewriteRule (.*) http://www.coinforums.com/ [R=301,L]
    # End Redirect from CoinForums.com
    
    
    # Redirect to WWW
    RewriteCond %{HTTP_HOST} ^coinforums.com [NC]
    RewriteRule ^(.*)$ http://www.coinforums.com/$1 [L,R=301]
    # End Redirect to WWW
    
    # vbSEO Sitemap
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    # END
    
    # vBET
    # RULES for SEO translation links with vBSEO (have to be included before all rules to vbseo.php)
    
    RewriteRule ^/?(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)/gallery/(.*)?$ /gallery/$2?language=$1 [L,QSA]
    RewriteRule ^/?(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)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]
    RewriteRule ^/?(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)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/$2 [L,QSA]
    
    
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]
    # vBET End
    
    
    
    # vBSEO Beg
    #RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    #RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
    #RewriteCond %{REQUEST_FILENAME} !-f
    #RewriteCond %{REQUEST_FILENAME} !-d
    #RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    #RewriteRule ^(.+)$ vbseo.php [L,QSA]
    # vBSEO End

  6. #6

    Default

    Quote Originally Posted by Jesh View Post
    Here is my .htaccess IN ROOT, with FORUMS in root (e.g. I do not have forums in folder or anything, only rewritten as so) MAKE SURE THE LONG RULE ISN'T BROKEN (E.G. TURN OFF 'WORD WRAP IN NOTEPAD).
    It looks like something I could try, but what is this line for ?

    RewriteRule ^/?(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)/gallery/(.*)?$ /gallery/$2?language=$1 [L,QSA]
    I don't have a /gallery folder at root.

  7. #7
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by mikeinjersey View Post
    It looks like something I could try, but what is this line for ?



    I don't have a /gallery folder at root.
    Is there still any issue? As I remember we were solving it by PM, but want to be sure that it is OK

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
  •