How to change URL of a Drupal site
To change the URL of a Drupal website, edit the file
1 |
sites/default/settings.php |
Find the line
1 |
$base_url = 'https://www.your-current-domain'; // NO trailing slash! |
Replace your old domain name with your new domain name.