Go to permlinks first and see if reseting your permana links by simply selecting new URL structure and hitting the save button works.
if not
Change Default Media Folder
Open your wp-config.php file, locoed at the root of your WordPress installation, and add the following snippet:
| ```
1
|
define('UPLOADS', 'wp-content/myimages');
Make sure you add this code before the line:
| ```
1
``` | ```
require_once(ABSPATH.’wp-settings.php’);
``` |
This Yoast article is very Helpful along with the tool below
https://yoast.com/change-wordpress-permalink-structure/
https://yoast.com/wp-content/permalink-helper.php
OR
Then he default uploads folder needs to be changed to a different location, then any media URLs will need to be changed in the**post_content** column of the posts table. For example, if the default uploads folder is changing from **wp-content/uploads** to **images**:
UPDATE wp_posts SET post_content = REPLACE(post_content,'www.domain.com/wp-content/uploads','www.domain.com/images');
Aso see
http://www.wpbeginner.com/wp-tutorials/how-to-change-the-default-media-upload-location-in-wordpress-3-5/
```
http://premium.wpmudev.org/blog/change-default-wordpress-uploads-folder/
### wp-cli
[wp-cli](http://wp-cli.org/) is a super useful shell tool.
```
wp search-replace '[http://example.dev'](http://example.dev%27/) '[http://example.com'](http://example.com%27/) --skip-columns=guid
```
Hope that helps,
Tom
[KbfucDJ.png](http://i.imgur.com/KbfucDJ.png)