Ive updated an old site safely, by cloning it the a temporary sub-domain, then applying updates, in case it broke it. This has been successful and its now on version 9+.
Both old and new sites are on the same server, original on database 01, and new site (sub-domain) using database 02.
I have tried copying new site files over to public_html folder and removing all canonical redirects and cache files, but when I navigate to the original domain (not sub domain) it keeps redirecting to the sub-domain site.
If I try and force redirects using file in application/config/generated_overrides/concrete.php I just end up in a redirections loop which times out after 20 goes.
Further to hutmanâs suggestions, as a habit, I always put a blank .htaccess file in the new site and let the system build it when I enable âpretty urlsâ and other stuff from the dashboard.
It was solved by my hosting support.
They suggested the problem was in the site.php file.
I added the correct domain in:
âcanonical_urlâ
âcanonical_url_alternativeâ
I also checked the correct domain was in concrete.php
I think my error was trying to edit the urls using the back end of C5 then moving the files. Instead I moved the files then manually edited the ones above and it worked. I also deleted all the cache files.