update links and .htaccess for SSL