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:

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

and

.htaccess
# 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