You can redirect a page in two ways:
Option 1: Using Custom Code Block (Recommended)
- Go to Website > Pages
- Open your page editor
- Click Add Section from the sidebar
- Select “Custom Code” and click Add
- Click on the Custom Code Block
- In the Code field, add this redirect code:
<script>window.location.href = "https://www.example.com";</script> (replace with your URL)
- Click Save
Option 2: Using Code Editor (Pro Plan required)
- Go to Website > Pages
- Click … next to your page > Modify code
- Open Snippets > global_head.liquid
- Inside the
<head> tags, insert the following code:
<script>window.location.href = "https://www.example.com";</script> (replace with your URL)
- Click Save
Important: With a redirect in place, you won’t be able to customize your page normally in our editor until you remove the redirect code.