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 "Powered by Plesk" image in the header, replace the file with a custom image. The name of the file should remain the same:
-
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.png to powered-logo.png.
-
Copy and paste with the powered-logo.png to the following location
CONFIG_TEXT: %plesk_dir%admin\admin\cp\public\theme\images\logos\powered-logo.png
-
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.png file to the right location while renaming this as powered-logo.png:
# cp ./image.png /usr/local/psa/admin/cp/public/theme/images/logos/powered-logo.png
-
Confirm to replace the existing file if prompted.
- To change
plesk.com
title in the footer
NOTE: File will be overwritten by Plesk update. Create backup after modifying it
-
Log into the server via SSH.
-
Create a backup for the
/usr/local/psa/admin/cp/public/javascript/main.js
file:# cp -pr /usr/local/psa/admin/cp/public/javascript/main.js{,.backup}
-
Execute the command below, replacing example.com with required URL instead of plesk.com:
# 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
Modify in text editor the following line:
CONFIG_TEXT: <a href="<?= Plesk_Config::get()->product->siteUrl; ?>" target="_blank">plesk.com</a>
Change the line #105 in /usr/local/psa/admin/application/default/layouts/layout.phtml
NOTE: File will be overwritten by Plesk update. Create backup after modifying it
Modify the following line:
CONFIG_TEXT: <a href="<?= Plesk_Config::get()->product->siteUrl; ?>" target="_blank">plesk.com</a>
Change the line #102 in %plesk_dir%admin\application\default\layouts\layout.phtml
NOTE: File will be overwritten by Plesk update. Create backup after modifying it
-
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
/usr/local/psa/admin/application/default/layouts/layout.phtml
file at the latest Plesk versions.
As an a workaround, use custom themes or develop your own extension. -
To change URL to another one as well, add the following lines into panel.ini:
Additional Information
Below articles can be interesting:
How to change Plesk logo?
Comments
0 comments
Please sign in to leave a comment.