> For the complete documentation index, see [llms.txt](https://docs.shoplift.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shoplift.ai/test/url-testing/troubleshooting-url-redirect-tests.md).

# Troubleshooting URL Redirect Tests

Running into issues with a URL redirect test? This guide covers the most common problems and how to fix them.

### Variant page shows a 404 error

If visitors assigned to the variant see a "Page not found" error, the destination page doesn't exist or isn't published on your store.

#### How to fix it

1. Pause the test.
2. In your Shopify admin, verify that the variant page exists and is published. Check the exact URL path — a typo in the URL is the most common cause.
3. Visit the variant URL directly in your browser to confirm it loads.
4. Resume the test once the page is accessible.

{% hint style="info" %}
Shoplift only handles the redirect. It doesn't create or manage pages on your store. The variant page must be published in Shopify for the duration of your test.
{% endhint %}

### My redirect isn't firing for some visitors

If the redirect works for some visitors but not others:

* **Check your targeting settings.** If you've set device targeting (mobile only or desktop only), visitor targeting (new or returning only), or audience targeting (UTM parameters, geo), visitors who don't match those criteria won't be redirected.
* **Check your traffic allocation.** If you're running a 50/50 split, only half your visitors will be redirected. The other half stay on the original page as the control group. This is expected behavior.

***

**Still need help?** [Contact Shoplift support](https://support.shoplift.ai/).


---

# 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://docs.shoplift.ai/test/url-testing/troubleshooting-url-redirect-tests.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.
