• Rejestracja
vBHELP.pl - polskie wsparcie vBulletin
  1. #1
    berix jest nieaktywny Początkujący
    Dołączył
    Apr 2009
    Posty
    4

    Domyślnie vbseo 3.3 - błedne seo - htacces

    Witam mam mianowicie taki problem
    posiadam subdomene
    forum.xx gdzie jest skrypt vB


    Po klikniecią na kategorie przekierowuje mnie na /home/ (jeszcze raz strona główna),gdzie nie ładuje obrazków idąc dalej, przy zakładaniu tematu jest bez seo (newthread.php?do=newthread&f=2 )

    Przy takiej konfiguracji
    plik htaccess:
    Kod:
    # 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.
    
    # 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/)
    RewriteEngine On
    RewriteBase /
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    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]
    </IfModule>
    Gdy ustawie w htaccess #RewriteBase / to wtedy mam błąd

    Internal Server Error
    [...]
    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.



  2. #2
    Awatar WoG
    WoG
    WoG jest nieaktywny vB Specialist
    Dołączył
    Feb 2008
    Posty
    2 812
    Przydatne posty
    298
    Wpisów
    1

    Domyślnie

    Z subdomenami przeważnie są problemy z seo.
    Masz jakiś .htaccess w głównym katalogu serwera?
    Z poważaniem,
    WoG

    Ty też możesz pomóc spolszczać vBulletin 5: GitHub.com
    "Rozczarowanie spowodowane niską jakością pamięta się długo po przeminięciu radości spowodowanej niską ceną"


  3. #3
    berix jest nieaktywny Początkujący
    Dołączył
    Apr 2009
    Posty
    4

    Domyślnie

    na głowowej domenie mam cms WP


    Kod:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^xxx.pl [NC]
    RewriteRule ^(.*)$ http://xxx.pl%{REQUEST_URI} [R=301,L]
    
    AddHandler x-httpd-php .php
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^(sitemap\.xml|sitemap\.xml\.gz)$ /wp-content/sitemaps/$1 [L]
    </IfModule>
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress


  4. #4
    cizu jest nieaktywny Advanced Member
    Dołączył
    Aug 2008
    Posty
    454

    Domyślnie

    Kod:
    RewriteCond %{REQUEST_URI} !(/forum)
    albo
    RewriteCond  %{REQUEST_URI} !^/forum
    do głównego htaccess

    ??
    Ostatnio edytowane przez cizu ; 15.04.2009 o 17:05


  5. #5
    berix jest nieaktywny Początkujący
    Dołączył
    Apr 2009
    Posty
    4

    Domyślnie

    nic to nie dalo


  6. #6
    cizu jest nieaktywny Advanced Member
    Dołączył
    Aug 2008
    Posty
    454

    Domyślnie

    Kod:
    RewriteCond  %{REQUEST_URI} !^/forum
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    ogolem pobaw sie ;P


  7. #7
    Lucas jest nieaktywny Stały bywalec
    Dołączył
    Jan 2009
    Posty
    129
    Przydatne posty
    2

    Domyślnie

    nie dodawaj nic do głównego htaccess, w subdomenie załóż nowy htaccess, ustaw w nim standardową treść z vbseo.


  8. #8
    berix jest nieaktywny Początkujący
    Dołączył
    Apr 2009
    Posty
    4

    Domyślnie

    Cytat Zamieszczone przez Lucas Zobacz posta
    nie dodawaj nic do głównego htaccess, w subdomenie załóż nowy htaccess, ustaw w nim standardową treść z vbseo.
    hmm no własnie przy subdomenie standardowe htacces nie działa


  9. #9
    cizu jest nieaktywny Advanced Member
    Dołączył
    Aug 2008
    Posty
    454

    Domyślnie

    Tak jak pisałem musisz w htaccess w głównym katalogu wyłączyć z "systemu pretty links" wordpressa katalog w którym znajduje się forum - jak to zrobić nie mam praktyki, ale wydaje mi się że przez rewriteCond


Podobne wątki

  1. SEO w vB 4.0
    By Max in forum Pytania i problemy
    Odpowiedzi: 4
    Ostatni post / autor: 18.11.2009, 22:57
  2. Instalacja SEO
    By Krisuuu in forum vBSEO
    Odpowiedzi: 7
    Ostatni post / autor: 21.04.2009, 14:02
  3. Zoints SEO 2.3.0
    By Psolufka in forum Pozycjonowanie (SEO)
    Odpowiedzi: 4
    Ostatni post / autor: 09.03.2009, 04:19
  4. .htacces w vbseo
    By seba766 in forum vBSEO
    Odpowiedzi: 1
    Ostatni post / autor: 20.05.2008, 20:11
  5. Vb SEO 3.1.0
    By Młody in forum vBSEO
    Odpowiedzi: 4
    Ostatni post / autor: 16.03.2008, 01:03
Chmurka.pl

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67