One another thing that you need to remember is if you're site is accessed on https like
You should also make sure that the base Link URL should be on https
too. Otherwise Magento .htaccess rules will redirect you back to the
So the bottom line is URL Base Link under system - configuration - web - HTTP should be https://www.yourdomain.com/
After this clean / refresh your cache and reload your pages, This time magento wont reidrect you to home page.
If you dont want to do this, then you need to change the .htaccess rules as shown in this SO thread https://stackoverflow.com/a/25528651/777103