I have duplicated Drupal files and database in order to not work on production website.
I have changed the database name in the settings.php of the new drupal.
However when I login with the new Drupal, I always land on the old Drupal. Also when I click on any link in the old destination the url changes to the old one.
It is strange because when I add a new node to the old copy, it appears in the new copy. If
The new database doesn't contain it, so I guess the new copy is reading the old database.
But if I delete the new database, the new copy says "Site offline: technical issue", so the new drupal is actually pointing to the new database...
Update: Is it maybe apache domain issue ? The new path is shown as old path ?.. I dunno what to do