switching from http to https

I have developed a website in yii framework and i want to switch my website from http to https , would it require any coding change or it automatically convert and open all the pages correctly?

Should not require anything.