If you have recently moved your WordPress to another domain and need to quickly change the domain url without touching the database. This class is for you.
- Open wp-config.php
- Put in the following lines of codes at the top of the page after the <?php
You need to change the example.com to your new domain URL
3) If you are having trouble accessing your WP-admin dashboard, then add the following into your wp-config.php as well.
That’s all !