cPanel File Manager: move and rename files
Moving helps you organise files: move a site from a subfolder to the domain root, put old files into an archive folder, or take a file out of public_html so it cannot be opened from the internet. Renaming fixes a file name or switches a file off for a while.
Move
- Select files or folders (several - click with Ctrl).
- Click "Move".
- Enter the destination path from the home folder, for example
/public_html/old. - Click "Move Files".

The path starts at your home folder: /public_html is the primary domain folder, /example.org is an addon domain folder, / is the home folder itself. Create the destination folder beforehand with the "Folder" button on the toolbar.
You can also drag a file and drop it on a folder in the tree on the left.
Moving a site from a subfolder to the domain root
- Turn on hidden files so you do not leave
.htaccessbehind: hidden files. - Open the subfolder, for example
public_html/new. - Click "Select All", then "Move", and enter
/public_html.
If the site runs WordPress or another CMS, change the site address in its settings after the move - otherwise links will still point to the old subfolder.
Rename
- Select a file.
- Click "Rename".
- Enter the new name and click "Rename File".

Renaming changes the address of the file on the site: links to the old name stop working. To switch a file off for a while, add .off to its name, for example index.html.off.
File names on the hosting are case-sensitive: Logo.png and logo.png are different files. If an image does not open, check the case in the name and in the link.
Common mistakes
- The destination folder was not checked first - a file with the same name there can be lost.
- The
public_htmlfolder itself was moved - the primary domain site stops opening. Move its contents, not the folder. - CMS plugin or upload folders were moved - the CMS looks for them at the old path, so images and pages stop opening.