Each time you download a copy of your database from live down to your development server, you'll have to remember to update your database again. Fortunately, there's a simple hack for functions.php that can doesn't require you to update your database. Note: with this hack activated, WordPress will IGNORE values you've configured for siteurl and home in your Options, and work them out for itself.
What is this hack and how to use it?
And did I understand correctly, that when using this I can just import and export my database to local and remote without changing those values in the database.
Thank you very much.