• Resolved m22878

    (@m22878)


    Cloudways support confirmed this. Whenever I would clone a WP app the original app would redirect to the URL of the cloned site. Once we disabled Redis on the server and made a clone after that it didn’t seem to do it. But the real problem is that this redirect is cached in the browser and so visitors who visited before the redirect was removed are getting redirected to the cloned site. Is there a way to fix this? This is a nightmare.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter m22878

    (@m22878)

    It was caused by the databased connection parameter being the same on both sites. I changed it to 1 on the cloned site. But how is this URL redirect stored in browser cache? It will not go away unless you clear browser cache, but users won’t know that and will continue to get redirected to the cloned site. Is there a way I can set this URL to the cloned site to expire from the main site so the main site stop redirecting to the cloned site? I removed it by flushing the redis cache and changing the database number on the cloned site, but as I said, if users went to the site before I fixed it then the URL redirect is stuck in their browser cache. How can I set it to expire? I tried setting site Browser Cache TTL to a few minutes but it won’t clear in the browser cache as I have one browser with it still stored and it’s still redirecting.

    Plugin Author Till Krüss

    (@tillkruess)

    Try running redis-cli FLUSHALL.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Site redirects when cloning an app on Cloudways’ is closed to new replies.