Svarīgs: Šī lapa izmanto cookies (cookies). Izmantojot šo mājas lapu, neizslēdzot sīkdatnes pārlūku, nozīmē, ka jūs piekrītat, izmantojot to.
Pirkt Tagad! Features Lejupielādes

Nopelni kopā ar mums!

Ja jūs vēlaties sākt pelnīt naudu ar vBET pievienoties, lai Filiāļu programmu.
Rezultāti 1 līdz 4 gada 4

Thread: Problēmu novēršana. Htaccess

  1. #1
    Jauniņais
    Pievienošanās datums
    Jan 2011
    Atbildes
    4

    Default Problēmu novēršana. Htaccess

    Es, izmantojot VB 3.8.6 ar vBSEO 3.5.1PL1 ar jaunāko vBET 3.3.6.

    Es esmu, kam problēmas ar pārraksta:

    Ham.se - Viss par amatieru radio
    Virs darbojas pareizi,

    www.ham.se/en/
    Virs dod "page not found" kļūdas ziņojumu.

    www.ham.se/en/hemmabyggen/
    Augšā ir kas man tukšas lapas.

    Šī ir mana htaccess.:

    Code:
    # 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 /forums/)
    #RewriteBase /
    
    RewriteCond %{HTTP_HOST} !^www\.ham\.se
    RewriteRule (.*) http://www.ham.se/$1 [L,R=301]
    
    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|f$
    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|f$
    
    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]
    Kādi ieteikumi?

  2. #2
    vBulletin Enterprise Translator (vBET) personāla
    Pievienošanās datums
    Maijs 2010
    Atbildes
    1,000

    Default

    Hello,

    ok, pirmkārt:
    1. iet uz AdminCP-> vBET-> galvenais
    2. komplekts Link Tips līdz VBSEO_URI

    . otrkārt, jūsu htaccess fails izskatās, šo vienu:
    Code:
    # 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 /forums/)
    #RewriteBase /
    
    RewriteCond %{HTTP_HOST} !^www\.ham\.se
    RewriteRule (.*) http://www.ham.se/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    #************************************************************************--
    #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)/$ 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]
    
    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]
    pēdējā - vai jūs veikt visas izmaiņas vBSEO divi faili (izmaiņas, jums ir izskaidrot readme.html failu do-not-upload mapi vBET pack?
    Tas ir Integrācija ar citu mods daļas. Jums vajadzētu rediģēt divas vBSEO failus:
    1. FORUM_ROOT / vbseo / includes / functions_vbseo_createurl.php
    2. FORUM_ROOT / vbseo / includes / functions_vbseo_url.php

  3. #3
    Jauniņais
    Pievienošanās datums
    Jan 2011
    Atbildes
    4

    Default

    Paldies!

    Šķiet, tāpat kā SEO pārraksta apakšā jūsu piemērs ir dublikāti, tāpēc es ņēma tos prom.

    Darba lieliska - paldies!

    Priekā

    Martin


    Code:
    # 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 /forums/)
    #RewriteBase /
    
    RewriteCond %{HTTP_HOST} !^www\.ham\.se
    RewriteRule (.*) http://www.ham.se/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    # Rewrite all urls beginning with language codes to vbenterprisetranslator_seo script
    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]
    
    # Bounce all the archive rewrites off vbenterprisetranslator_seo.php (it then bounces to vbseo.php)
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]
    
    # Bounce all the other rewrites off vbenterprisetranslator_seo.php (it then bounces to vbseo.php)
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]

  4. #4
    vBulletin Enterprise Translator (vBET) personāla
    Pievienošanās datums
    Maijs 2010
    Atbildes
    1,000

    Default

    Paldies par jūsu apstiprinājumu atrisinātas

Tags par šo Thread

Posting atļaujas

  • Jūs nedrīkst Publicēt jaunu pavedieni
  • Jūs nedrīkst post atbildes
  • Jūs nedrīkst pasta pielikumi
  • Jūs nedrīkst rediģēt savas ziņas
  •