SEO link Discuz X1 with Title - ทำลิงค์ดิสคัสรองรับภาษาไทย patch 20100723
แก้ไขครั้งสุดท้ายโดย banksanti เมื่อ 2010-12-3 12:13ขั้นตอนการ MOD
1. ดาวน์โหลดไฟล์นี้แล้วอัพโหลดทับไฟล์ตัวเก่าของตำแหน่งนี้ DISCUZ_ROOT\source\function\ ในโฮสต์ของคุณ(สำรองไฟล์ตัวเก่าก่อนอัพโหลดทับ)
2. เข้าระบบแอดมิน » ทั่วไป » การตั้งค่าที่เหมาะสม » ตั้งค่า SEO แล้วกรอกและกดเปิดใช้งานตามรูปภาพด้านล่างนี้
http://img137.imageshack.us/img137/6793/3122553114904.png
http://img249.imageshack.us/img249/6793/3122553114904.png{fid}-{page}/{forumname}.html{threadname}-{tid}-{page}-{prevpage}.html3. สร้างไฟล์ .htaccess ใน DISCUZ_ROOT โดยนำโค๊ดนี้ไปวาง(หากมีไฟล์นี้อยู่แล้ว ก็ให้สำรองไฟล์ตัวเก่าก่อนทุกครั้ง)
http://img600.imageshack.us/img600/6793/3122553114904.png
http://img413.imageshack.us/img413/725/3122553115558.png
4. เข้าไปยัง เครื่องมือ » อัพเดทแคช เพื่ออัพเดทแคชใหม่
ขอบคุณค่ะ เดี๋ยวรองทดสอบดูค่ะ ต้องลองดูสะหน่อย โหลดไม่ได้เลยครับ ขอไฟล์ใหม่หน่อยครับsm942dz sm900dz สุดยอดเลยพี่ในที่สุดผมก็ได้อิอิ หลังจากตัวเดิมต้องซื้อ
sm926dz ทำไมมันขึ้น
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. sm907dzงงเลยพออัพไฟล์function_core.php ขึ้นโฮสเว็บเข้าไม่ได้เลย
sm942dz งงเลยพี่แก้ยังไงครับ กับอีกอันครับ url ได้ไทยแต่มันขึ้นหน้าแบบนี้
Not Found
The requested URL /main/ภาพชุดงานเลี้ยงประชุมหà¸à¸à¸²à¸£à¸„้าà¹à¸«à¹ˆà¸‡à¸›à¸£à¸°à¹€à¸—ศไทยครับ-211-1-1.html was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server atURL.com Port 80
ของผม discuz อยู่ใน folder/main
ก็เอาไปวางใว้แล้วนะครับ
แก้.htaccess เป็น RewriteBase /main แล้ว
ก็ยังไม่ได้เลยครับ ช่วยตอบหน่อยครับ แก้ไขครั้งสุดท้ายโดย rokaisakkon เมื่อ 2011-3-12 04:26
แก้ไขครั้งสุดท้ายโดย rokaisakkon เมื่อ 2011-3-12 04:26
ผม เป็นเหมือนด้านบน เลยครับ มีวิธีแก้ไหม
# จะRewriteEngine เปิดรุ่น
RewriteEngine On
# แก้ไข ข้อความต่อไปนี้ /discuz ที่อยู่ในสารบบของเว็บบอร์ด, ถ้าโปรแกรมในไดเรกทอรีราก, กรุณา /discuz การปรับปรุง /
RewriteBase /
# Rewrite ไม่แก้ไขกติกาของระบบ
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^topic-(.+)\.html$ portal.php?mod=topic&topic=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^article-(+)-(+)\.html$ portal.php?mod=view&aid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(\w+)-(+)/{forumname}\.html$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^{threadname}-(+)-(+)-(+)\.html$ forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^group-(+)-(+)\.html$ forum.php?mod=group&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&$1=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(+)-(.+)\.html$ $1.php?rewrite=$2&%1
ผมคงทำไม่ผิด จะรองนำไปใช้ดูนะค่ะ
หน้า:
[1]