I have below default welcome email template which redirects the users to standard login page but it doesn't goes to my new custom community login page.
Hi {!Receiving_User.FirstName},
Welcome to {!Community_Name}! To get started, go to {!Community_Url}
Thanks,
{!Organization.Name}
How do I update community_url ?
Best Answer
Go to Setup > Customize > Communities > Manage Communities and click on Force.com to edit your Communities Sites settings.
When a user arrives your community URL, they are sent to the Active Site Home Page (top right of the page). The recommended best practice here is to set the Active Site Home Page to a routing page of some sort, that holds logic to either send the user to some page that they were originally requesting (usually a startURL querystring parameter) if they have an active session, or the communities home page (some VF page or default home tab, whatever "Home" is for your community) also if they have an active session or a login page if they don't have an active session. Your landing page should just consist of a page action, which calls a method that looks something like this: