# Cloning a Local Site results in permanent redirect to cloned URL

**URL:** <https://community.localwp.com/t/cloning-a-local-site-results-in-permanent-redirect-to-cloned-url/43705>\
**Category:** Support\
**Created:** [July 11, 2024, 4:14pm UTC](https://community.localwp.com/t/cloning-a-local-site-results-in-permanent-redirect-to-cloned-url/43705 "2024-07-11T16:14:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![acavdev](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/acavdev/32/22197_2.png) [@acavdev](https://community.localwp.com/u/acavdev)\
**Post date:** [July 11, 2024, 4:14pm UTC](https://community.localwp.com/t/cloning-a-local-site-results-in-permanent-redirect-to-cloned-url/43705/1 "2024-07-11T16:14:16Z")

</div>

### What issue or error are you experiencing?

## After cloning an existing Local Site A to Local Site B, I am redirected to Site B every time I try and access Site A. So far I tried restarting Local, my computer, clearing all browser caches. I also double checked the Site URL in the database of Site A, looks like its normal.

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

* * *

### System Details

- **Local Version:** Version 9.0.4+6699

- **Operating System (OS) and OS version:** MacOS 13.6.7

* * *

### Local Logs

Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/))

* * *

_ **Security Reminder** _  
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [July 11, 2024, 4:39pm UTC](https://community.localwp.com/t/cloning-a-local-site-results-in-permanent-redirect-to-cloned-url/43705/2 "2024-07-11T16:39:00Z")

</div>

Hi @acavdev

Are there any redirection plugins in these sites? Any plugins or a theme that hold on to cache, CSS, etc?

---

<div class="post-metadata">

**Author:** ![acavdev](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/acavdev/32/22197_2.png) [@acavdev](https://community.localwp.com/u/acavdev)\
**Post date:** [July 11, 2024, 4:46pm UTC](https://community.localwp.com/t/cloning-a-local-site-results-in-permanent-redirect-to-cloned-url/43705/3 "2024-07-11T16:46:07Z")

</div>

I think that was it! The Redis Object cache plugin. I renamed plugin folder temporarily and deleted /wp-content/object-cache.php and its working. Thank you!

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [July 11, 2024, 4:51pm UTC](https://community.localwp.com/t/cloning-a-local-site-results-in-permanent-redirect-to-cloned-url/43705/4 "2024-07-11T16:51:08Z")

</div>

Great find! Glad it was something easy to sort out 🙂 Happy Developing 💚

---

<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:** [July 13, 2024, 4:51am UTC](https://community.localwp.com/t/cloning-a-local-site-results-in-permanent-redirect-to-cloned-url/43705/5 "2024-07-13T04:51:40Z")

</div>

Closed on July 13, 2024, 4:51am UTC

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