How to change URL of a Drupal site

To change the URL of a Drupal website, edit the file

sites/default/settings.php

Find the line

$base_url = 'https://www.your-current-domain';  // NO trailing slash!

Replace your old domain name with your new domain name.

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *