sql

Correct broken links and images on your drupal development environment

I am in the habit of using Backup and Migrate module to quickly move from Live to Local in order to test things out. More than 80000 people trust this module I suppose to keep backups or move from Live to Local and vice versa. One of the problems that might arise when Restoring the database on localhost is that some of the content might contain links and images that will be broken if your drupal installation is in a subfolder which means you have in your .htaccess something like this
RewriteBase /folder/domain.com

and that you access your site from a browser like this
http://localhost/folder/domain.com/

Subscribe to RSS - sql