But when I am trying to go through the production domain using www.midstage.org i.e. /pov/fortanix-ceo-cofounder-ambuj-kumar-the-world-is-always-rooting-for-a-new-hero It gives me the 404 page.
The same goes with loving-wiles-e28d68.netlify.app domain as well.
It will be great if you could help me fix this. Thanks!
FYI: I tried to upload the build log txt file. But the editor doesn’t let me. Let me know how can I help if that’s required.
I am not seeing this error when I follow the links either. Does this happen for you across multiple browsers and machines? Can you send us the browser version you are using when you receive this message, or a screenshot of what is happening?
As you can see the nf_ab cookie is not set to expire for 12 months. That means that anyone who has the cookie set for the branch this article is not published on will not see the article. It took several tries in an private window in Firefox to get the page to load. The last time (which I did not screenshot; should have though) it happened first time round.
By default the main branch of a Netlify site deploys from the main/master branch of GitHub (for instance, but Gitlab/Bitbucket are similar) though you can change this. If you then have a second git branch you can then deploy this as a separate branch and enable split testing. As demonstrated in the Jamstack Explorers Mission Split testing with Netlify this is handy for testing multiple CTAs, colour schemes, or even opt-in betas.
If you are using (for example) content stored as markdown in your main git repository, this does not get deployed to the other branches. Likewise if you are adding new content to the second (or more) branch, this does not get deployed to the main branch.
If you use an external source (e.g. Contentful, Strapi, Sanity) to manage content, then technically all branches would update with the latest content at the same time (assuming they were all triggered to build on content changes or you manually triggered each branch.)
If you want this content visible on all branches, then yes.
Under “Latest Points of View” I see two different things depending on the branch:
I can count several articles listed on the homepage between those two dates which are only published to one branch. Anyone who is getting this branch (which I receive more often than the other in my testing) would think you have posted anything in months.
In both cases, the footer shows:
I don’t know if you have this already (can’t see anything in your source) however you can distinguish branches in analytics for some insights into how many people see each branch.
Hi, @RolandSibelink. I just want to +1 what @coelmay already said. The issue is that the other branch in the split test doesn’t include this file. If the split test sends you to the non-production version, then the 404 occurs.
The solutions for this are to disable the split tests or to add to add the URL to both branches.