将 wix 网站重定向到新的外部网站 [英] Redirect a wix website to a new external website

查看:84
本文介绍了将 wix 网站重定向到新的外部网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚为一个协会创建了一个新网站,客户要求我将他们的旧 wixsite 网站重定向到新网站有没有人有办法做到这一点?非wix网站似乎更复杂

I just made a new website for an association and the client is asking me to redirect their old wixsite website to the new website Did anyone have a solution to do that? It's seems more complicated with non-wix site

(我完全不知道 wix 是如何工作的)希望有人能给我一些帮助:)

(I don't know at all how wix work) Hoping someone could give me some help :)

推荐答案

最新版本的 Wix 提供了一种新的方式来实现这一点:

The latest version of Wix has a new way of accomplishing this:

为您要重定向的路线创建一个页面.

Create a page for the route you want to redirect from.

类似于:

/zoom

然后转到该页面并打开 Dev Mode 并将以下内容粘贴到出现在页面底部的代码框中:

Then go to that page and turn on Dev Mode and paste the following into the code box that appears at the bottom of the page:

import wixLocation from 'wix-location';

$w.onReady(function () {
    // Redirect to our link
    wixLocation.to("EXTERNAL LINK HERE");
});

点击发布!

Wix 文档

这篇关于将 wix 网站重定向到新的外部网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆