Improved SSL redirect (e.g. no / -> /home/index)