Quan trọng: Trang này bằng cách sử dụng cookie (cookies). Sử dụng trang web này mà không tắt cookie trong trình duyệt, có nghĩa là bạn đồng ý để sử dụng nó.
Mua ngay! Các tính năng Tải

Kiếm được với chúng tôi!

Nếu bạn muốn bắt đầu kiếm tiền với vBET tham gia để Chương trình liên kết.
Kết quả 1 để 10 của 10

Chủ đề: phải được bao gồm trước khi tất cả các quy tắc để vbseo.php

Chế độ xem

Trước đăng bài Previous Post   Next Post Đăng bài tiếp theo
  1. #1
    Cấm
    Tham gia ngày
    Tháng 9 năm 2010
    Bài viết
    7

    Default

    Quote Nguyên văn bởi vBET View Post
    Hi,
    có lẽ hầu hết cho ví dụ là OK cho bạn. Hầu hết có lẽ, bởi vì tôi cần phải biết thực tế. Htaccess nội dung tập tin của bạn để cung cấp cho bạn cách chính xác nó phải chăm sóc thêm những quy tắc vBET.

    Nói một cách ngắn - bây giờ bạn có những quy định để tập tin vbseo.php trong tập tin htaccess của bạn. Và bạn phải thiết lập các quy tắc vBET trước khi rues vbseo.php tập tin - giống như trong ví dụ tập tin. Nếu bạn vẫn không biết phải làm gì, sau đó xin vui lòng chỉ cho chúng tôi đầy đủ nội dung tập tin htaccess của bạn và chúng tôi sẽ gửi cho bạn trở lại như thế nào cần xem xét sau khi thay đổi.
    cảm ơn bạn đã được giúp tôi

    tôi 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 /)
    #RewriteBase /
    
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteEngine On
    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    diễn đàn của tôi mà không cần bất kỳ thư mục
    Code:
    http://www.softsclub.com

  2. #2
    vBulletin Enterprise Translator (vBET) Nhân viên
    Tham gia ngày
    Tháng 5 năm 2010
    Bài viết
    1,000

    Default

    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 /)
    #RewriteBase /
    
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$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|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/index.php [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|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|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 %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteEngine On
    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    hãy thử này

Tags cho chủ đề này

Quyền viết bài

  • Bạn có thể không gửi chủ đề mới
  • Bạn có thể không gửi trả lời
  • Bạn có thể không gửi file đính kèm
  • Bạn có thể không chỉnh sửa bài viết của bạn
  •