When you develop a site, you may want other people to collaborate on the site or you may want to transfer the site to someone else but maintain your ability to collaborate on it.
You can let other people collaborate on your site's code and functionality by adding them as collaborators to your site. It isn't necessary to transfer ownership of the site to them.
Collaborators need to be assigned a role that has Edit Site permissions to be able to edit the site and add or edit code. It is not necessary to give a collaborator Publish permissions for them to be able to edit the site code. Note that if the collaborator adds functionality that can only be tested on the live site, they won't be able to test it.
Some features are available to test only on a live site. You have to have access to the site so you can test and maintain the code you developed, even if it's for other users on their domain.
You also may want to do more development that needs testing after the site has been published and is live. You probably don't want visitors to the site to access the pages that are under development and being tested.
To test and maintain a site developed for another user:
To continue development on a live site once ownership is transferred:
If you are working on a new page, add a page.
If you are working on an existing page, duplicate the page.
Make sure the page is hidden in the menu so site visitors won't be able to access it while it's being developed and tested. (Note that a hidden page on a published site can still be accessed by modifying the URL.)
Once you are finished with development and testing, make the page visible. If it replaces a page, delete the old page.
The following are some considerations for when different users work on a site developed in the editor.
If you develop a site with code for someone else that you can both edit, you need to understand the limitations of what you or the other user can do with the site and its elements. Keep in mind, for example, the other user might be a designer with no coding experience.
In this section, we describe:
If you duplicate an individual page or an entire site, or if you or the other user clones or transfers a site, the code and events in the site are maintained only in the new copy of the page or site.