Are you looking for a way to set redirect from Menu in Webnode to a different website (by clicking on the menu item) ?
Let’s do it! 🙂
1. Create a New Page in Menu.
2. Edit the code below as follows:
You can adjust the value of line 2: “Url-address”. [Instead of “Url-adress”, enter the URL identifier (the pages which redirects) (you can view it in the SEO settings of that page)].
*Example: You have a website and you want to add a link to an e-shop you have on another url address. First you create a new page, for example, Eshop, (the url identifier of this page will be “eshop”). Instead of “url-address” in the code, you use the URL of the page identifier that redirects, “/eshop/”.
On line 2, you also specify the URL to which the item should redirect to, for example: https://www.wpromotions.eu
3. Enter the code below on all “Pages” to “SEO Settings” – “HTML footer“.
Pre-prepared code is:
document.querySelector("#menu a[href='/url-address/']").href = "https://www.wpromotions.eu/";
5. Publish changes a you are done! 🙂
TIP #1: If you want to redirect a visitor to an unsecured site address, “http://mywebsite.com”, this address will need to be hidden under a secure link. Use https://goo.gl/ or https://bitly.com/. And use the link in the form https://goo.gl/cHE54Q in the code above.
TIP #2: You can also redirect your site’s visitor automatically when you open one of the pages. You can read more about automatic redirection here: How to easily set an automatic redirection on your Webnode website?
More awesome tutorials
How to hide shopping cart in Webnode E-shop?You have created an e-shop at Webnode and would like to hide (remove) the shopping cart in the menu and also the "Add to Cart" button so that you can use e-shop features such as. adding products, but you don't want to use...
How to set up remarketing on Webnode? and Where should you insert the remarketing code? In tutorial How to add a conversion code in Webnode? I've shown you an easy way to insert your conversion tracking conversion code. Let's now take a look at another PPC...
Do you want to add a poll on a Webnode website? The free online questionnaire (web survey/poll) is one of the most common ways to get feedback from your website visitors. Without feedback, it is difficult to say whether you are acting correctly on your customers and...
Would you like to embed a GIF image on a Webnode site? Webnode editor does not allow .gif format when you embed them as an image. For this reason, you must first upload the desired .GIF image to an external service to get the image URL. Paste the URL into the code and...
Are u looking for a simple email marketing solution in Webnode? Do you want to put a pop-up on your website to collect emails from your visitors? Send news to your customers through the automated MailChimp system. It's free for up to 2,000 subscribers and 12,000...
Do you want to link Facebook messenger to a Webnode website and get online chat for free? Simple tutorial - Webnode with Facebook Messenger Facebook Messenger is a great choice for communicating with your website visitors. You can connect FB messenger with Webnode...
Have you ever wanted to create your own website from scratch? Do you want to create a website or e-shop and make it visible on the Internet? Get started right now and learn how to easily create your first custom website. Creating a website with...
Do you want to connect your email with Webnode with Gmail.com and set up Gmail as a mail client? Send&Receive messages from Webnode to Gmail. In tutorial How To Create A Professional Email Signature? Simply and FREE i show you very nice way how to...
Do you want to understand your client's behavior on your website? SmartLook will definitely help you. What is "Smartlook"? Smartlook is an online application for recording the mouse movement of visitors on your website or eshop, helping you to discover...
Do you want to add a map with your own points in Webnode? Create free own map with Google My Maps. In How To Set Up Google Map Properly in Webnode? I showed you how to insert a map from a classic Google My Maps service. In this tutorial, I will show you...
Create your own search box using Google Custom Search Engine Find out how to do this in the following steps: Google search is a great choice if you need to search the web, for example, in Webnode. The only "bad thing" is that Google also displays the ads...
Do you need an powerful online booking reservation system? Works perfectly with Webnode.Whatever you do, Reservio is a great choice for organizing your time! 🙂 And what does the Reservio online booking system offer to you? a clear calendar where you can find...
Sharing is caring 🙂 Please share this awesome tutorial
Latest posts by Viliam (see all)
- How to hide shopping cart in Webnode E-shop? - 14.10.2019
- How to Add remarketing (retargeting) code in Webnode? - 20.8.2019
- How to add a poll in Webnode? - 16.8.2019