How to edit a file in the Plesk File Manager? (Video)

Editing files directly in the Plesk File Manager is convenient for making quick changes to your website files, such as updating HTML, PHP, or configuration files.

Follow these steps to edit a file in Plesk:


Step 1: Log in to Plesk

  1. Open your web browser and navigate to your Plesk login page:
    • Example: https://yourdomain.com:8443 or https://your-server-ip:8443.
  2. Enter your username and password, then click Log In.

Step 2: Access the File Manager

  1. In the Plesk dashboard, locate the domain or subscription associated with the file you want to edit.
  2. Click on File Manager under the Websites & Domains tab.

Step 3: Navigate to the File

  1. Use the File Manager interface to locate the file you want to edit.
    • Files are typically located in the httpdocs directory for the website’s root files.
  2. Click on the folder to navigate deeper into the directory structure.

Step 4: Open the File for Editing

  1. Once you find the file, click the file name to select it.
  2. Click on the Edit in Text Editor option from the top menu or right-click on the file and select Edit in Text Editor.

Step 5: Make Changes to the File

  1. A text editor will open within the Plesk interface, displaying the file’s contents.
  2. Make the necessary edits to the file.
    • For example, modify HTML code, PHP scripts, or configuration settings.
  3. Double-check your changes to ensure there are no syntax errors or unintended modifications.

Step 6: Save the Changes

  1. Click the Save button at the top of the text editor after making your edits.
  2. If you want to exit without saving, click Cancel.

Step 7: Test the Changes

  1. Open your website in a browser or reload the page to ensure the changes are applied correctly.
  2. If the changes don’t appear, clear your browser cache or check for errors in your code.

Tips for Editing Files in Plesk

  • Backup Files: Always create a backup of the file before editing, especially for critical files like wp-config.php or .htaccess. You can use the Download option in File Manager to save a local copy.
  • Permissions: Ensure the file has the correct permissions to allow editing. Modify permissions via the File Manager if needed.
  • Syntax Highlighting: Use the Plesk text editor’s syntax highlighting feature for better readability and to avoid errors when editing code.

By following these steps, you can quickly and safely edit files using the Plesk File Manager, allowing for efficient website updates and configuration changes.

 
  • 0 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

How to log in to Plesk? (Video)

Logging into Plesk is a straightforward process, whether you are an administrator or a...

How to Change your Plesk Account Password? (Video)

Changing your Plesk account password is an important step for maintaining account security....

How to Reset Your Plesk Password? (Video)

If you’ve forgotten your Plesk password or need to reset it for security reasons, follow the...

How to change your Plesk contact email address? (Video)

Updating your Plesk contact email address ensures that you receive important notifications...

How to change the language of the Plesk Panel? (Video)

Changing the language of your Plesk Panel allows you to use the interface in your...