How do I link menu link to another website

  • 2
  • Question
  • Updated 5 years ago
  • Answered
Hi,

I'd like to link one of my menu links to another website; also open in a separate tab. Can I do it and if so, how do I do that?
Photo of Mireille Pretorius

Mireille Pretorius

  • 22 Posts
  • 4 Reply Likes

Posted 5 years ago

  • 2
Photo of Stefan

Stefan, Official Rep

  • 4448 Posts
  • 190 Reply Likes
Official Response
It is possible to cause your menu link to redirect automatically to an external URL if you are prepared to use a bit of custom HTML.

Here's what you need to do:
  1. Create a new page with the name of the site you want to link to.

  2. Drag and drop a HTML Widget onto your page.

  3. Copy and paste the code below, into the HTML Editor:
    <script type='text/javascript'>if(!window.top.Yola){window.location='http://www.google.com'};</script>

  4. Change the URL, http://www.google.com in the code to the website to which you would like to redirect your page.

Please note: This code is used at your own risk, as it can result in your page not working correctly.