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 /
No comments:
Post a Comment