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 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: 404 in ver 3.4.1

  1. #1

    Default 404 in ver 3.4.1

    i upgraded to last ver for 3.8 and i get no found in translations, Blank Page 404 error, the vbseo file modifications are done correctly

    (link removed)

    htaccess

    # 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

    RewriteRule t([0-9]+)/ http://www.SITE.com/forums/showthread.php?t=$1 [L,R=301]
    RewriteRule t([0-9]+)-([0-9]+)/ http://www.www.SITE.com/forums/showthread.php?t=$1&page=$2 [L,R=301]
    RewriteRule f([0-9]+)/ http://www.www.SITE.com/forums/forumdisplay.php?f=$1 [L,R=301]

    # 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 /forums/)
    #RewriteBase /

    RewriteCond %{HTTP_HOST} !^www\.SITE\.com
    RewriteRule (.*) http://www.www.SITE.com/forums/$1 [L,R=301]

    #RULES for SEO translation links with vBSEO (have to be included before all rules to vbseo.php)
    #RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|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|ur|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]
    #RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|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|ur|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]

    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    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]
    Last edited by tsak76; 12-09-11 at 17:38.

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

    Default

    Your htacces file looks like this :

    # 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

    RewriteRule t([0-9]+)/ http://www.SITE.com/forums/showthread.php?t=$1 [L,R=301]
    RewriteRule t([0-9]+)-([0-9]+)/ http://www.www.SITE.com/forums/showthread.php?t=$1&page=$2 [L,R=301]
    RewriteRule f([0-9]+)/ http://www.www.SITE.com/forums/forumdisplay.php?f=$1 [L,R=301]

    # 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 /forums/)
    #RewriteBase /

    RewriteCond %{HTTP_HOST} !^www\.SITE\.com
    RewriteRule (.*) http://www.www.SITE.com/forums/$1 [L,R=301]

    #RULES for SEO translation links with vBSEO (have to be included before all rules to vbseo.php)
    #RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|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|ur|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]
    #RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|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|ur|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]

    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    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]
    but please take a look for my changes:
    # 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

    RewriteRule t([0-9]+)/ http://www.SITE.com/forums/showthread.php?t=$1 [L,R=301]
    RewriteRule t([0-9]+)-([0-9]+)/ http://www.www.SITE.com/forums/showthread.php?t=$1&page=$2 [L,R=301]
    RewriteRule f([0-9]+)/ http://www.www.SITE.com/forums/forumdisplay.php?f=$1 [L,R=301]

    # 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 /forums/)
    #RewriteBase /

    RewriteCond %{HTTP_HOST} !^www\.SITE\.com
    RewriteRule (.*) http://www.www.SITE.com/forums/$1 [L,R=301]

    #RULES for SEO translation links with vBSEO (have to be included before all rules to vbseo.php)

    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    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=/forums/ [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=/forums/$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]


    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]
    Please start with changing this file, if error will occur let us know

  3. #3

    Default

    ok that works , thanx, and how about vbadvanced portal in the ROOT dir ? this my htaccess. how i must make it ?

    Code:
    Options +FollowSymLinks
    
    RewriteEngine On
    
    RewriteCond %{THE_REQUEST} \ /(.+/)?index\.php\  [NC]
    RewriteRule ^(.+/)?index\.php$ http://SITE.com/$1? [R=301,L]
    
    
    
    RewriteCond %{HTTP_HOST} !^www\.SITE\.com$
    RewriteRule (.*) http://www.SITE.com/$1 [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} !forums/
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ forums/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]
    
    RewriteCond %{REQUEST_FILENAME} !forums/
    RewriteRule ^(.*\.php)$ forums/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]

  4. #4

    Default

    opps now i noticed that while the translation works the english url has greek letters in it and doesnt become english :/

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

    Default

    1)I think your root direction are translated properly, what seems to be the problem
    2)Make sure that your integration, and modification are done properly. Please read once again readme file

  6. #6

    Default

    the forum is greek so the default thread url is forum/3234-τιτλος-θεματος.html

    when the page translates into english, the translation works but the url becomes

    forum/en/3234-τιτλος-θεματος.html

    instead of

    forum/en/3234-thread-title.html and same for all other langs

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

    Default

    I haven't been clear enough, sorry

    and how about vbadvanced portal in the ROOT dir ? this my htaccess. how i must make it ?
    and my answer is that translation in your root page work properly, and

    opps now i noticed that while the translation works the english url has greek letters in it and doesnt become english :/
    Like I said before(and also here http://www.vbenterprisetranslator.co....html#post3220) please make sure that your integration is made properly.

  8. #8

    Default

    yes the vbseo file edits have been done properly

  9. #9

    Default

    btw vbseo had a bug with the greek characters in urls and they had fixed the issue with this edit. not sure if this is related.

    from vbseo support


    Code:
    change this line in functions_vbseo_url.php
    
    $text = strtolower($text);
    
    
    with:
    $text = (VBSEO_UTF8_SUPPORT && function_exists('mb_strtolower')) ?
    mb_strtolower ($text, 'UTF-8')
    : strtolower($text);

  10. #10

    Default

    i need some support here to solve this important issue

Page 1 of 2 12 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
  •