# Duplicator import points to live site

**URL:** <https://community.localwp.com/t/duplicator-import-points-to-live-site/1807>\
**Category:** Support\
**Created:** [June 9, 2017, 8:26pm UTC](https://community.localwp.com/t/duplicator-import-points-to-live-site/1807 "2017-06-09T20:26:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewmccauley](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/andrewmccauley/32/85_2.png) [@andrewmccauley](https://community.localwp.com/u/andrewmccauley)\
**Post date:** [June 9, 2017, 8:26pm UTC](https://community.localwp.com/t/duplicator-import-points-to-live-site/1807/1 "2017-06-09T20:26:25Z")

</div>

I have a live site that I want to work on locally. I’m using the Duplicator plugin to create an archive of the site. When I drop the .zip into Local, it seems to work just fine, but when I visit the dev url it redirects to the live site.

I thought the problem was in the wp\_options url and home fields in the database, so I check there and the live site url was there. I changed both, but the redirection still happens.

---

<div class="post-metadata">

**Author:** ![clay](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/clay/32/8248_2.png) [@clay](https://community.localwp.com/u/clay)\
**Post date:** [June 9, 2017, 8:35pm UTC](https://community.localwp.com/t/duplicator-import-points-to-live-site/1807/2 "2017-06-09T20:35:18Z")

</div>

Hey Andrew,

Hope you’re well!

Is `WP_HOME` or `WP_SITEURL` defined anywhere? These can be in wp-config.php and will override the database setting.

---

<div class="post-metadata">

**Author:** ![andrewmccauley](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/andrewmccauley/32/85_2.png) [@andrewmccauley](https://community.localwp.com/u/andrewmccauley)\
**Post date:** [June 9, 2017, 8:55pm UTC](https://community.localwp.com/t/duplicator-import-points-to-live-site/1807/3 "2017-06-09T20:55:07Z")

</div>

Oh, I _totally_ forgot about that one.

Thanks, @clay!

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [August 25, 2020, 6:32pm UTC](https://community.localwp.com/t/duplicator-import-points-to-live-site/1807/4 "2020-08-25T18:32:03Z")

</div>


