I want to redirect the user to specific page in Magento 2 from PHTML file.
In Magento 1 we use following method to redirect
but not finding any solution for Magento 2.
I have also read this blog but it shows to create a custom module for that. As I don't want to do this from the module.
Please provide any solution if available.
I just want to redirect the user to the specific page if not log in for that to create module it will be a not a good thing.