Drupal Tutorials and Helpful Information

On of the biggest questions I hear are what happens when I move my Drupal site to a new location or my customer changes there URL?

The answer is simply to follow the process below to update and change your URL for Drupal.
Each time I move/copy a Drupal installation from one URL to another I must remember to update the following:

$db_url = 'mysql://username:password@localhost/databasename';
$db_url = 'mysqli://username:password@localhost/databasename';
$base_url = 'http://www.example.com'; // NO trailing slash!


# Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.
# RewriteBase /drupal

if you want to change the drupal from sub directory to the root directory
change rewrite rule to

RewriteBase /

Drupal Tutorials