WordPress HTTP requests point to localhost server after move to live HTTPS server

If you developing wordpress on localhost, you have to do 2 important things when you want to make it live:

1- search and replace in your .sql backup file for localhost/wordpress and replace it with new address and then import it in your live server.

2- search and replace your whole code, if you use hard-coded addresses!

for more information visit this link