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?
Cheers BJ
https://codex.wordpress.org/Function_Reference/get_page_by_path
https://developer.wordpress.org/reference/functions/get_permalink/