Cloning a Local Site results in permanent redirect to cloned URL

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)


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.

Hi @acavdev

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

1 Like

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!

1 Like

Great find! Glad it was something easy to sort out :slight_smile: Happy Developing :green_heart:

1 Like

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