สำคัญ: หน้านี้จะใช้คุกกี้ (cookies). การใช้เว็บไซต์นี้โดยไม่ต้องปิดคุกกี้ในเบราว์เซอร์หมายความว่าคุณยอมรับในการใช้มัน
Buy Now! คุณสมบัติ ดาวน์โหลด

สร้างรายได้กับเรา!

ถ้าคุณต้องการเริ่มต้นหาเงิน ด้วยการเข้าร่วมสนับสนุนการ โปรแกรมพันธมิตร
ผล 1 เพื่อให้ 4 จาก 4

กระทู้ : การแก้ไขปัญหา. htaccess

  1. #1
    สมาชิกจูเนียร์
    วันที่สมัคร
    มกราคม 2011
    โพสต์
    4

    Default การแก้ไขปัญหา. htaccess

    ผมใช้ VB กับภาษาไทย 3.8.6 3.5.1PL1 กับ vBET 3.3.6 ล่าสุด

    ฉันมีปัญหากับการเขียนใหม่ :

    Ham.se -- ทั้งหมดเกี่ยวกับวิทยุสมัครเล่น
    ข้างต้นทำงานอย่างถูกต้อง

    www.ham.se/en/
    ดังกล่าวข้างต้นจะให้"ไม่พบหน้า"ข้อผิดพลาด

    www.ham.se/en/hemmabyggen/
    ข้างต้นเป็นให้ฉันหน้าว่าง

    นี่คือ 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]
    ข้อเสนอแนะใด

  2. #2
    vBulletin องค์กรนักแปล (vBET) พนักงาน
    วันที่สมัคร
    พฤษภาคม 2010
    โพสต์
    1,000

    Default

    สวัสดี,

    ตกลงตอนแรก :
    1 ไปที่ admincp> vBET -> หลัก
    2 ตั้งค่า ประเภทการเชื่อมโยง เพื่อให้ VBSEO_URI

    . ประการที่สอง 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 ^((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]
    ที่ล่าสุด -- คุณทําการเปลี่ยนแปลงทั้งหมดใน vBSEO สองไฟล์ (การเปลี่ยนแปลงที่คุณได้อธิบายใน ReadMe.html ไฟล์ในโฟลเดอร์ที่อัปโหลดใน vBET แพ็ค?
    นี้อยู่ใน บูรณาการกับ mods อื่น ๆ ส่วน คุณควรแก้ไขไฟล์ vBSEO สองไฟล์:
    1 FORUM_ROOT / ภาษาไทย / includes / functions_vbseo_createurl.php
    2 FORUM_ROOT / ภาษาไทย / includes / functions_vbseo_url.php

  3. #3
    สมาชิกจูเนียร์
    วันที่สมัคร
    มกราคม 2011
    โพสต์
    4

    Default

    ขอบคุณ

    ดูเหมือนว่าทำ SEO ให้เขียนซ้ำที่ด้านล่างของตัวอย่างของคุณซ้ำกันดังนั้นฉันเอาพวกเขาออกไป

    การทำงานที่ดี -- ขอบคุณ!

    ไชโย

    นกนางแอ่น


    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 องค์กรนักแปล (vBET) พนักงาน
    วันที่สมัคร
    พฤษภาคม 2010
    โพสต์
    1,000

    Default

    ขอบคุณสำหรับการยืนยันของคุณ แก้

แท็กสำหรับกระทู้นี้

กฎการส่งข้อความ

  • คุณ อาจจะไม่ ตั้งกระทู้ใหม่
  • คุณ อาจจะไม่ ตอบกระทู้
  • คุณ อาจจะไม่ โพสต์สิ่งที่แนบมา
  • คุณ อาจจะไม่ แก้ไขข้อความของคุณ
  •