I have to make several changes to a website, and I'm willing to setup a copy of the current one on a subdirectory, on the same server.
I.E. if my site is
www.example.com, what I'm trying to do is to fully copy it to
www.example.com/new/, make all the necessary modifications, then, once it is done, copy it back to the main directory.
I know that it is not a simple matter of moving files, I guess that this is a complex matter involving different file paths and database entries. I'd like to know how can I safely do it and it the whole process has to be done manually or if there are some automatic tools (i.e. plugins) that can help me doing it without mistakes.