> For the complete documentation index, see [llms.txt](https://staylime.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://staylime.com/docs/avante-themes/faq/theme-setup/failed-to-load-the-page-in-shopify-theme-editor-how-to-fix.md).

# "Failed to load the page" in Shopify Theme Editor — how to fix

The Shopify Theme Editor may show a "Failed to load the page" error with messages like "Page is redirecting to an unsupported URL" or "Page failed to load due to an error." This is not a theme bug — it's caused by the editor environment conflicting with certain browser or theme settings. Below are the three most common causes and how to fix each one.

<figure><img src="/files/0QXp6IRkqfMC5PAoYhq6" alt=""><figcaption></figcaption></figure>

***

### Cause 1: "Preload links on hover" setting

The most common cause. Avante includes a performance feature that preloads pages when you hover over links — this speeds up navigation for your customers. However, the Shopify Theme Editor loads your store inside an iframe, and the preload script can redirect the iframe to an unsupported URL, crashing the editor.

**Fix:**

{% stepper %}
{% step %}
Open your **Shopify Admin → Online Store → Themes**
{% endstep %}

{% step %}
Click **Edit theme** on your theme
{% endstep %}

{% step %}
If the editor loads — go to **Theme settings → Animation**
{% endstep %}

{% step %}
Uncheck **Preload links on hover**

<figure><img src="/files/BzcYch07NwiWH0JsBuC8" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Save**
{% endstep %}
{% endstepper %}

If the editor won't load at all, disable the setting via code:

{% stepper %}
{% step %}
Go to **Online Store → Themes → Actions → Edit code**

<figure><img src="/files/zQeBq4RqCJtgKoqKPiZT" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Open `config/settings_data.json`
{% endstep %}

{% step %}
Search for `"preload_links"` and change its value to `false`
{% endstep %}

{% step %}
Click **Save**
{% endstep %}
{% endstepper %}

The Theme Editor will work immediately after this change. You can keep the setting off permanently — it only affects hover-based preloading and has no visible impact on your store's speed or functionality.

{% hint style="success" icon="lightbulb" %}
**Note:** This issue was permanently fixed in Avante v13.0.1. If you update your theme to v13 or later, the setting works without conflicts.
{% endhint %}

***

### Cause 2: VPN or proxy connection

A VPN can interfere with how Shopify loads the Theme Editor preview. The editor connects to your store URL inside an iframe — if the VPN redirects, blocks, or alters that connection, Shopify treats it as an unsupported URL redirect and shows the error.

**Fix:**

{% stepper %}
{% step %}
Disable your VPN or proxy
{% endstep %}

{% step %}
Reload the Theme Editor
{% endstep %}

{% step %}
If the editor loads, your VPN was the cause
{% endstep %}
{% endstepper %}

If you need a VPN for work, try switching to a server in the same region as your Shopify store, or add `*.myshopify.com` and `*.shopify.com` to your VPN's bypass/split-tunneling list.

***

### Cause 3: Multiple people editing at the same time

Shopify's Theme Editor does not fully support concurrent editing. If two or more people (or browser tabs) have the same theme open in the editor simultaneously, it can cause loading conflicts and trigger this error.

**Fix:**

{% stepper %}
{% step %}
Make sure no one else is working in the Theme Editor on the same theme
{% endstep %}

{% step %}
Close any other browser tabs that have the editor open
{% endstep %}

{% step %}
Reload the editor
{% endstep %}
{% endstepper %}

{% hint style="success" icon="sparkles" %}
**Tip:** If you're working with a developer or agency, coordinate editing sessions so only one person has the editor open at a time.
{% endhint %}

***

### Still seeing the error?

If none of the above resolves the issue:

1. Try a different browser or incognito/private window
2. Clear your browser cache
3. Check if your theme version is outdated — see [How to update your Shopify theme](/docs/theme-management/how-to-update-your-shopify-theme.md)

If the problem persists, [contact our support team](https://staylime.zendesk.com/hc/en-us/requests/new) with your store URL and a screenshot of the error.

***

### Related

* [Troubleshooting guide](/docs/troubleshooting/troubleshooting-guide.md)
* [How to update your Shopify theme](/docs/theme-management/how-to-update-your-shopify-theme.md)
* [How to use the Shopify theme editor](/docs/theme-editor/how-to-use-the-shopify-theme-editor.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://staylime.com/docs/avante-themes/faq/theme-setup/failed-to-load-the-page-in-shopify-theme-editor-how-to-fix.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
