# DevKinsta 2.3.0 - port configuration breaks sites

**URL:** https://community.kinsta.com/t/devkinsta-2-3-0-port-configuration-breaks-sites/1139
**Category:** Bug Reports
**Created:** [November 22, 2021, 10:09am UTC](https://community.kinsta.com/t/devkinsta-2-3-0-port-configuration-breaks-sites/1139 "2021-11-22T10:09:01Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![SBP](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@SBP](https://community.kinsta.com/u/SBP)
#### Post date: [November 22, 2021, 10:09am UTC](https://community.kinsta.com/t/devkinsta-2-3-0-port-configuration-breaks-sites/1139/1 "2021-11-22T10:09:01Z")

</div>

I have updated to 2.3.0 (MacOs / Intel) and imported a site from Live.

The new “port” settings are breaking site. I can not access subpages or wp-admin, as the “:{port}” part of the url gets lost and redirects to a url without the port number. It also looks like possibly the mysql replacement on the urls from live to local has broken.

---

<div class="post-metadata">

### Author: ![dgrueda](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/dgrueda/32/804_2.png) [@dgrueda](https://community.kinsta.com/u/dgrueda)
#### Post date: [November 22, 2021, 11:26am UTC](https://community.kinsta.com/t/devkinsta-2-3-0-port-configuration-breaks-sites/1139/2 "2021-11-22T11:26:16Z")

</div>

I’m having the same issue with the URL replacement.

I can’t access anymore my dev site anymore, it redirects me to the live/staging site. I’ve checked my etc/hosts and even changed the address in MySQL, but it’s not working.

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [November 22, 2021, 3:19pm UTC](https://community.kinsta.com/t/devkinsta-2-3-0-port-configuration-breaks-sites/1139/3 "2021-11-22T15:19:26Z")

</div>

Welcome to DevKinsta @SBP ! I’m happy to help. Would you happen to have the URL entered into the `wp-config.php` file? If you have `WP_HOME` and `WP_SITEURL` entered into `wp-config.php`, try removing it and see if that helps.

---

<div class="post-metadata">

### Author: ![SBP](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@SBP](https://community.kinsta.com/u/SBP)
#### Post date: [November 22, 2021, 4:13pm UTC](https://community.kinsta.com/t/devkinsta-2-3-0-port-configuration-breaks-sites/1139/4 "2021-11-22T16:13:36Z")

</div>

For some reason, the response headers from the “site host” url incl. port number returns a redirect to the url without the port:

![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/d6035385ec8c4eed6d11e6eb9ef7c41e53ae6b3d.png)

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [November 22, 2021, 9:48pm UTC](https://community.kinsta.com/t/devkinsta-2-3-0-port-configuration-breaks-sites/1139/5 "2021-11-22T21:48:36Z")

</div>

@SBP 🤔 Hm. It states there in `x-redirect-by: WordPress` that the redirect is occurring from WordPress. Was there anything in the `wp-config.php` by chance?
