Hi, I appologize if my question is vague or unclear in first instance. I am new to moodle and trying to upgrade from 2.7 to latest version 3.5. I went through the steps of upgrading from 2.7 to 3.1 first and then from 3.1 to 3.5. I am testing all these updates on a test site which is a copy of live site. But the problem is after replacing the files to new version on test site, when I run the test domain it redirects to the live site.
I have checked the config file, everything is replaced over there. I mean no old url.
After doing some google research and read from some of moodle forums, I try to delete the moodle cache from moodle data directory but it didn't work.
Any help will be of great thanks in advance.