Hi Ankesh,
What you can do to solve this is redirect to the full URL. You can get the first part of the URL with get GetApplicationUrl Java action from community commons and put that together with /p/homepage/.
It would look like this:
$ApplicationUrl + '/p/homepage/'