WordPress Redirects to a cancelled domain, need to change it but can’t get to the admin portal

If you have access to the database, go into the wp-options table and change the two instances of www.olddomain.com to www.newdomain.com . You should be able to log into the admin area then. Then use a Search and Replace plugin (I like “Better Search and Replace”) to change all instances of www.olddomain.com to www.newdomain.com ) … Read more

After switch domain, some parts of my site still point to my old domain

Some themes use url in /wp-admin settings menu url. Please also change this. And another problem is full-urls in your db. You should change these urls in db. https://wordpress.org/support/article/changing-the-site-url/#changing-the-url-directly-in-the-database BTW, if you are using phpmyadmin, search old url in all tables (you can search all tables when click the db not any table and you … Read more