Articles in this section

How to change Powered by Plesk logo in header and footer text in a Plesk server

Plesk for Windows kb: how-to Plesk for Linux ABT: Group B

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to change Powered by Plesk logo in the header and the footer text?

Answer

To change the "Powered by Plesk" elements, select your platform below:

Plesk for Linux

1. Change "Powered by Plesk" image in the header

  1. Connect to the server via SSH.
  2. Use any preferred method to upload the new image into the server as .png format, for example with the name image.png.
  3. Copy the image.png file to the right location while renaming this as powered-logo.png:

    CONFIG_TEXT: cp ./image.png /usr/local/psa/admin/cp/public/theme/images/logos/powered-logo.png

  4. Confirm to replace the existing file if prompted.

2. Change "plesk.com" title in the footer

For Plesk on Linux 18.0.34 and above:

Warning: File will be overwritten by Plesk update. Create backup after modifying it.

  1. Create a backup for the /usr/local/psa/admin/cp/public/javascript/main.js file:

    CONFIG_TEXT: cp -pr /usr/local/psa/admin/cp/public/javascript/main.js{,.backup}

  2. Execute the command below, replacing example.com with required URL instead of plesk.com:

    CONFIG_TEXT: sed -i.bkp -e 's/\("a",{href:e.product.siteUrl,target:"_blank",rel:"noopener noreferrer"},"\)plesk.com/\1example.com/' /usr/local/psa/admin/cp/public/javascript/main.js

For Plesk on Linux older updates:

Warning: File will be overwritten by Plesk update. Create backup after modifying it.

  1. Modify in text editor the following file: /usr/local/psa/admin/application/default/layouts/layout.phtml
  2. Find line #105 and change it to:

    CONFIG_TEXT: <a href="<?= Plesk_Config::get()->product->siteUrl; ?>" target="_blank">plesk.com</a>

Plesk for Windows

1. Change "Powered by Plesk" image in the header

  1. Log into the server via RDP.
  2. Upload the required image to the server in the .png format, for example with the name image.png.
  3. Rename image.png to powered-logo.png.
  4. Copy and paste the powered-logo.png to the following location:

    CONFIG_TEXT: %plesk_dir%admin\admin\cp\public\theme\images\logos\powered-logo.png

2. Change "plesk.com" title in the footer

Warning: File will be overwritten by Plesk update. Create backup after modifying it.

  1. Open the following file in a text editor: %plesk_dir%admin\application\default\layouts\layout.phtml
  2. Change line #102 to:

    CONFIG_TEXT: <a href="<?= Plesk_Config::get()->product->siteUrl; ?>" target="_blank">plesk.com</a>

  • To change the URL for the Powered by Plesk logo:

    At the moment it is not possible to change the URL for Powered by Plesk logo due to the changed structure inside layout.phtml file at the latest Plesk versions.
    As a workaround, use custom themes or develop your own extension.

Additional Information

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.