The Plesk File Manager includes built-in text and code editors, so you can edit files directly on the server without downloading and re-uploading them. This is useful for making quick changes to configuration files, PHP scripts, or HTML pages.

Editing a File

  1. Log in to Plesk.
  2. Go to Websites & Domains → click your domain → Files.
  3. Navigate to the file you want to edit.
  4. Hover over the file and click the context menu (three dots).
  5. Click Edit in Code Editor (for code files) or Edit in Rich Editor (for HTML with a visual editor).
  6. Make your changes in the editor.
  7. Click Save or OK to apply the changes.

Creating a New File

  1. In File Manager, navigate to the directory where you want to create the file.
  2. Click NewCreate File.
  3. Enter the file name (e.g., test.php or .htaccess).
  4. Click OK.
  5. The file will be created and opened in the editor.

Important Notes

  • Changes take effect immediately after saving.
  • Always back up a file before editing (right-click → Copy and rename the copy).
  • The Code Editor supports syntax highlighting for PHP, HTML, CSS, JavaScript, and other web languages.
  • For files larger than 1 MB, downloading and editing locally is recommended.

Troubleshooting

"Edit" option is not available for a file:

  • The file type may not be supported by the editor. Download and edit locally.

Website breaks after editing a file:

  • Restore from your backup copy.
  • Check for syntax errors in your code.
Was this answer helpful? 0 Users Found This Useful (0 Votes)