So I wanted to use cloudflare to get a free SSL certificate but it was causing too many problems (couldnt load wp-admin) so i deleted my website from cloudflare.
I went into wp-config.php and the phpMyAdmin and changed the website urls to "http" instead of "https."
I changed the nameservers...