Fixed site bug, http and https sensitive though

Fixed site bug, http and https sensitive though