Streaming live at 10am (PST)

Sharing webflow URL on mobile browser - appends null

Hi Guys,

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.

Here’s the link to our read only sitee

Appreciate the help


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Hey Sajjad!

I saw that you are using a ternary operator on every page in the before </body> custom code.

window.location.href.includes("en.thakaa.sa") ? document.getElementById("event_section").classList.add("hide"): null; 

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.

Hi @sajjad - did you ever find a solution to this?

I have been grappling with the same thing.

Here is my read only link and you can see an example of a CMS item that has this issue here.

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.

Same is happening to me, pelase webflow, help us, it seems a bug and it is annoying

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.