Been grappling with an issue for a while. When we use the native browser url share on mobile, there is a null parameter appended to our url. This results in a 404 error when someone tries to visit it.
We’ve added the current open graph tags and the issue still occurs. Any one have any insights to fix this problem?
Is this a bug on webflow or are we configuring something wrong.
You are assigning it’s false execution a null value and the ternary itself is not explicitly declared on a variable. My best guess is that it (without an object assigned to it) the null is appended to the window object. The share function calls the location function of the window object et voila… I could be wrong though.
My tipp is to revert all ternary operations to good old if/else statements and see if this fixes it.
I just saw a load of traffic on my site from /blog/null, but had no idea where it was coming from. Then I just tried sharing it, and saw that this was how it was being shared.