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.
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: word " af " in mid of URLs

  1. #11
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    old file may be in the root directory. but file from my previous post please put into a "forum" folder.

    You should have to files. one .htaccess in root folder and on (from my post) in "forum" folder

  2. #12
    Banned
    Join Date
    May 2010
    Posts
    20

    Default

    thanks for reply

    sir when i placed one copy of .haccess file in root directory and one in forum directory so after that my forum give me below error :

    Not Found
    The requested document was not found on this server.

    Web Server at newsoftworld.com

    so i deleted the .htaccess file from root directory.

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

    Default

    At this moment I see that your translations links are not working at all. Please give me you actual WHOLE .htaccess conent from your forum directory.

  4. #14
    Banned
    Join Date
    May 2010
    Posts
    20

    Unhappy

    thanks for reply.

    sir my .htaccess file is placed in root directory and not present in forum directory by the new Rule or sitting of vbseo in below thread:
    vBSEO 3.5 Release Candidate 1 is here! - vBulletin SEO Forums

    in this thread i used the /forums (or another folder name) vb4 install rule and sitting so this is the reason my .htaccess file placed in root directory.


    my whole .htaccess file in root directory :

    Code:
     <IfModule mod_security.c>
       SecFilterEngine Off
       SecFilterScanPOST Off
    </IfModule>
    
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forum/)
    #RewriteBase /
    
    RewriteCond %{HTTP_HOST} !^www\.newsoftworld\.com
    RewriteRule (.*) http://www.newsoftworld.com/$1 [L,R=301]
    
    RewriteRule ^forum/((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    RewriteRule ^forum/((archive/)?(.*\.php(/.*)?))$ forum/vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ forum/vbseo.php [L,QSA]
    
    
    #************************************************************-
    #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|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ [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|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 [L,QSA]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
    RewriteRule ^forum/((archive/)?(.*\.php(/.*)?))$ forum/vbenterprisetranslator_seo.php [L,QSA]

    please solve this problem coz Google webmaster is detected the upto 82000 link as 404 page and if you have proper solution so i will remove it permanently coz my website ranking down day by day and also my sitemap also not working from last 12 days.

    Thanks and don't mind

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

    Default

    Please note that we didn't use .htaccess in folder other that forum directory. So solution below is not tested. Still hope it should help.

    Code:
     <IfModule mod_security.c>
       SecFilterEngine Off
       SecFilterScanPOST Off
    </IfModule>
    
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forum/)
    #RewriteBase /
    
    RewriteCond %{HTTP_HOST} !^www\.newsoftworld\.com
    RewriteRule (.*) http://www.newsoftworld.com/$1 [L,R=301]
    
    RewriteRule ^forum/((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteRule ^forum/(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/ [L,QSA]
    RewriteRule ^forum/(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 [L,QSA]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
    RewriteRule ^forum/((archive/)?(.*\.php(/.*)?))$ forum/vbenterprisetranslator_seo.php [L,QSA]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    RewriteRule ^forum/((archive/)?(.*\.php(/.*)?))$ forum/vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ forum/vbseo.php [L,QSA]

  6. #16
    Banned
    Join Date
    May 2010
    Posts
    20

    Default

    thanks for reply.

    vbet translator is working start but every things show wrong as please check the below link:
    http://www.newsoftworld.com/forum/af/

    so now how i can fix this problem.

    thanks

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

  8. #18
    Banned
    Join Date
    May 2010
    Posts
    20

    Default

    thanks for reply.

    1. You didn't fallow installation instructions. You MUST configure Forum language option. Just configure mod:
    a) i reupload the all file to my forum directory and then i add the .htaccess file to my root directory with the above .htaccess file sitting which provided by you.
    now my .haccess file:
    Code:
     <IfModule mod_security.c>
       SecFilterEngine Off
       SecFilterScanPOST Off
    </IfModule>
    
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forum/)
    #RewriteBase /
    
    RewriteCond %{HTTP_HOST} !^www\.newsoftworld\.com
    RewriteRule (.*) http://www.newsoftworld.com/$1 [L,R=301]
    
    RewriteRule ^forum/((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteRule ^forum/(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/ [L,QSA]
    RewriteRule ^forum/(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 [L,QSA]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
    RewriteRule ^forum/((archive/)?(.*\.php(/.*)?))$ forum/vbenterprisetranslator_seo.php [L,QSA]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    RewriteRule ^forum/((archive/)?(.*\.php(/.*)?))$ forum/vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ forum/vbseo.php [L,QSA]
    b) then i edited the vbseo_sitemap_functions.php in vbseo_sitemap directory for Integration :

    Find:
    Code:
    vbseo_log_entry("
    [showthread] forum_id: $forumid, thread_id: $threadrow[threadid], total posts: $totalposts, pages: $totalpages, views: $threadrow[views] $prior");

    And place AFTER it...

    For SEO links


    Code:
    //additional code 
    $alanguages = array ('af','sq','ar','be','bg','ca','zh-CN','hr','cs','da','nl','en','pl','et','tl','fi','fr','gl','de','el','iw','hi','hu','is','id','ga','it','ja','ko','lv','lt','mk','ms','mt','no','fa','pt','ro','ru','sr','sk','sl','es','sw','sv','zh-TW','th','tr','uk','vi','cy','yi'); 
    if(!$archived) { 
      $strlenhost = strlen($vbseo_vars['bburl']."/"); 
      $currentthreadurl = vbseo_url_thread($threadrow, 1, $archived);
      $currentthreadurl_before = substr($currentthreadurl,0,$strlenhost);
      $currentthreadurl_after = "/".substr($currentthreadurl,$strlenhost);
      $lastpost =& $threadrow['lastpost'];
      $vbseo_stat['t'] += sizeof($alanguages);
      foreach($alanguages as $language) { 
        vbseo_add_url($currentthreadurl_before.$language.$currentthreadurl_after, $prior, $lastpost, $freq); 
      } 
    }   
    //end additional code
    c) forum language = English
    d) Link Type = VBSEO_URI
    e) Forum directory = /forum
    f) Translation links type = Create URL's according to SEO link consensus (i.e. '/en/address')



    2. You set wrong Google Translation API key - set it to appropriate value or remove it (not advised - just set it appropriately)
    a) one time i checked with Google API key and one time without Google API key but still same error.


    3. For some reason you was blocked by Google
    a) i create the new file in root directory as name test.php which report is below:
    http://www.newsoftworld.com/test.php
    Code:
    Starting translation test
    Test result: {"responseData": {"translatedText":"powitanie"}, "responseDetails": null, "responseStatus": 200}
    Test error:
    means i done all sitting but still same problem with me.

    so now what i do for this problem to fix it.


    thanks
    Last edited by newsoftw; 07-09-10 at 20:27.

  9. #19
    Banned
    Join Date
    May 2010
    Posts
    20

    Default

    i am waiting 4 response but still not any help....


    thanks

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

    Default

    Please PM me access details to your Admin CP and FTP. As I wrote before we didn't use before vBET with .htaccess outside forum folder. I look on it again, but found nothing - I need to check it on your forum.

    You can also just use .htaccess inside of forum folder (need changes in actual rues) like vBET supports it right now.

Page 2 of 3 FirstFirst 123 LastLast

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
  •