Loading..
  • 24/7 Support

    Call (347) XXX-XXXX

  • Best Support

    support@hostingrobotik.com

Script redirect 0 0

Posted BySale

1. การใช้ script แบบแสดงชื่อ URL ในช่อง Address แบบแท้จริง (แบบ Redirect)

ใช้กรณี redirect ไปอีก url ที่ต้องการ โดยช่อง address จะแสดงตามชื่อ url ปลายทางครับ

เช่นเรียกจาก www.hostingspicy.com จะ redirect ไปที่ www.hostingrobotik.com/support

และแสดงชื่แ ในช่อง address  เป็น www.hostingrobotik.com/support
<html>
<head>
<META HTTP-EQUIV=”Refresh” CONTENT=”0;URL=http://www.hostingrobotik.com/support”>
</head>
</html>

2. การใช้ script แบบแสดงชื่อ URL ในช่อง Address ตามชื่อโดเมนที่ใช้เรียก (แบบ Frame)

โดยเมื่อพิมพืชื่อโดเมนเข้ามา เช่น www.hostingspicy.com แล้วให้ redirect ไปที่ www.hostingrobotik.com/support และ แสดงชื่อโดเมนเป็น www.hostingspicy.com
<html>
<head>
<title>คือชื่อ title ครับ เราสามารถใส่ชื่อ ข้อมูลเว็บไซต์ลงไปได้ครับ</title>
</head>
<frameset cols=”www.hostingspicy.com”>
<frame src=”http://www.hostingrobotik.com/support”>
</frameset>
</html>

** The time is base on UTC timezone