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

Error message

  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 385 of /homepages/1/d297293566/htdocs/anthonypittman.drupal/includes/common.inc).
  • Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2375 of /homepages/1/d297293566/htdocs/anthonypittman.drupal/includes/menu.inc).