# Redirect to live site: even after changing url in wp-options

**URL:** https://community.kinsta.com/t/redirect-to-live-site-even-after-changing-url-in-wp-options/1464
**Category:** Bug Reports
**Created:** [May 6, 2022, 2:03pm UTC](https://community.kinsta.com/t/redirect-to-live-site-even-after-changing-url-in-wp-options/1464 "2022-05-06T14:03:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Kayode\_Brown](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kayode_brown/32/1081_2.png) [@Kayode\_Brown](https://community.kinsta.com/u/Kayode_Brown)
#### Post date: [May 6, 2022, 2:03pm UTC](https://community.kinsta.com/t/redirect-to-live-site-even-after-changing-url-in-wp-options/1464/1 "2022-05-06T14:03:12Z")

</div>

**Q: Date/Time this occurred (Provide your time zone also)**  
**A:** May 6, 2022

**Q: DevKinsta Version**  
\*\*A:\*\*Version 2.5.0 (2.5.0.3658)

**Q: OS Version**  
**A:** Mac OS 12.3.1 (21E258)

**Q: Docker Desktop Version**  
**A:**  
4.7.1 (77678)

**Q: Were any error codes or messages observed? If so, what were they?**  
**A:** no error codes

**Q: Detailed Description of the Problem**  
**A:** I changed the url in the wp-options file prior to downloading the live site from Kinsta. After the download and install completed, I tried to access the wp-admin login and it redirected to the live site.

I went back and edited the wp-options file again changing the url to the local one. When I try to visit the local site it too redirects to the live site, how do I fix this? Ive tried to install the adminer via temminal that failed as well. see screen shot.

If it is a plugin issue how do I disable the plugins within out getting into the dashboard. beyond just renaming the plugin folder?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/9/9813a93194a99feddad98a0f6d07200424072790.png)

---

<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: [May 6, 2022, 4:30pm UTC](https://community.kinsta.com/t/redirect-to-live-site-even-after-changing-url-in-wp-options/1464/2 "2022-05-06T16:30:31Z")

</div>

Hi @Kayode_Brown, thanks for reaching out;

I can’t tell which plugin could be causing it but disabling the whole plugins folder or individual plugins would be easiest.

This could also be caused by a caching plugin, by the way.
