You might never need a plugin like this but if you do then this will save you a lot of time.
There are times when you need to reorganise your WordPress hosting file layout because you’ve either accidentally put your site in a subdirectory or you have created a new site off to the side somewhere and you are making it live. In both these cases you want to change the directory where your site lives.
The process of changing your site installation directory is well documented elsewhere and is fairly straight-forward. The only really tricky bit is updating the URLs embedded in your pages and posts. It usually shows up as broken links to media which still reference the original directory. That’s where this plugin can shine.
It really is as simple as activating the plugin, entering the original site URL, then entering the new site URL. The plugin quickly applies the appropriate updates and your site is up and running.
After making the change there is no need to keep this plugin installed so you can Deactivate and then Delete it.