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 should remain the same:
On Windows:
- 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 aplace powered-logo.png to the following location
Onyx:%plesk_dir%adminhtdocstheme-skinssunny-dayimageslogospowered-logo.png
Obsidian:
%plesk_dir%adminadmincppublicthemeimageslogospowered-logo.png
On Linux:
Onyx:
/usr/local/psa/admin/htdocs/theme-skins/sunny-day/images/logos/powered-logo.png
Obsidian:
/usr/local/psa/admin/cp/public/theme/images/logos/powered-logo.png
-
To change
plesk.com
title in the footer
Plesk on Linux 18.0.34 and above:
- 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
Plesk on Linux older updates:
Modify in text editor the following line:
<a href="<?= Plesk_Config::get()->product->siteUrl; ?>" target="_blank">plesk.com</a>
Onyx: change the line #11 in /usr/local/psa/admin/application/default/layouts/_footer.phtml
Obsidian: 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
On Windows:
Modify the following line:
<a href="<?= Plesk_Config::get()->product->siteUrl; ?>" target="_blank">plesk.com</a>
Onyx: Change the line #11 in %plesk_dir%adminapplicationdefaultlayouts_footer.phtml
Obsidian: Change the line #102 in %plesk_dir%adminapplicationdefaultlayoutslayout.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:
[product]
siteUrl = http://example.comPanel.ini file location:
- (Plesk for Linux)
/usr/local/psa/admin/conf/panel.ini
- (Plesk for Windows)
%plesk_dir%adminconfpanel.ini
Additional Information
Below articles can be interesting:
How to change Plesk logo? - (Plesk for Linux)