How can I target multiple pages in a URL Split Test?

Created by Donald Ng, Modified on Tue, 26 Aug at 10:49 AM by Donald Ng

Mida supports the use of wildcards (*) when setting up URL Split Tests. This allows you to run experiments across multiple pages that share the same URL structure.


⚠️ Important: The wildcard must match the part of the URL exactly. If the variation URL does not follow the same structure, the redirect will not work.


When to Use Wildcards

Wildcards are useful if you want to target entire sections of your site, such as:

  • All blog posts (/blog/*)

  • All product pages (/products/*)

  • All articles (/articles/*)


How to Set It Up

  1. In your Mida dashboard, go to Experiments > URL Split Test.

  2. Enter your Base URL with a wildcard:

    https://example.com/blog/*

    This will include all pages under /blog/.

  3. Add your Variation URLs with matching wildcard patterns. For example:

    Variation 1: https://example.com/blog/*-v2 Variation 2: https://example.com/article/*


Example

With the following setup:

Base URL: https://example.com/blog/* Variation 1: https://example.com/blog/*-v2 Variation 2: https://example.com/article/*
  • A visitor to https://example.com/blog/post-1
    will be redirected to https://example.com/blog/post-1-v2.

  • A visitor to https://example.com/blog/post-2
    will be redirected to https://example.com/article/post-2.

✅ Both work because the * matches the same segment of the URL.


Video Demo

? Watch how it works step by step:
https://www.youtube.com/watch?v=jPvU_7bUq2w


Notes & Tips

  • The wildcard must match consistently between the Base URL and Variation URLs.

  • Use * only in the parts of the URL you want to make flexible.

  • Make sure all variation URLs exist and load correctly.

  • Wildcards are especially helpful for dynamic URL structures (e.g., /blog/[slug]).


? Still need help? Contact us through the support widget or email us at support@mida.so.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article