Handle SSL redirect for aliased URLs