If my website changes domain or protocol, the entire code base does not have to be updated. That is my desired result. More specifically, I want to add a php function to my child theme to convert all http requests to https automatically. I was given some docs to get started but I realize I have too many questions at this point. Can someone help me out?