# Local DevKinsta Build redirecting

**URL:** https://community.kinsta.com/t/local-devkinsta-build-redirecting/1182
**Category:** Bug Reports
**Created:** [December 14, 2021, 1:22am UTC](https://community.kinsta.com/t/local-devkinsta-build-redirecting/1182 "2021-12-14T01:22:56Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)
#### Post date: [December 14, 2021, 4:42pm UTC](https://community.kinsta.com/t/local-devkinsta-build-redirecting/1182/2 "2021-12-14T16:42:39Z")

</div>

Hi @rpearson, thanks for reaching out and sorry for the issues here. This is part of a [known bug](https://community.kinsta.com/t/devkinsta-stuck-on-updating-site-urls-and-isnt-updating-site-urls/1167) that we are working on that seems to only affect Mac users.

A thorough way to fix the URLs would be to replace the kinsta.cloud URL in wp-config.php and then in the database as well. You would need to use the database manager to update the `wp_options`, `wp_sites` and `wp_blogs` tables.

You can also run a Search and Replace in MyKinsta for your staging url → your local url before pulling the site into DevKinsta. This would replace the URLs in the database for you. You may still need to update wp-config.php.

Again, sorry for the issues here but please let me know if you need help with any of this.

---

_[View the full topic](https://community.kinsta.com/t/local-devkinsta-build-redirecting/1182)._
