How to change the redirect URL once click on the restricted page

I am using User profile made easy plugin and also use Membership2. I mainly use the User Profile Made Easy plugin to control the login/register/user approval..., and use Membership2 for content restriction and just one membership level for the time being. Even though User Profile Plugin has content restriction functionality but yours is far superior and easy in this regard. But I have problem redirection after one click on the restricted content. I want it to be redirected to the login page of User Profile. So I am asking you to how to change the redirection URL