Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author David Wells

    (@davidwells)

    Change your permalink settings to /%postname%/

    Thread Starter mwilkerson

    (@mwilkerson)

    First thanks for the quick response.

    When I do that I get a 404

    https://{machinename}/go/ab-testing-landing-page-example/?lp-variation-id=0
    HTTP Error 404.0 – Not Found

    I found another post, unrelated to landing pages, it was about permalinks, which suggested, first stop using window go to linux :-), second that the web.config needed to be updated.

    so… after I added the following (see bottom of post) to my web.config and restarted IIS the counts started working, tada! But the landing pages don’t oscillate, I get the same landing page every time. I tried clearing the cookies thinking it was something in the browser but I now think it has something with WP/IIS not routing the requests correctly.

    Any ideas?

    Thanks again

    <system.webServer>
    <rewrite>
    <rules>
    <rule name=”Main Rule” stopProcessing=”true”>
    <match url=”.*” />
    <conditions logicalGrouping=”MatchAll”>
    <add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
    <add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
    </conditions>
    <action type=”Rewrite” url=”index.php/{R:0}” />
    </rule>
    </rules>
    </rewrite>
    <defaultDocument>
    <files>
    <clear/>
    <add value=”index.php”/>
    </files>
    </defaultDocument>
    <httpErrors errorMode=”Detailed” />
    </system.webServer>

    Plugin Author David Wells

    (@davidwells)

    Thread Starter mwilkerson

    (@mwilkerson)

    I had tried multiple time visiting “flushing” the permalinks by visiting the page, I had figured that trick earlier, why no effect.

    But I left for a few hours, had to pick the kid up from preschool, and all of the sudden it’s working. ??

    Recap:
    – Permalink settings must be to /%postname%/
    – Added the above code to the web.config
    – Wait patiently or run a short errand ??

    Tada!!! Working landing pages.

    Thanks again

    Thread Starter mwilkerson

    (@mwilkerson)

    I have to retract the it’s working part. I was not paying attention to the counts and I had not tried to pause a page. The pages do oscillate, I’m ending up on different landing pages A vs B but the counts are only applying to A. I tried pausing A but the counts keep increasing and the A landing page keeps appearing.

    This maybe a different issue, if it is I’ll start a new thread, once we figure out what is happening.

    Plugin Author David Wells

    (@davidwells)

    I’m guessing there is something up with your localhost environment.

    Can you try running this on a live server?

    I can’t reproduce these issues on my localhost or on a live server.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘I can not get the example landing pages to work.’ is closed to new replies.