adding option to make preview url post to https for secure cms to avoid security errors in browsers