Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By genfoch01 on
Hello,
this is drupal 6
so my site needs to be moved from mysite.com to othersite.com
I understand i need to update the base url in settings.php
and update htaccess
but the site has MANY pages with links to the site url. changing those by hand would be very hard.
I was thinking about doing a database dump and using sed to change all mysite.com to othersite.com and then restoring the database from the altered dump file. would this work or do modules store some config data outside the DB? or is there simply a better way to go about this?
Thanks,
GF
Comments
cange links in the database
Hi,
For a single table update in Mysql:
From multiple tables:
If you want to edit from all tables, best way is to take the dump and then find/replace and upload it back.