# Site URL not updating

**URL:** https://community.kinsta.com/t/site-url-not-updating/5281
**Category:** Application Support
**Created:** [July 17, 2025, 3:22pm UTC](https://community.kinsta.com/t/site-url-not-updating/5281 "2025-07-17T15:22:21Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![krisl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/krisl/32/4860_2.png) [@krisl](https://community.kinsta.com/u/krisl)
#### Post date: [July 17, 2025, 3:22pm UTC](https://community.kinsta.com/t/site-url-not-updating/5281/1 "2025-07-17T15:22:21Z")

</div>

I can reproduce this issue: I’m importing a staging site from Kinsta, but the site URL in the DB does not update to the local address.

- Tried twice, same problem reproduced.
- restarted devkinsta, no change
- No errors when importing a site
- 

Let me know how I can help troubleshoot this.

Thanks! KLG

---

<div class="post-metadata">

### Author: ![VladimirM](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/vladimirm/32/2786_2.png) [@VladimirM](https://community.kinsta.com/u/VladimirM)
#### Post date: [July 18, 2025, 9:06am UTC](https://community.kinsta.com/t/site-url-not-updating/5281/2 "2025-07-18T09:06:42Z")

</div>

Hello there 👋

There are a few possibilities - either that URL is hardcoded in wp-config or a theme file (check for `define` in wp-config and if any is setting the URL) or there’s a theme file with update\_option setting the staging URL.

Other reasons might be that DevKinsta is unable to perform search-replace for some reason. If the above checks don’t show any code that might be doing it, please share your main.log file (as described [here](https://kinsta.com/docs/devkinsta/devkinsta-troubleshooting/error-codes/#viewing-the-application-log-file)).

Kind regards

---

<div class="post-metadata">

### Author: ![krisl](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/krisl/32/4860_2.png) [@krisl](https://community.kinsta.com/u/krisl)
#### Post date: [July 18, 2025, 5:26pm UTC](https://community.kinsta.com/t/site-url-not-updating/5281/3 "2025-07-18T17:26:11Z")

</div>

heya, so it magically worked today. Nothing changed other than a shutdown and reboot of the computer. I’m going to turn off the lights on this thread for now and if it reoccurs, i’ll pop back with more details! thanks, KL

---

<div class="post-metadata">

### Author: ![merineth](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/merineth/32/3022_2.png) [@merineth](https://community.kinsta.com/u/merineth)
#### Post date: [July 19, 2025, 6:50am UTC](https://community.kinsta.com/t/site-url-not-updating/5281/4 "2025-07-19T06:50:09Z")

</div>

Hi @krisl

Awesome to hear it’s working now, gotta love a good reboot fix! 😄 We’ll close this out for now, but don’t hesitate to reach out if it happens again.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/80f8c4e56fecc02327a0964e6bf63a716483529f.png) [@system](https://community.kinsta.com/u/system)
#### Post date: [July 21, 2025, 6:50pm UTC](https://community.kinsta.com/t/site-url-not-updating/5281/5 "2025-07-21T18:50:57Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
