View Full Version : บูรณาการภาษาไทย
vBET สามารถรวมกับภาษาไทยเพื่อสนับสนุนการเชื่อมโยงการแปล SEO และนอกจากนี้ยังมีการแปลชื่อที่อยู่ภายในการเชื่อมโยงสำหรับหัวข้อ
สิ่งสำคัญ: ถ้าคุณใช้ vBET 4.x กับ vBSEO คุณจำเป็นต้องทำให้เต็มรูปแบบรวม - หมายความ ว่า ก่อนตั้งค่า.htaccess กฎ คุณต้องทำตามขั้นตอนทั้งหมดที่อธิบายไว้ในคำแนะนำในการติดตั้งใน vBSEO ส่วนรวม สำหรับ vBET 2.x ผู้ใช้เพียงทำส่วน.htaccess (2 ไฟล์เปลี่ยนแปลงที่จำเป็น)
เพื่อบูรณาการกับภาษาไทย vBET แก้ไขไฟล์ htaccess.
เพียงก่อนทั้งหมดกฎการ vbseo.php ที่ใส่เฉพาะเหล่านี้สองชนิดใดชนิดหนึ่งของกฎ:
-กฎสั้น
รวดเร็ว และมีประสิทธิภาพยิ่งแต่สามารถใช้เฉพาะในกรณีที่คุณไม่ได้ใช้การเชื่อมโยงกับ 2-สัญญาณส่วนอาทิ: yourforum.com/XY/
RewriteRule ^/?(..|zh-CN|zh-TW)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]
RewriteRule ^/?(..|zh-CN|zh-TW)/(.*)?$ 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]
ถ้าฟอรั่มของคุณใช้ไดเรกทอรีย่อยใน URL เปลี่ยนกฎการแรก 2 เพิ่มไดเรกทอรีเวทีกับนำ '/' หลัง จากเปลี่ยนเส้นทาง = ดังนั้นเช่นถ้าฟอรั่มของคุณอยู่ในไดเรกทอรีเวที แล้วคุณจะมี redirected=/forum/index.php และเปลี่ยนเส้นทาง = / สนทนา / $ 2
-กฎยาว
สามารถ โดยใช้เสมอ
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]
ถ้าฟอรั่มของคุณใช้ไดเรกทอรีย่อยใน URL เปลี่ยนกฎการแรก 2 เพิ่มไดเรกทอรีเวทีกับนำ '/' หลัง จากเปลี่ยนเส้นทาง = ดังนั้นเช่นถ้าฟอรั่มของคุณอยู่ในไดเรกทอรีเวที แล้วคุณจะมี redirected=/forum/index.php และเปลี่ยนเส้นทาง = / สนทนา / $ 2
badawidollah
26-03-10, 16:18
I dont เห็นกฎระเบียบที่ vbseo.php ของฉัน
badawidollah
26-03-10, 16:20
<? PHP
error_reporting (0);
include_once (. dirname (__FILE__)'/ ภาษาไทย / includes / functions_vbseo.php');
include_once (vBSEO_Storage : เส้นทาง ('vbinc')'/'VBSEO_VB_CONFIG..);
vbseo_requested_url ();
$ vbseo_fullurl = VBSEO_TOPREL $ vbseo_url_;
$ vbseo_url_suggest = '';
สวิทช์ ($ vbseo_url_)
{
กรณี'vbseo.php':
ออกจาก;
แบ่ง;
กรณี'vbseo_sitemap.php':
กรณี'vbseocp.php':
'cron.php'กรณี :
กรณี'cron.html':
รวม $ vbseo_url_;
ออกจาก;
แบ่ง;
}
/ / ภาษาไทย -- การเริ่มต้นเวอร์ชันเต็ม \\ ************************************--
(ถ้ามี VBSEO_IN_PINGBACK & & ($ vbseo_url_ =='ภาษาไทย - xmlrpc /'))
{
if (! กำหนด ('THIS_SCRIPT'))
@ define ('THIS_SCRIPT','newreply');
รวม dirname (__FILE__) '/ ทั่วโลก.' . VBSEO_VB_EXT;
vbseo_extra_inc ('คำสั่ง');
vbseo_xmlrpc_proc ();
ออกจาก;
}
(ถ้ามี VBSEO_REDIRECT_PRIV_EXTERNAL & & ($ vbseo_url_ == VBSEO_REDIRECT_URI))
{
$ uredir = $ _GET ['เปลี่ยน'];
/ / $ uredir urldecode = ($ uredir);
$ = preg_replace uredir ('#&(?![ - Z0 - 9 \\ #]+;)# ศรี','&', $ uredir);
$ = str_replace uredir ('"','"', $ uredir);
/ / $ = str_replace uredir ('','20%', $ uredir);
ถ้า (preg_match ('# ^ ที่ https : \\ / \\ / #'!, $ uredir) & & preg_match ('#["<>]#', $ uredir))
{
echo'<html> <head> <meta http-equiv="refresh" content="0;url=' $uredir '"> </ head> <body> </ body> </ html>..';
ออกจาก;
}
}
และอื่น ๆ
RewriteCond ไม่มี
I dont เห็นกฎระเบียบที่ vbseo.php ของฉัน
กฎระเบียบที่อยู่ใน. htaccess แฟ้ม การเรียนการสอนไม่ได้พูดเพื่อแก้ไข vbseo.php -- มันกล่าวว่าการแก้ไขไฟล์ haccess และใส่เนื้อหาเพิ่มเติมก่อนที่จะกฎความ vbseo.php. กรุณาไปที่ไฟล์ของคุณ htaccess และคุณจะพบกฎมี vbseo.php :.)
badawidollah
27-03-10, 06:48
httaccess. ของฉันในรากฟอรั่มของฉัน (ใน http://www.nusantaraku.org/forum/.httaccess
ฉันต้องทำตามด้านล่างนี้เกินไปหรือไม่
วันนี้ -- ถ้าคุณใช้ฟอรั่มย่อยใน URL แล้วเปลี่ยน 2 กฎแรกเพิ่มไดเรกทอรีฟอรั่มชั้นนำของคุณกับ'/'เพียงหลังจากที่เปลี่ยนเส้นทาง =. ดังนั้นเช่นถ้าฟอรั่มของคุณอยู่ในไดเรกทอรีฟอรั่มแล้วคุณจะมีการเปลี่ยนเส้นทางไป = ฟอรั่ม / / index.php และนำ = / ฟอรั่ม / $ 2
** โดยไม่ต้องเพิ่มที่ฟอรั่มของฉันสามารถแปลเกินไป (แต่หลายภาษาไม่สนับสนุน)
badawidollah
27-03-10, 08:01
กฎระเบียบที่อยู่ใน. htaccess แฟ้ม การเรียนการสอนไม่ได้พูดเพื่อแก้ไข vbseo.php -- มันกล่าวว่าการแก้ไขไฟล์ haccess และใส่เนื้อหาเพิ่มเติมก่อนที่จะกฎความ vbseo.php. กรุณาไปที่ไฟล์ของคุณ htaccess และคุณจะพบกฎมี vbseo.php :.)
มีกฎระเบียบสำหรับ vbseo.php?
ผมคิดว่าผู้ใช้ใหม่จำนวนมากคิดว่า vbseo.php เกี่ยวกับในราก forut ของพวกเขา
ดีกว่าที่คุณกล่าวว่ากฎระเบียบสำหรับการแจ้งปัญหาใน. htaccess
badawidollah
27-03-10, 11:21
RewriteEngine On
RewriteRule vbenterprisetranslator_seo.php? vbet_lang = $ 1 & เปลี่ยนเส้นทาง = / ฟอรั่ม / [L, QSA]
RewriteRule vbenterprisetranslator_seo.php? vbet_lang = $ 1 & เปลี่ยนเส้นทางไป = ฟอรั่ม / / $ 2 [L, QSA]
RewriteCond% {REQUEST_URI}! (admincp / | modcp / | vbseo_sitemap / | cron)
RewriteRule ^ ((เก็บ /)?(.* \\. PHP (/.*)?))$ vbenterprisetranslator_seo.php [L, QSA]
RewriteCond% {REQUEST_FILENAME}! - F
RewriteCond% {REQUEST_FILENAME}! - D
RewriteCond% {REQUEST_FILENAME} ^! (admincp | modcp | clientscript | cpstyles | ภาพ) /
$ RewriteRule vbenterprisetranslator_seo.php [L, QSA]
RewriteBase / ฟอรั่ม /
RewriteCond% {HTTP_HOST}! www ^ \\. nusantaraku \\. org
RewriteRule (.*) http://www.nusantaraku.org/forum/ $ 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 ^ ((เก็บ /)?(.* \\. PHP (/.*)?))$ vbseo.php [L, QSA]
RewriteCond% {REQUEST_FILENAME}! - F
RewriteCond% {REQUEST_FILENAME}! - D
RewriteCond% {REQUEST_FILENAME} / (a dmincp | modcp | clientscript | cpstyles | ภาพ) /
RewriteRule ^(.+)$ vbseo.php [L, QSA]
i am ใช้ภาษาไทย
และผมก็ใช้เครื่องกำเนิดไฟฟ้าแผนผังเว็ปไซต์ภาษาไทย 2.6
i am ใช้ภาษาไทย
และผมก็ใช้เครื่องกำเนิดไฟฟ้าแผนผังเว็ปไซต์ภาษาไทย 2.6
คำอธิบายของเราอย่างชัดเจนว่าจะกำหนดกฎ vBET เพียงก่อนที่กฎระเบียบในการ vbseo.php คุณใส่มันเร็วเกินไป กรุณาย้ายไป คุณต้องการความช่วยเหลือมากขึ้นในปัญหานี้หรือไม่ :)
ผมเขียนคำอธิบายเพิ่มเติมเกี่ยวกับเรื่องนี้ที่จะนำความสนใจมากขึ้นก่อนที่จะเป็นส่วนหนึ่ง;)
วิธีการบูรณาการการเรียนการสอนภาษาไทย Lighttpd + + คืออะไร? ของคุณ
วิธีการบูรณาการการเรียนการสอนภาษาไทย Lighttpd + + คืออะไร? ของคุณ
กรุณาส่งกฎ Lighttpd ปัจจุบันของคุณก็จะส่งคุณอัปเดต :)
ในการเริ่มต้นมันเป็นพื้นฐานของการเขียนซ้ำ lighttpd ภาษาไทยมีลักษณะเช่นนี้ :
$HTTP["host"] == "DOMENA" {
server.document-root = "SCIEZKA DO /HTML/"
url.rewrite-once = (
"^/(sitemap.*\.(xml|txt)(\.gz)?)$" => "/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1",
"^(/(admincp|modcp|clientscript|cpstyles|images|customavatars)/.*)$" => "$1",
"^(/favicon\.ico|/robots\.txt|.*clear\.gif)$" => "$1",
"^/(.+)\?(.*)$" => "/vbseo.php?$2",
"^/(.+)$" => "/vbseo.php"
)
}
ผมมองอรั่มนี้และขณะนี้ทั้งหมดที่เขียนใหม่มีลักษณะเช่นนี้
$HTTP["host"] == "SCIEZKA DO STRONY" {
server.document-root = "SCIEZKA DO /HTML/"
url.rewrite-once = (
"^/(sitemap.*\.(xml|txt)(\.gz)?)$" => "/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1",
"^/(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=",
"^/(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",
"^(/(admincp|modcp|clientscript|cpstyles|images|customavatars)/.*)$" => "$1",
"^(/favicon\.ico|/robots\.txt|.*clear\.gif)$" => "$1",
"^/(.+)\?(.*)$" => "/vbenterprisetranslator_seo.php?$2",
"^/(.+)$" => "/vbenterprisetranslator_seo.php"
)
}
ไม่ทำงานของหลักสูตร-แสดงหน้าเปล่าที่ดัชนีการทำงานเฉพาะฟอรั่มในอังกฤษเหลือเช่น krzaczy:) ขอบคุณล่วงหน้าสำหรับการสนับสนุนของคุณ ฉันทักทาย
ที่อยู่ที่ฟอรั่มของคุณคืออะไร? -- ฉันจำเป็นต้องทราบว่าฟอรั่มที่ใช้ในไดเรกทอรีย่อยที่อยู่และเป็นดังนั้นสิ่งที่
Hi,
โพสต์ผ่านทาง PM
ขอแสดงความนับถือ
ผมเห็นว่าที่หายไป'/'ที่ส่วนท้ายของกฎ ใช้นี้
$HTTP["host"] == "PATH TO FORUM" {
server.document-root = "PATH TO /HTML/"
url.rewrite-once = (
"^/(sitemap.*\.(xml|txt)(\.gz)?)$" => "/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1",
"^/(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=/",
"^/(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",
"^(/(admincp|modcp|clientscript|cpstyles|images|customavatars)/.*)$" => "$1",
"^(/favicon\.ico|/robots\.txt|.*clear\.gif)$" => "$1",
"^/(.+)\?(.*)$" => "/vbenterprisetranslator_seo.php?$2",
"^/(.+)$" => "/vbenterprisetranslator_seo.php"
)
}
แต่น่าเสียดายที่มี / ไม่มี -- ไม่ได้ทำงานในลักษณะเดียวกันมันจะทำงาน บางทีรหัสนี้ต้องนำหน้ากฎภาษาไทย?
แต่น่าเสียดายที่มี / ไม่มี -- ไม่ได้ทำงานในลักษณะเดียวกันมันจะทำงาน บางทีรหัสนี้ต้องนำหน้ากฎภาษาไทย?
กฎไม่ใช่ vBSEO ไม่ก่อนที่ พวกเขาได้เคยแปลจำเป็นต้องเปลี่ยนเส้นทางใต้กับ vBSEO ขอความ przyglądnę ความอดทนน้อยกฎและสิ่งที่เกิดขึ้นในแฟ้ม vbenterprisetransaltor_seo (บางทีก็เป็นเรื่องของ zminenych บาง)แก้ไข: ตอนนี้บอร์ดของคุณถูกปิดใช้งาน เพื่อฉันเต็มไม่เห็นมีอะไรเกิดขึ้น หน้า กับข้อความแปลถูกต้อง ตามที่อยู่ 2 ที่ส่งใน PM ผมไม่ถูกต้อง (แทนควร php ฟอรั่มการสนทนา /) -แก้ไขและนี้จะทำงานอย่างถูกต้อง โดยแปล คุณแน่ใจยังมีปัญหา หรือพฤษภาคม อย่างไร ตามกฎเหล่านี้ถูกต้องหรือไม่
สวัสดี, ฉันยังคงมีปัญหาข้อมูลบนแผ่นเสียง ของคุณ
สวัสดี, ฉันยังคงมีปัญหาข้อมูลบนแผ่นเสียง ของคุณ
จะมี
ฉันมีรุ่นฟรีเกี่ยวกับการทดสอบของฉันฟอรั่ม vb3.8 ปรับการทำงานและต้องการที่จะซื้อนี้สำหรับฟอรั่มหลัก VB4.02 ที่มีการติดตั้งภาษาไทย
หนึ่งในประเด็นที่ผมสังเกตเห็นคือคุณต้องส่งข้อความ aliaises ตั้งค่าให้เป็นว่างเปล่าในขณะที่ฉันมีอยู่ในปัจจุบันฟอรั่ม / index.php และฟอรั่ม / index.php? เป็น CMS ที่อยู่ในรากของโดเมนและฟอรั่มอยู่ในไดเรกทอรี www-example-com/forum
มันเป็นเรื่องง่ายมากที่จะกรูขึ้นภาษาไทยและมีปลั๊กอินลดลงกว่าทุกฟอรั่มดังนั้น ...
ที่ว่างเปล่า aliaises เป็นเพราะเหตุใด -- คุณใช้ภาษาไทยที่นี่และได้พอร์ทัลในราก -- สิ่งที่การตั้งค่าของคุณคืออะไร
ไชโย
Roy
คำแนะนำในการบูรณาการได้อย่างแม่นยำที่นี่เพื่อให้เราสามารถตรวจสอบก่อนดาวน์โหลดหรือไม่?
ฉันมีรุ่นฟรีเกี่ยวกับการทดสอบของฉันฟอรั่ม vb3.8 ปรับการทำงานและต้องการที่จะซื้อนี้สำหรับฟอรั่มหลัก VB4.02 ที่มีการติดตั้งภาษาไทย
หนึ่งในประเด็นที่ผมสังเกตเห็นคือคุณต้องส่งข้อความ aliaises ตั้งค่าให้เป็นว่างเปล่าในขณะที่ฉันมีอยู่ในปัจจุบันฟอรั่ม / index.php และฟอรั่ม / index.php? เป็น CMS ที่อยู่ในรากของโดเมนและฟอรั่มอยู่ในไดเรกทอรี www-example-com/forum
มันเป็นเรื่องง่ายมากที่จะกรูขึ้นภาษาไทยและมีปลั๊กอินลดลงกว่าทุกฟอรั่มดังนั้น ...
ที่ว่างเปล่า aliaises เป็นเพราะเหตุใด -- คุณใช้ภาษาไทยที่นี่และได้พอร์ทัลในราก -- สิ่งที่การตั้งค่าของคุณคืออะไร
ไชโย
Roy
คำแนะนำในการบูรณาการได้อย่างแม่นยำที่นี่เพื่อให้เราสามารถตรวจสอบก่อนดาวน์โหลดหรือไม่?
โปรดทราบว่านามแฝงเป็นหน้าแรกไม่จำเป็นต้องเป็นที่ว่างเปล่าอีกต่อไป -- มันเป็นตั้งแต่หลายรุ่นที่ผ่านมา :)
หากคุณยังเห็นข้อมูลดังกล่าวในสถานที่ฟอรั่มออกใด ๆ -- โปรดให้เราเชื่อมโยงและเราจะแก้ไขให้ถูกต้อง :)
alliais หน้าบ้านจะเป็นที่ว่างเปล่าอยู่ในคำแนะนำสำหรับการรวม VBSO แสดงบน vbulletin.org
นี้คือ version243 ผมคิดว่า -- เป็นคำสั่งนี้ไม่ถูกต้อง?
ไชโย
RoyMogg
ข้อความบน vb.org
ฉันมีการเชื่อมโยงการแปล SEO บนผมใช้ภาษาไทยและหน้าหลักไม่ได้แปล -- สิ่งที่เป็นผิดพลาดหรือไม่
ก่อนให้แน่ใจว่ากฎของคุณ htaccess จะ OK --. โดยเฉพาะอย่างยิ่งสำหรับฟอรั่มที่มีไดเรกทอรีย่อยใน URL
ประการที่สองไม่ได้ใช้ฟังก์ชันการทำงานที่กำหนดโฮมเพจแทนจากภาษาไทย (ตรวจสอบให้แน่ใจว่ามันเป็นที่ว่างเปล่า)
alliais หน้าบ้านจะเป็นที่ว่างเปล่าอยู่ในคำแนะนำสำหรับการรวม VBSO แสดงบน vbulletin.org
นี้คือ version243 ผมคิดว่า -- เป็นคำสั่งนี้ไม่ถูกต้อง?
ไชโย
RoyMogg
ข้อความบน vb.org
ฉันมีการเชื่อมโยงการแปล SEO บนผมใช้ภาษาไทยและหน้าหลักไม่ได้แปล -- สิ่งที่เป็นผิดพลาดหรือไม่
ก่อนให้แน่ใจว่ากฎของคุณ htaccess จะ OK --. โดยเฉพาะอย่างยิ่งสำหรับฟอรั่มที่มีไดเรกทอรีย่อยใน URL
ประการที่สองไม่ได้ใช้ฟังก์ชันการทำงานที่กำหนดโฮมเพจแทนจากภาษาไทย (ตรวจสอบให้แน่ใจว่ามันเป็นที่ว่างเปล่า)
ใช่ -- นี้ไม่ถูกต้องอีกต่อไป เราได้ทำการเปลี่ยนแปลงที่ช่วยให้มีนามแฝงบ้านในขณะนี้ ฉันจะมีตอนนี้เพื่อลบข้อมูลเก่า ขอบคุณสำหรับการชี้ให้เรา :)
และเกี่ยวกับการเชื่อมโยงภาษาไทยสำหรับบทความ CMS และบล็อกโพสต์?
จะมีอะไรที่เราต้องเปลี่ยนเพื่อให้นี้ไปได้หรือไม่
และเกี่ยวกับการเชื่อมโยงภาษาไทยสำหรับบทความ CMS และบล็อกโพสต์?
จะมีอะไรที่เราต้องเปลี่ยนเพื่อให้นี้ไปได้หรือไม่
เหล่านั้นจะถูกแปลโดย vBET -- โปรดดูคำแนะนำบูรณาการใน ReadMe.html ในแพคเกจ vBET :)
สวัสดี ฉันรู้ว่า คุณพูดเพื่อเพิ่มกฎ.htaccess ก่อนกฎ vbseo.php แต่สำหรับหลาย ๆ คน อาจสับสน เนื่องจากมีสองบรรทัด "vbseo.php"นี่คือต้นฉบับของ vBSEO .htaccess คุณสามารถระบุบรรทัดที่แน่นอนว่า เราเพิ่มกฎ.htaccess vBET?
1 RewriteEngine On
2 RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
3 RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
4 RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
5 RewriteCond %{REQUEST_FILENAME} !-f
6 RewriteCond %{REQUEST_FILENAME} !-d
7 RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
8 RewriteRule ^(.+)$ vbseo.php [L,QSA]
โปรดคนจึงสามารถลงตัวอย่างสมบูรณ์ของการ ".htaccess" ที่ทำงานด้วย vBET และ vBSEO?ผมเชื่อว่าจำนวนโพสต์ (และหน้า) หัวข้อนี้เป็นตัวอย่างs [] ราฟาเอล
สวัสดี ฉันรู้ว่า คุณพูดเพื่อเพิ่มกฎ.htaccess ก่อนกฎ vbseo.php แต่สำหรับหลาย ๆ คน อาจสับสน เนื่องจากมีสองบรรทัด "vbseo.php"นี่คือต้นฉบับของ vBSEO .htaccess คุณสามารถระบุบรรทัดที่แน่นอนว่า เราเพิ่มกฎ.htaccess vBET?
1 RewriteEngine On
2 RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
3 RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
4 RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
5 RewriteCond %{REQUEST_FILENAME} !-f
6 RewriteCond %{REQUEST_FILENAME} !-d
7 RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
8 RewriteRule ^(.+)$ vbseo.php [L,QSA]
จะอธิบายอย่างชัดเจนเพื่อเพิ่มกฎ vBET เพียงก่อนที่กฎทั้งหมดเพื่อ vbseo.php ดังนั้น'เพียงแค่ก่อนที่กฎทั้งหมดเพื่อ vbseo.php'หมายถึง -- ก่อนที่คนแรกซึ่งก็คือการ vbseo.php -- ไม่ก่อนหน้านี้ไม่ได้ในภายหลัง
เราไม่ได้ตระหนักว่ามันอาจจะสับสน วิธีที่คุณแนะนำให้เราควรจะอธิบายมันได้หรือไม่ -- เรายินดีจะนำข้อเสนอแนะวิธีการปรับปรุงคำอธิบายของเขาใด ๆ :)
โปรดคนจึงสามารถลงตัวอย่างสมบูรณ์ของการ ".htaccess" ที่ทำงานด้วย vBET และ vBSEO?ผมเชื่อว่าจำนวนโพสต์ (และหน้า) หัวข้อนี้เป็นตัวอย่างs [] ราฟาเอล
กรุณาให้ที่แท้จริงของคุณเนื้อหาและฟอรั่ม htaccess URL -- เราจะส่งคุณกลับมากับการเปลี่ยนแปลงกฎระเบียบที่เหมาะสม :.)
เว็บไซต์เป็น www [dot] มันเดลา [dot] องค์กรและ ".htaccess" ของฉันเป็น:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mandela\.org
RewriteRule ^(.*)$ http://www.mandela.org/$1 [R=permanent,L]
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^404\.shtml$ "http\:\/\/www\.mandela\.org" [R=301,L]
#RULES for SEO translation links without any SEO engine (on raw vBulletin links)
#If you are using vB 'Mod Rewrite Friendly URLs' then put those rules JUST BEFORE vB rules
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)/archive/index.php/(.*)?$ archive/index.php?/$2&language=$1 [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)/$ index.php?language=$1 [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)/(.*)?$ $2?language=$1 [QSA]
#vBulletin Standard Rules
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
# Forum
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA]
ReWriteRule ^entries/.* entry.php [QSA]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
# MVC
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
ฉันปิดการใช้งานกับภาษาไทย ฉันได้พยายามที่จะนำกฎระเบียบก่อนที่จะ vbseo.php ทั้งหมด แต่ผมมีผลดี
จะอธิบายอย่างชัดเจนเพื่อเพิ่มกฎ vBET เพียงก่อนที่กฎทั้งหมดเพื่อ vbseo.php ดังนั้น'เพียงแค่ก่อนที่กฎทั้งหมดเพื่อ vbseo.php'หมายถึง -- ก่อนที่คนแรกซึ่งก็คือการ vbseo.php -- ไม่ก่อนหน้านี้ไม่ได้ในภายหลัง
เราไม่ได้ตระหนักว่ามันอาจจะสับสน วิธีที่คุณแนะนำให้เราควรจะอธิบายมันได้หรือไม่ -- เรายินดีจะนำข้อเสนอแนะวิธีการปรับปรุงคำอธิบายของเขาใด ๆ :)
ตัวอย่างเช่นการอ่านคำแนะนำของคุณฉันจะใส่รายละเอียดของ htaccess ระหว่างบรรทัดที่ 3 และ 4 ถูกที่หรือไม่ ถ้าฉันพยายาม และไม่ได้ผลแล้ว: (
ที่นี่ htaccess. ของฉันในรากคือมีกระดานสนทนาในราก (เช่นฉันไม่ได้มีฟอรั่มในโฟลเดอร์หรืออะไรเขียนเป็นเพียงเพื่อให้) ให้แน่ใจว่ากฎยาวไม่หัก (EG ปิดได้ตัดคำใน Notepad)
RewriteEngine On
Options +FollowSymLinks
# Redirect coinforums.com
RewriteCond %{HTTP_HOST} ^(www\.)?uscoininfo\.com
RewriteRule (.*) http://www.coinforums.com/ [R=301,L]
# End Redirect from CoinForums.com
# Redirect to WWW
RewriteCond %{HTTP_HOST} ^coinforums.com [NC]
RewriteRule ^(.*)$ http://www.coinforums.com/$1 [L,R=301]
# End Redirect to WWW
# vbSEO Sitemap
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
# END
# vBET
# 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)/gallery/(.*)?$ /gallery/$2?language=$1 [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=/ [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]
# vBET End
# vBSEO Beg
#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 End
ที่นี่ htaccess. ของฉันในรากคือมีกระดานสนทนาในราก (เช่นฉันไม่ได้มีฟอรั่มในโฟลเดอร์หรืออะไรเขียนเป็นเพียงเพื่อให้) ให้แน่ใจว่ากฎยาวไม่หัก (EG ปิดได้ตัดคำใน Notepad)
ดูเหมือนว่าบางสิ่งบางอย่างที่ฉันสามารถลอง แต่สิ่งที่เป็นเส้นนี้หรือไม่?
RewriteRule ภาษา / แกลลอรี่ / $ 2 = $ 1 [L, QSA]
ผมไม่ได้มีโฟลเดอร์แกลเลอรี่ / ที่ราก
ตัวอย่างเช่นการอ่านคำแนะนำของคุณฉันจะใส่รายละเอียดของ htaccess ระหว่างบรรทัดที่ 3 และ 4 ถูกที่หรือไม่ ถ้าฉันพยายาม และไม่ได้ผลแล้ว: (
ผมจำได้ว่าเป็นปัญหาที่แก้ไขแล้วโดย PM -- ถูกต้องฉันหากฉันผิด :)
ดูเหมือนว่าบางสิ่งบางอย่างที่ฉันสามารถลอง แต่สิ่งที่เป็นเส้นนี้หรือไม่?
ผมไม่ได้มีโฟลเดอร์แกลเลอรี่ / ที่ราก
คือยังคงมีปัญหาใด ๆ เป็นผมจำได้ว่าเราได้แก้มันโดย PM แต่ต้องการที่จะแน่ใจว่าจะตกลง :)
ฉันมีปัญหาร้ายแรงที่นี่ กรุณาช่วย
ฉันคิดว่ามันอาจมีบางสิ่งที่ต้องทำกับฉัน. htaccess บูรณาการ นี่ฉันเป็นคือมันถูกต้องหรือไม่ฉันทำอะไรผิด?
# 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} !^windows8theme\.org$
RewriteRule ^(.*)$ http://windows8theme.org/$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/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
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=/forum/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|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$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]
RewriteRule ^(.+)$ vbseo.php [L,QSA]
# MONTH
<FilesMatch "\.(flv|gif|jpg|jpeg|png|ico|swf)$">
Header set Cache-Control "max-age=2592000"
</FilesMatch>
# WEEK
<FilesMatch "\.(js|css|pdf|txt)$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
# DAY
<FilesMatch "\.(html|htm)$">
Header set Cache-Control "max-age=43200"
</FilesMatch>
มันเป็นความผิด กรุณาใส่กฎ vBET ก่อนที่จะกฎ vbseo.php ยังคงหลังกฎสร้าง Sitemap ดังนั้นในคำอื่น ๆ ระหว่างกฎระเบียบสำหรับการสร้าง Sitemap (ที่จุดเริ่มต้น) และ vbseo.php (ณ สิ้น)
ฉันมีปัญหาร้ายแรงที่นี่ กรุณาช่วย
ฉันคิดว่ามันอาจมีบางสิ่งที่ต้องทำกับฉัน. htaccess บูรณาการ นี่ฉันเป็นคือมันถูกต้องหรือไม่ฉันทำอะไรผิด?
# 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} !^windows8theme\.org$
RewriteRule ^(.*)$ http://windows8theme.org/$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/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
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=/forum/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|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$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]
RewriteRule ^(.+)$ vbseo.php [L,QSA]
# MONTH
<FilesMatch "\.(flv|gif|jpg|jpeg|png|ico|swf)$">
Header set Cache-Control "max-age=2592000"
</FilesMatch>
# WEEK
<FilesMatch "\.(js|css|pdf|txt)$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
# DAY
<FilesMatch "\.(html|htm)$">
Header set Cache-Control "max-age=43200"
</FilesMatch>
Hey guys
ฉันกำลังมีปัญหากับตัวแปล ฉันได้ติดตั้งไว้ และฉันได้ใส่กฎตรวจแก้ใน htaccess ของฉัน แต่ฉันได้รับข้อผิดพลาด 404 เมื่อลองแวะไปที่ url แปลแล้ว เวทีของฉันอยู่ในไดเรกทอรีย่อยที่ถูก 'งาน' Guys คุณสามารถช่วยได้อย่างไร นี่คือฉัน htaccess
# 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
RewriteRule ^[^/]+-f([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=forumdisplay.php&f=$1&page=$3 [L]
RewriteRule ^[^/]+-t([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=showthread.php&t=$1&page=$3 [L]
RewriteRule ^[^/]+-f([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=forumdisplay.php&f=$1&page=$3 [L]
RewriteRule ^[^/]+-t([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=showthread.php&t=$1&page=$3 [L]
# 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=/jobs/ [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=/jobs/$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 %{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]
php_flag magic_quotes_sybase 0
php_flag suhosin.cookie.encrypt Off
php_value suhosin.request.max_vars 2048
php_value suhosin.post.max_vars 2048
<Files 403.shtml>
order allow,deny
allow from all
</Files>
deny from 41.
deny from 190.58.246.214
deny from 196.29.219.35
deny from 81.18.42.117
Hey guys
มีปัญหาในการสนับสนุนการทำงานบน mymodeltalk.com เว็บไซต์ของฉัน ฉันเพิ่มทุกสิ่งทุกอย่างไปยังแฟ้ม htcaccess คุณเห็นด้านล่าง แต่เมื่อฉันคลิกบนแปลที่ ฉันได้รับข้อผิดพลาด 404 เรามีเวทีของเราในงานไดเรกทอรีย่อย ความคิดใดของสิ่งที่ฉันควรทำอย่างไร
# 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
RewriteRule ^[^/]+-f([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=forumdisplay.php&f=$1&page=$3 [L]
RewriteRule ^[^/]+-t([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=showthread.php&t=$1&page=$3 [L]
RewriteRule ^[^/]+-f([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=forumdisplay.php&f=$1&page=$3 [L]
RewriteRule ^[^/]+-t([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=showthread.php&t=$1&page=$3 [L]
# 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=/jobs/ [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=/jobs/$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 %{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]
php_flag magic_quotes_sybase 0
php_flag suhosin.cookie.encrypt Off
php_value suhosin.request.max_vars 2048
php_value suhosin.post.max_vars 2048
<Files 403.shtml>
order allow,deny
allow from all
</Files>
deny from 41.
deny from 190.58.246.214
deny from 196.29.219.35
deny from 81.18.42.117
Marcin Kalak
27-08-12, 14:27
ใส่ไป htaccess:
# 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 /
RewriteEngine On
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=/jobs/ [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=/jobs/$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]
RewriteRule ^[^/]+-f([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=forumdisplay.php&f=$1&page=$3 [L]
RewriteRule ^[^/]+-t([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=showthread.php&t=$1&page=$3 [L]
RewriteRule ^[^/]+-f([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=forumdisplay.php&f=$1&page=$3 [L]
RewriteRule ^[^/]+-t([0-9]+)(p([0-9]+))?.html$ vbseo.php?vbseourl=showthread.php&t=$1&page=$3 [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]
php_flag magic_quotes_sybase 0
php_flag suhosin.cookie.encrypt Off
php_value suhosin.request.max_vars 2048
php_value suhosin.post.max_vars 2048
<Files 403.shtml>
order allow,deny
allow from all
</Files>
deny from 41.
deny from 190.58.246.214
deny from 196.29.219.35
deny from 81.18.42.117
โพสต์ควรจะแปลดี และเชื่อมโยงควรทำงาน แต่อาจไม่มีแปลการเชื่อมโยง จากนั้น คุณอาจต้องพิจารณาปรับปรุง และทำ vBSEO รวมเต็มรูปแบบของภาษา
สวัสดี มี ฉันไม่เข้าใจสิ่งที่คุณจะพูดว่า อย่างไร ทำคุณหมายถึงอะไร โดยการ intergration VBSEO เต็มรูปแบบกับ VBET
ทำไมไม่ทำตอนนี้หรือไม่ บางสิ่งบางอย่างไม่ได้กำหนดค่าอย่างถูกต้องหรือไม่ ฉันทำตามคำแนะนำการติดตั้ง
โพสต์ควรจะแปลดี และเชื่อมโยงควรทำงาน แต่อาจไม่มีแปลการเชื่อมโยง จากนั้น คุณอาจต้องพิจารณาปรับปรุง และทำ vBSEO รวมเต็มรูปแบบของภาษา
Marcin Kalak
29-08-12, 11:08
ถ้าทำงาน.htaccess นี้ไม่ ขอแนะนำคุณปรับรุ่นเป็นรุ่นล่าสุดของ vBSEO และดำเนินการเต็มรูปแบบโครงอีก ซึ่งอยู่ใน vBET/do-not-upload/readme.html
marcostutu
27-09-14, 08:49
โคโม faço พารา usar com o vBSEO com o Nginx
Marcin Kalak
04-10-14, 19:15
เอ้อทำงานร่วมกับ nginx และ vBSEO ตัวอย่างของกฎที่คุณสามารถค้นหาในแฟ้ม:
do-not-upload/tools/redirecting-rules/nginx.txt
ฉันไม่สามารถทำตามขั้นตอนของการย่อ URL ของ .htaccess ของฉันเช่นนี้:
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 %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule $ vbenterprisetranslator_seo.php [L,QSA]
RewriteCond %{HTTP_HOST} !^www\.mysite\.com
RewriteRule (.*) http://www.mysite.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|api\.php)
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]
ถ้าผมติดกับ กฎลองทำมันทำงาน แต่อยากทำงานที่ในทางดีที่สุดที่ มีตัวอักษรสอง www.mysite/XY/forum.phpVocês สามารถปรับเปลี่ยนการแก้ไขโปรด
Marcin Kalak
25-05-15, 09:08
ถ้าคุณไม่ได้ใช้เชื่อมโยงกับ 2 สัญญาณส่วนหนึ่งอาทิ: yourforum.com/XY/ แล้วลองนี้:
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 ^/?(..|zh-CN|zh-TW)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]
RewriteRule ^/?(..|zh-CN|zh-TW)/(.*)?$ 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 %{HTTP_HOST} !^www\.mysite\.com
RewriteRule (.*) http://www.mysite.com/$1 [L,R=301]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
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]
ขอบคุณ Marcin ตอนนี้ทำงานนี้ htaccessSugestão: รวมการ. htaccess พร้อมใน "อื่นๆ" ภายในไปรษณีย์ นี้จะช่วยได้มาก ขอบคุณ
Marcin Kalak
26-05-15, 11:57
ฉันดีใจที่ฉันสามารถช่วยคุณ เราได้ใส่คำแนะนำและตัวอย่าง ในการแฟ้ม do-not-upload/tools/redirecting-rules/.htaccess และ do-not-upload/tools/redirecting-rules/short-redirecting-rules/.htaccess
Marcin ฉันรู้ขณะที่บางภาษามีการเปลี่ยนเส้นทางไม่ ทำการเปลี่ยนเส้นทางการเชื่อมโยง แต่เมื่อคุณคลิ กการเชื่อมโยงไปที่บ้าน สิ่งที่สามารถ Htaccess ของฉันเป็นเช่นโพสต์ล่าสุด:
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 ^/?(..|zh-CN|zh-TW)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]
RewriteRule ^/?(..|zh-CN|zh-TW)/(.*)?$ 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 %{HTTP_HOST} !^www\.mysite\.com
RewriteRule (.*) http://www.mysite.com/$1 [L,R=301]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
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]
ตัวอย่าง: http://www.xxxxxxx.com/iw/coroas-e-mulheres/2323/%D7%99%D7%9C%D7%93%D7%94-%D7%A9%D7%95%D7%91%D7%91%D7%94-%D7%90%D7%91%D7%9C-%D7%90%D7%91%D7%90-%D7%9C%D7%A2%D7%96%D7%90%D7%96%D7%9C.html
Marcin Kalak
24-06-15, 08:20
โปรดส่งรายละเอียดการเข้าใช้ของผู้ดูแลระบบในการทุ่มให้ vBSEO CP CP และ FTP ฉันจะทำการตรวจสอบสิ่งที่เกิดขึ้นไม่มี : )
Marcin Kalak
25-06-15, 08:40
คุณต้องตั้งค่าตัวเลือกที่ AdminCP -> vBSEO -> Control Panel -> ตั้งค่าทั่วไป -> การเปลี่ยนตัวอักษร -> แทนที่ตัวอักษรที่ไม่ใช่ภาษาอังกฤษใน URL หรือไม่ ? เพื่อทำให้ตัวอักษรที่ไม่ใช่ภาษาอังกฤษใน URL
ฉันมีปัญหากับชื่อฟอรั่มแปล และอักขระใน url
1.เห็นว่าเวทีนี้มีปัญหาเดียวกันนี้สามารถแก้ไขได้
Oferta sprzedaży domeny xxxx.pl (xxxx) (http://www.xxxx.pl/en/poczatkujacy/)
ต้อง:
Oferta sprzedaży domeny xxxx.pl (xxxx) (http://www.xxxx.pl/en/begginer/)
2.
เมื่อเข้าสู่ระบบ อักขระที่ไม่ใช่ภาษาอังกฤษทำงานละเอียด และขัดคำจะแทนตัวอย่าง: ą -> นี้
แต่ท่านมีคำลบโปแลนด์เอ้อมีการเชื่อมโยงที่ไม่ถูกต้อง
การแก้ปัญหานี้ได้อย่างไร
หลังจากเข้าสู่ระบบ:
Oferta sprzedaży domeny xxxx.pl (xxxx) (http://www.xxxx.pl/filtry-czastek-stalych/)
ผู้เข้าพัก:
http://www.carcode.pl/filtry-cz-stek-sta-ych/
Marcin Kalak
09-04-16, 07:24
1. แปลชื่อฟอรั่มได้
2. ลองล้างรายการโฟลเดอร์ vbet_guestcache/en /
Automatic Translations (Powered by Google, Microsoft®,
Yandex, SDL Language Cloud, IBM Watson and Apertium):
Powered by vBulletin® Version 4.2.5 Copyright © 2026 vBulletin Solutions Inc. All rights reserved.