Knowledge Base Article

How to transfer my Drupal from one host to another?

Transferring your Drupal application includes copying your files and database and modifying the settings.php file in the sites/default folder.

 

The most important setting which should be modified in settings.php is:

 

db_url - the MySQL details for your Drupal; the format you should follow is mysql://username:password@localhost/databasename, e.g. :

 

$db_url = 'mysql://user_drpl1:password@localhost/user_drpl1';


You should also make sure that the RewriteBase rule in the .htaccess file is correct. For example, if your Drupal is placed in your account's main public_html folder, the RewriteBase rule should be:

 

RewriteBase /



Rating

Please indicate if this article was helpful for you.

rating :  2.5 from 5
views :  130
votes :  2

Valid XHTML 1.0 Strict Valid CSS!