Dôležitý: Táto stránka používa cookies, (cookies). Používanie tejto webovej stránky bez nutnosti vypnúť súbory cookie v prehliadači, znamená to, že súhlasíte s tým, pre jeho použitie.
Kúp teraz! Funkcia Súbory na stiahnutie

Zarábajte s nami!

Ak by ste chceli začať zarábať peniaze s vBET pripojiť k Affiliate Program.
Výsledky 1 na 4 z 4

Závit: Riešenie problémov. Htaccess

  1. #1
    Nováčik
    Dátum registrácie
    01. 2011
    Príspevky
    4

    Default Riešenie problémov. Htaccess

    Ja používam BB 3.8.6 s vBSEO 3.5.1PL1 s najnovšími vBET 3.3.6.

    Mám problémy so prepisuje:

    Ham.se - Všetko o rádioamatérskej
    Nad funguje správne

    www.ham.se/en/
    Nad dáva "Page not found" chybové hlásenie.

    www.ham.se/en/hemmabyggen/
    Hore je, že mi prázdne stránky.

    To je môj 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]
    Nejaké návrhy?

  2. #2
    vBulletin Enterprise Translator (vBET) Zamestnanci
    Dátum registrácie
    05. 2010
    Príspevky
    1,000

    Default

    Dobrý deň,

    ok Po prvé:
    1. Prejsť na admincp-> vBET-> Hlavné
    2. súbor Typ väzby na VBSEO_URI

    . Po druhé by si htaccess vyzerať, ako je tento:
    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]
    na poslednom - vedeli ste, aby sa všetky zmeny v vBSEO dva súbory (zmien, ktoré si vysvetliť, v readme.html súbor robiť-nie-upload zložku v vBET pack?
    To je v Integrácia s ďalšími mody časť. Mali by ste upraviť dva vBSEO súbory:
    1. FORUM_ROOT / vBSEO / includes / functions_vbseo_createurl.php
    2. FORUM_ROOT / vBSEO / includes / functions_vbseo_url.php

  3. #3
    Nováčik
    Dátum registrácie
    01. 2011
    Príspevky
    4

    Default

    Vďaka!

    Vyzerá to, že prepisuje SEO v spodnej časti vášho príklade sú duplicitné, takže som ich preč.

    Pracovné skvelý - vďaka!

    Na zdravie

    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) Zamestnanci
    Dátum registrácie
    05. 2010
    Príspevky
    1,000

    Default

    Vďaka za potvrdenie vyriešený

Kľúčové slová pre túto tému

Prispievanie

  • Vy nie je zakladať nové témy
  • Vy nie je vkladať nové príspevky
  • Vy nie je prikladať
  • Vy nie je upravovať svoje príspevky
  •