Muhimu: Ukurasa Hii ni kwa kutumia cookies (cookies). Kutumia tovuti hii bila kugeuka mbali kuki kwenye kivinjari, ina maana kwamba unakubali kwa kutumia hiyo.
Buy Now! Features Downloads

Kupata na sisi!

Kama ungependa kuanza kupata fedha kwa vBET kujiunga na Affiliate Program.
Matokeo 1 kwa 8 ya 8

Thread: Je, hii ni htaccess sahihi?

  1. #1
    Junior Member
    Join Date
    Oktoba 2010
    Posts
    29

    Default Je, hii ni htaccess sahihi?

    Sitemaps wangu wote inashindwa katika google webmaster kituo hicho. Nataka kuwa na uhakika mimi ni matumizi sahihi htaccess.? Mimi integtared vbet na vbseo na vbseo jenereta Sitemap katika maana wakati.

    # Maoni line yafuatayo (kuongeza '#' mwanzoni)
    # Disable kazi mod_rewrite.
    # Tafadhali kumbuka: bado wanahitaji Disable hack katika
    # Kudhibiti vBSEO jopo kuacha url rewrites.
    RewriteEngine On

    # Baadhi ya seva zinahitaji maelekezo Rewritebase kuwa
    # Kuwezeshwa (ondoa '#' katika mwanzo na kuamsha)
    # Tafadhali kumbuka: wakati kuwezeshwa, lazima ni pamoja na njia
    # Mizizi yako Vb folder (yaani RewriteBase / forums /)
    # RewriteBase /

    RewriteRule vbenterprisetranslator_seo.php vbet_lang? = $ 1 & itaelekezwa = [L, QSA]
    RewriteRule vbenterprisetranslator_seo.php vbet_lang? = $ 1 & itaelekezwa = / $ 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]

    # Utawala huu ni lazima katika kila directory ambayo kwa mkono (bila jukwaa directory yenyewe)
    # RewriteCond% {QUERY_STRING} vbet_outside! = Kweli
    # RewriteRule ^(.*)$ $ 1 vbet_outside? = Kweli [L, QSA]

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

    RewriteRule ^ ((urllist | sitemap_) .* \\ (xml |..? Txt) (\\ gz))? $ Vbseo_sitemap / vbseo_getsitemap.php Sitemap = $ 1 [L]

    RewriteCond% {REQUEST_URI} (admincp / | modcp / | cron | vbseo_sitemap)!
    RewriteRule ^ ((archive /)?(.* \\ Vbseo.php. (/.*)?))$ Php [L, QSA]

    RewriteCond% {REQUEST_FILENAME}-! F
    RewriteCond% {REQUEST_FILENAME}!-D
    RewriteCond% {REQUEST_FILENAME} /! (Admincp | modcp | clientscript | cpstyles | images) /
    Vbseo.php ^(.+)$ RewriteRule [L, QSA]
    Ilihaririwa mwisho na beaconsfield; 24-10-10 katika 09:49.

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

    Default

    Ni vibaya. Kama ni wazi alieleza sheria vBET kuwekwa tu kabla ya sheria na faili vbseo.php. Katika hali yako hao si. Sitemap utawala lazima kabla ya sheria vBET.

  3. #3
    Junior Member
    Join Date
    Oktoba 2010
    Posts
    29

    Default

    Unaweza tafadhali kupanga kwa ajili yangu?

  4. #4
    Junior Member
    Join Date
    Oktoba 2010
    Posts
    29

    Default

    Je, ni ok sasa?

    # Maoni line yafuatayo (kuongeza '#' mwanzoni)
    # Disable kazi mod_rewrite.
    # Tafadhali kumbuka: bado wanahitaji Disable hack katika
    # Kudhibiti vBSEO jopo kuacha url rewrites.
    RewriteEngine On

    # Baadhi ya seva zinahitaji maelekezo Rewritebase kuwa
    # Kuwezeshwa (ondoa '#' katika mwanzo na kuamsha)
    # Tafadhali kumbuka: wakati kuwezeshwa, lazima ni pamoja na njia
    # Mizizi yako Vb folder (yaani RewriteBase / forums /)
    # RewriteBase /

    RewriteRule ^ ((urllist | sitemap_) .* \\ (xml |..? Txt) (\\ gz))? $ Vbseo_sitemap / vbseo_getsitemap.php Sitemap = $ 1 [L]

    RewriteCond% {REQUEST_URI} (admincp / | modcp / | cron | vbseo_sitemap)!
    RewriteRule ^ ((archive /)?(.* \\ Vbseo.php. (/.*)?))$ Php [L, QSA]

    RewriteRule vbenterprisetranslator_seo.php vbet_lang? = $ 1 & itaelekezwa = [L, QSA]
    RewriteRule vbenterprisetranslator_seo.php vbet_lang? = $ 1 & itaelekezwa = / $ 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]

    # Utawala huu ni lazima katika kila directory ambayo kwa mkono (bila jukwaa directory yenyewe)
    # RewriteCond% {QUERY_STRING} vbet_outside! = Kweli
    # RewriteRule ^(.*)$ $ 1 vbet_outside? = Kweli [L, QSA]

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

    RewriteCond% {REQUEST_FILENAME}-! F
    RewriteCond% {REQUEST_FILENAME}!-D
    RewriteCond% {REQUEST_FILENAME} /! (Admincp | modcp | clientscript | cpstyles | images) /
    Vbseo.php ^(.+)$ RewriteRule [L, QSA]
    Ilihaririwa mwisho na beaconsfield; 24-10-10 katika 09:49.

  5. #5
    Junior Member
    Join Date
    Oktoba 2010
    Posts
    29

    Default

    msaada wowote itakuwa appriciated.

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

    Default

    Hapana kabisa. Moja zaidi wakati - sheria vBET lazima JUST Kabla kutawala kwa vbseo.php. Na una vBET sheria BAADA YA vbseo.php utawala ... Kama una maoni yoyote jinsi gani tunaweza kuelezea vizuri zaidi kwamba vBET sheria kuwa JUST KABLA sheria kwa vbseo.php file - tafadhali tueleze jinsi ya kufanya hivyo. JUST KABLA sheria kwa vbseo.php ina maana kwamba sheria ya vbseo.php ni sheria CHINI kwa vBET. Pia ina maana kwamba hakuna utawala wowote kati ya sheria kwa vBET na kwa vbseo.php

    Hii ni jinsi gani kuangalia faili yako:
    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 /
    
    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= [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]
    
    #This rule must be in each directory which have to be supported (without forum directory itself)
    #RewriteCond %{QUERY_STRING} !vbet_outside=true
    #RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]
    
    #RewriteCond %{HTTP_HOST} !^www\.diyetcenter\.com
    #RewriteRule (.*) http://www.diyetcenter.com/$1 [L,R=301]
    
    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]
    Tafadhali gani ni kazi sasa

  7. #7
    Junior Member
    Join Date
    Oktoba 2010
    Posts
    29

    Default

    Kama mimi alielewa maelezo yako mimi wangefanya hivyo. Thanks msaada wako.

    Ni kazi sasa.

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

    Default

    Nzuri - furahia vBET

Tags kwa Thread hii

Posting ruhusa

  • Wewe inaweza baada ya nyuzi mpya
  • Wewe inaweza post replies
  • Wewe inaweza post attachments
  • Wewe inaweza hariri posts yako
  •