HELP: URL redirects based on user role

I want my home page to be different based on whether a user is logged in or not.

Let’s call my site: www.platform.com

If the user is not logged in and attempts to go to www.platform.com , I want them to be redirected to www.platform.com/welcome.
If a user is logged in, and they attempt to go to www. platform.com , they actually get to www.platform.com.

Assistance is much appreciated!

Hi,
You can add the code to the www.platform.com that checks if the user is logged in. Click here to learn how.

And based on the result either stay on the page or direct to the needed page. Click here to learn how.