Skip to main content

How to Rename a File or Folder in cPanel File Manager

You can rename files or folders within your account using the cPanel File Manager. This allows you to update file names or directory names for better organization or to meet specific naming requirements for your website.

You can rename files or folders within your account using the cPanel File Manager. This allows you to update file names or directory names for better organization or to meet specific naming requirements for your website.

Before you begin

You will need:

  • A cPanel account

  • Access to the cPanel File Manager

Renaming a file or folder

  1. Log in to your cPanel account.

  2. Locate the Files section and select File Manager.

  3. In the left-hand sidebar, navigate to the directory containing the file or folder you wish to rename.

  4. Locate the file or folder in the main pane.

  5. Select the checkbox next to the item you want to rename.

  6. Click the Rename button in the top toolbar.

  7. Enter the new name in the provided field.

  8. Click Rename.

Confirm the result

  • The item will appear in the list with the updated name.

  • The file path will reflect the new name in the breadcrumb navigation or the file list.

Important Note on File Paths

Renaming a folder will change the file path for every file and subdirectory inside that folder. If your website's code (such as WordPress or a custom script) references the old folder name, the links or functionality associated with those files may break. Ensure you update any internal links or configuration files to reflect the new name.

Did this answer your question?