Move my C5 website from a temporary folder to root
Permalink
Hello
My websitehttp://www.insectnet.com used a very old coding.
I created a new version with C5 that I placed in the folder mysite.com/temp
But when I try with Filezilla to move the whole content of "temp" file in my root folder, I get an error message when I open mysite.com (see enclosed).
Is there anything else I should do to put my C5 version on the root and visible when people open mysite.com ?
PS/ I've put the old version back in mysite.com to avoid visitors to be blocked.
My websitehttp://www.insectnet.com used a very old coding.
I created a new version with C5 that I placed in the folder mysite.com/temp
But when I try with Filezilla to move the whole content of "temp" file in my root folder, I get an error message when I open mysite.com (see enclosed).
Is there anything else I should do to put my C5 version on the root and visible when people open mysite.com ?
PS/ I've put the old version back in mysite.com to avoid visitors to be blocked.
- Always disable and clear the cache before moving a site.
- Also disable canonical URLs and put doctrine (search dashboard for 'entities') in development mode.
- Disable pretty urls during the move
If doing the above leaves problems, other things it could be
- system file permissions
- hard coding of paths (rather than using c5 api methods to generate paths)
Filezilla may not be the most efficient way to do this. If you can use SSH to open a terminal to the host, a command line move/rename will be instant and will maintain any existing permissions, ownership etc.
Usually safest to:
move live to old
move new to live