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:
1. Change "Powered by Plesk" image in the header
- Connect to the server via SSH.
- Use any preferred method to upload the new image into the server as .png format, for example with the name
image.png. -
Copy the
image.pngfile to the right location while renaming this aspowered-logo.png:CONFIG_TEXT: cp ./image.png /usr/local/psa/admin/cp/public/theme/images/logos/powered-logo.png
- 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.
-
Create a backup for the
/usr/local/psa/admin/cp/public/javascript/main.jsfile:CONFIG_TEXT: cp -pr /usr/local/psa/admin/cp/public/javascript/main.js{,.backup}
-
Execute the command below, replacing
example.comwith required URL instead ofplesk.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.
- Modify in text editor the following file:
/usr/local/psa/admin/application/default/layouts/layout.phtml -
Find line #105 and change it to:
CONFIG_TEXT: <a href="<?= Plesk_Config::get()->product->siteUrl; ?>" target="_blank">plesk.com</a>
1. Change "Powered by Plesk" image in the header
- Log into the server via RDP.
- Upload the required image to the server in the .png format, for example with the name
image.png. - Rename
image.pngtopowered-logo.png. -
Copy and paste the
powered-logo.pngto 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.
- Open the following file in a text editor:
%plesk_dir%admin\application\default\layouts\layout.phtml -
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.phtmlfile at the latest Plesk versions.
As a workaround, use custom themes or develop your own extension.
Comments
Please sign in to leave a comment.