我正在尝试创建一个 wix 页面,它将所有链接到它的用户重定向到外部 URL。
我尝试将下面的代码添加为“html wix 应用程序”,但没有成功。
<meta http-equiv="refresh" content="0; URL=http://www.my-new-url.com">
最佳答案
我有一个类似的用例并使用 wix-location 模块解决了它:
import wixLocation from 'wix-location';
$w.onReady(function () {
wixLocation.to("http://www.my-new-url.com");
})
关于html - 将 Wix 网站页面重定向到外部 URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30698032/