How can I change my base URL?
PROBLEM: I changed the base URL of my site from olddomain.com to newdomain.com and updated the civicrm.settings.php file to reflect the new base URL. Strangely enough, civicrm did not seem to recognize the new settings until I went into the admin menu to revise the URLs under global settings (even though I forced Drupal to reload all modules). Everything works fine (Civicrm CSS, links, and JS files all have the correct URL). However, image files still point to the old domain: http://olddomain.com/sites/default/modules/civicrm/i/contact_ind.gif I must be missing a setting somewhere, but cannot figure out where to look.
RESPONSE: As of 1.6 these settings are in the database not the settings file, hence in Global Settings. If you are sure the settings are correct in Global Settings then you could try deleting the contents of files/civicrm/templates_c/ and flush any sessions and caches you can find in Drupal (sessions and cache table) and your web browser. Seems to be our panacea for this kind of issue!
FEEDBACK: Purging the contents of files/civicrm/templates_c/ worked beautifully. I didn't even have to flush the sessions or cache table, but will definitely keep that in mind next time a weird quirk arises.
You may also need to visit civicrm/menu/rebuild?reset=1 to rebuild menu's with correct URLs.