I performed a MySQL dump of my WordPress production database to be imported into my local development environment. I plan on frequently performing this database dump and import. Is it possible for me to AVOID running a search & replace script or a MySQL query that updates all of the permalinks, site URLs, etc?
Could I include something like the following in my wp-config.php to override the above said links:
define('WP_HOME', 'http://localhost.com:8888/example');
define('WP_SITEURL', 'http://localhost:8888/example');
My goal is to make it as EASY as possible to perform routine database dumps from my production site to local.