I’m thinking of creating a separate landing page for my website.
I would like the landing page to show when viewers arrive for the first time. Then, if they have been to the site before the browser will automatically skip the landing page and take them directly to the homepage.
Would you consider not having 2 different pages but one unique home and a DIV that would cover it,n that you’d show based on a cookie? This way, the SEO of your unique Home is much easier to handle and the results are way, way better.
So a cookie is set either with PHP or JS, in our case, Webflow only uses JS. Here’s a possible approach:
That is absolutely interesting.
It sounds terrific if I can make it work
You mean I’d make a div block that covers the entire page?
Not too sure where to put it and how to make it not affect everything else on the page, also appear/disappear.
But I guess that part is controlled by the code I’d have to put in?
Also, where am I to put in the cookie-code? In the settings for the homepage?
And to be able to edit the stuff behind the div, I’ll just hide it for the moment?
Also not 100% sure about the code, it’s gonna work with webflow?
Technically that’s easy: create a div just under the body, give it position:fixed and width 100vw and height 100vh (and possibly a higher z-index). You now have a div covering everything else and not affecting it. I mean you can only see this div, until you pass it display:none.
Yes
I have to try it for myself if I want to guide you better, will be able to try that tonight or tomorrow.