作者SmartBrain (象爆加油喔)
看板Web_Design
标题[询问] google site如何设定转址到新的网站
时间Tue Oct 9 13:42:28 2018
大家午安
请问大家原本用google site 做了一个网站
但後来自己重新架了一个网站在别的空间
请问如何在google site上直接做转址到新网站呢 感恩
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 125.227.4.20
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Web_Design/M.1539063751.A.ADF.html
1F:→ jhnny97: 用JavaScript的 10/09 15:35
2F:→ jhnny97: window.location = "https://网址"; 10/09 15:35
3F:→ jhnny97: window.location.href = "https://网址"; 10/09 15:35
4F:→ jhnny97: window.location.replace("https://网址"); 10/09 15:35
5F:→ jhnny97: 三个都行,只是要确定你的X-Frame-Options允许 10/09 15:35
6F:→ jhnny97: 阿,上述方法好像会卡在frame里,可以试试看window.open 10/09 15:39