ขอบคุณครับ +1
ผมพยายามดัดแปลงให้ตรงกับเว็บผมตามลายเซ็นต์
hxxp://www.buathongdirect.com/ร้านค้าออนไลน์
เป็น
hxxp://www.ขายเตาแก๊ส.com/ร้านค้าออนไลน์
(hxxp://www.xn--12cb1d8b0b4bc4il5g.com/ร้านค้าออนไลน์)
ฟ้อง error ทุกครั้ง คงเพราะผมไม่เข้าใจคำสั่งที่จะระบุ path ที่หลากหลายของเว็บ มึนครับ
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 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
ถาม
1. คือเว็บมันมีหลาย Path แบบนี้ทุก Path ต้องระบุ Path คำสั่งนี้กำกับทุกกระเป๋าหรือครับ
RewriteRule ^doc/view/index.php$
http://newdomain.com/doc/view/index.php $1 [R=301,L]
RewriteRule ^doc/ร้านค้าออนไลน์$
http://www.xn--12cb1d8b0b4bc4i...9;ไลน์ $1 [R=301,L]
2. มีตัวแปรที่ใส่เฉพาะ ตัวแปรชื่อโดเมนใหม่ แล้วระบบเปลี่ยน Path ให้อัตโนมัติหรือเปล่าครับ
ปกติเค้าทำกันวิธีไหน