redirect internal body urls temporarily for local development I have painstakingly moved my production site to a local dev server to do some offline edits.  However, all of the internal site links located in the body of whatever page still point to the production site.  

How do I temporarily redirect urls in the body of pages to the local dev server?

I need 


  "examplepage.org/randomcontent"


to redirect to 


  "examplepage/randomcontent"


NOTE: All the drupal nav pages via admin menu work correctly.  Seems like a common problem, but I can't find a straight forward solution.
If there is given hard coded URL then you need to change it one by one , and if its coming through program or Drupal standard behavior then you can check it with clearing the cache.

Following are the way you can check:

1. Check settings.php to ensure that $base_url is set to "http://localhost"

2. Check settings.php to ensure that MySQL settings are correct

3. Take an SQL dump of the entire local database and searched for any references to live site URL

4. Delete all the local cache data from database

5. Check various blocks to ensure that there was no hard coding of links