How to remove current page if user is app open via deeplinking in ionic3?

Hell to all,
I have implemented deeplinking functionality properly in our app but problem is that if user is jump via particular page via deeplinking now we have to redirect user to home page but in my case click back button got error - navigation stack at least 1 root page is occur.tell me please any one how to remove current page and set another page in ionic3?