I’m having an issue when pulling a WordPress site from Kinsta into DevKinsta. Instead of behaving like a normal pulled environment, the site shows up as a “Custom Site” and keeps redirecting to the live domain rather than staying on the local *.local URL. The files and database appear to import, but the local site won’t load correctly without redirecting externally. I’ve checked basic settings but it still seems tied to the production domain. Has anyone run into this before or know what settings or search-replace steps I might be missing to keep it fully local?
Its only 1 website. All other site pull and push correctly.
It’s possible that you have update_option(siteurl) and update_option(home) in the theme files, code, leftover cache folder or another code that would direct to the live site.
I’m glad to hear that define override works If it’s it’s just one site with this issue, it’s unlikely that something’s wrong with your setup (DevKinsta/Docker) and more likely to be site-specific.