alkem-io / client-web

Default web frontend, enabling browsing the Alkemio platform - so the hosted Challenges and communities collaborating around those Challenges.
https://alkem.io
European Union Public License 1.2
15 stars 6 forks source link

Switch the redirects from alkem.io to welcome.alkem.io #5840

Open bobbykolev opened 3 months ago

bobbykolev commented 3 months ago

Description

As a NEW user (or Search Engine), I want "alkem.io" to load faster. This will result in better first-time user experience and higher SEO ranking of alkem.io landing.

Note that this request is targeting only the first-time user experience, aiming to switch the logic of redirect from the platform to the welcome site. Making the entire platform faster would be higher effort part of separate Epic.

Acceptance criteria

Additional Context

Currently, if a new user (search engine as well) try to hit alkem.io, the request goes to the platform, then after loading the entire bundle it redirects to welcome.alkem.io.

This results in huge performance (and SEO) penalty for our landing page - from 66 to 25% performance score (Google).

I'd suggest reworking the flow and land ALL users directly on welkome.alkem.io. From there we could check the session (fetch 'whoami' suggested by @me-andre) and redirect to alkem.io/home if need.

I know it's not ideal for our existing users and we could have to change some redirect URLs (/ -> /home), but it's important for every new user and Search Engine.

Areas that will be affected

welcome[bot] commented 3 months ago

Thanks for opening your first issue here! Be sure to follow the issue template!