Articles on: Site editing
This article is also available in:

Automatic page redirect to an external resource

In some cases you may need to automatically redirect your site visitors from a particular site page to an external resource. This comes in handy when you are using functionality not yet available on Weblium — for example, login and personal profiles, also if you'd like to direct visitors to a particular resource without the need to click a link.

Follow the instructions below to enable the automatic page redirect to an external source.

Important: This option is available for Pro sites only.

Page redirect to an external resource



First, open the page from where you want to set an automatic redirect, and hide all the blocks there. The redirect doesn't occur immediately, so the content of the original page might be displayed for a couple of seconds. By using a blank page, you will be able to avoid unnecessary glitches.

The Hiding a block on a page article will guide you through this process.

Then, open the block gallery, select the Embed Code tab and place the block on the page:



Hover over the block and click on the "gear" to access its settings:



In the new window, enter the following code in the Code Snippet / HTML tab:

<meta http-equiv="refresh" content="0;URL=https://google.com"/>


After URL= tag in the code, place a link to an external source where you want to redirect visitors. In this example, visitors will be redirected to a Google page.

Tip: You can set a delay before the redirect happens by changing the number that follows the content. For instance, 0 is redirect without delay, while 5 will set a 5-second delay.

Click Save:



Publish your site for the changes to take effect.

Updated on: 12/05/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!