I have lightning community configured with lightning component. In that component there is a button called 'redirectToResponse'.
This button is redirecting to visual force page with "https://CommunityURL/siteprefix/s/apex/avTestMyPage?Id=a0P1J00000YUjs6UAD&retURL=%2Fhome%2Fhome.jsp" URL.
So when user click on that button it shows "Invalid Page" page error.
Is there any way we can redirect to visual force page with URL from lightning component in lightning community?