• Resolved Amit Singh

    (@amitsksingh)


    Dear Support,

    I am using free version of plugin and I want to test to show different version of page but want to keep the URL same. For example I have page Test Page one and Test Page two. Both pages are different content but I want URL to be same? Is it possible if yes then please let know how?

    Best Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author David Aguilera

    (@davilera)

    There are essentially two types of page tests you can run:

    1. Regular Page Test

    This is the standard approach, where the alternative version is created directly through our plugin. In this setup, the alternative content isn’t published as a separate page. Instead, it shares the original page URL (for example, https://example.com/some-page/) and is only shown when:

    • The test is active, and
    • A visitor is randomly assigned to that variant.

    Since the same URL can now serve different versions of the page, we need a way to identify which version a visitor should see. That’s why you’ll notice the nab query parameter being used (for example, https://example.com/some-page/?nab=x, where x identifies the assigned variant).

    2. Existing Pages Test

    This method compares two pages that already exist on your site. It’s often used as a fallback when the regular page test isn’t suitable for a particular setup.

    With this approach, you first create and publish the alternative page, which means it has its own URL separate from the original page. The test then compares those two URLs.

    When a visitor lands on either page, our plugin checks whether they’re viewing the variant they’ve been assigned to. If not, it automatically sends them to the correct version.

    Which option should you use?

    If your goal is to have both variants share the same URL, in general I’d recommend using the Regular Page Test (option 1).

    With an Existing Pages Test, each variant has its own URL by design. However, there’s a setting when creating the test that can make the experience look more seamless: URL rewriting. When enabled, the visitor may be redirected from the original page to the variant… but the browser then rewrites the URL to continue showing the original one.

    For example:

    1. The visitor lands on https://example.com/variant-a/
    2. Our plugin determines they should see Variant B
    3. We redirect them via JavaScript to https://example.com/variant-b/
    4. The browser changes the URL (without a redirection) back to https://example.com/variant-a/

    So from the visitor’s perspective, it appears they’re still on the original page, even though they’re actually viewing the alternative version.

    Thread Starter Amit Singh

    (@amitsksingh)

    @davilera Thanks alot for quick response. In approach One how can I create alternative page?

    In approach Two where can I find URL rewriting option?

    I am using free version.

    Best Regards,

    Amit

    Plugin Author David Aguilera

    (@davilera)

    They’re both “Page tests.” Just create a new page test and you’ll see there’s the following unchecked checkbox:

    ⬜️ Test against an already existing page

    If you keep it unchecked, you’ll be using method 1. Just select the page you want to test and then click on Edit in variant B (which will start as an exact copy of the page you selected in variant A) to tweak it.

    If you enable that checkbox, you’ll be using method 2 (and a second checkbox will show up):

    ✅ Test against an already existing page
    ⬜️ Use control URL in variants

    That’s what you gotta enable if you want to use the same URL in both pages.

    Thread Starter Amit Singh

    (@amitsksingh)

    @davilera So if use second option I need to check this option as well “Use control URL in variants”?

    Regards

    Plugin Author David Aguilera

    (@davilera)

    Yes.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.