กรุณาปิด โปรแกรมบล๊อกโฆษณา เพราะเราอยู่ได้ด้วยโฆษณาที่ท่านเห็น
Please close the adblock program. Because we can live with the ads you see


การตั้งค่าให้ url เป็นแบบ static (mod_rewrite)

วิธีการทํา การตั้งค่าให้ url เป็นแบบ static (mod_rewrite)

  • ผู้เริ่มหัวข้อ ผู้เริ่มหัวข้อ thxf.org 
  • วันที่เริ่มต้น วันที่เริ่มต้น
  • แท็ก แท็ก
    friendly url seo

thxf.org 

Administrator
สมาชิกทีมงาน
Admin
เจ้าของกระทู้
static url คือ url แบบไม่มี ? = .php ประมาณนี้ หรือพูดง่านๆ ทำให้มัน เป็น friendly url (SEO) นั้นเอง

If you enable this option, the links generated by the system will not include "index.php?". However, to enable this, mod_rewrite must be available and an appropriate .htaccess file (or the equivalent for your web server) must be in place.

ทำตามภาพเลยครับ (มีสองที่แต่ทำที่ไหนก็ได้ครับ)

2020-02-09_18-30-11.png


2020-02-09_18-19-33.png


อย่าลืมใส่ไฟล์ .htaccess ไว้ที่ root folder (public_html) ด้วยนะครับ

2020-02-10_18-41-37.webp


หลังจากนั้น url จะกลายเป็นแบบ ของ thxf.org เลยครับ

...
 

ไฟล์แนบ

  • 2020-02-09_18-19-33.webp
    2020-02-09_18-19-33.webp
    15.5 กิโลไบต์ · จำนวนการดู: 228
  • 2020-02-09_18-30-11.webp
    2020-02-09_18-30-11.webp
    27.1 กิโลไบต์ · จำนวนการดู: 250
  • 2020-02-10_18-41-37.webp
    2020-02-10_18-41-37.webp
    53.2 กิโลไบต์ · จำนวนการดู: 259
แก้ไขล่าสุด:
วิธีการทํา  Redirect IPS 4.x URLs to XenForo 2.x
วิธีการทํา  Mobile logo header



กรุณาปิด โปรแกรมบล๊อกโฆษณา เพราะเราอยู่ได้ด้วยโฆษณาที่ท่านเห็น
Please close the adblock program. Because we can live with the ads you see
กลับ
ยอดนิยม ด้านล่าง