Some times you may want a menu item that would take a visitor to an off site page - this can be useful for sites that direct people to a sign up or login page.
To have a menu item redirect to an off-site page, you will need to add a code snippet to an HTML widget on the site.
First, create a new page on your site and ensure the "Display in navigation" box is checked to place this new page in your menu.
In your new page, add an HTML Widget and add the follow code snippet to your page (replace 'WEBPAGE.COM' with the url you want the link to redirect to):
<script type='text/javascript'>if(!window.top.Yola){window.location='https://WEBPAGE.COM'};</script>
Save the page and then publish your site. Now, when someone clicks that link in your menu, the site will automatically redirect to your off-site webpage
Comments
0 comments
Please sign in to leave a comment.