For the last few day I was working on a website that I built on a server. I finished the website and I decided to backup my files and test it on localhost. I followed this guide here: https://www.wpbeginner.com/wp-tutorials/how-to-move-live-wordpress-site-to-local-server/
I put all my files to htdocs, imported the database, change my domain to localhost and tweaked the wp-config file.
Now the control panel is broken, there is no css at all, half of the pages still redirects to my domain and not on localhost. I have searched for a lot answers, couldn't find none.