branding: Custom Page Title, Logo, and Favicon
The branding
utility is used for setting up
your own branding for Plesk by modifying the page title and logo.
See more information about the Plesk page title and logo.
Usage
branding <command> <option 1> <param>
Example
The following command replaces the default Plesk logo
with image.png
stored in the /tmp
directory.
plesk bin branding --custom-logo -file /tmp/image.png
Commands
Command | Description | Example |
---|---|---|
--custom-title |
Sets the custom page title. |
To set the page title to “My Hosting”: plesk bin branding --custom-title 'My Hosting' |
--custom-logo |
Changes the default Plesk logo to one stored in a directory or accessible by a URL. Used with the |
To set the custom plesk bin branding --custom-logo -file /tmp/image.png |
--reset-title |
Returns the default page title. |
To bring back the default page title: plesk bin branding --reset-title |
--reset-logo |
Returns the default logo. |
To bring back the default logo: plesk bin branding --reset-logo |
--help or h
|
Displays the help reference for the utility. |
To see the utility help: plesk bin branding --help |
Options
Option | Parameter | Description | Example |
---|---|---|---|
-file |
<path>/<imagename>|<URL> |
Specifies the path or URL to the custom logo. |
To set the custom plesk bin branding --custom-logo -file /tmp/image.png To set the custom plesk bin branding --custom-logo -file https://example.com/image.png |
-url |
<URL> |
Specifies the URL that will be opened upon clicking the logo image. |
To have plesk bin branding --custom-logo -url https://example.com |
Setting a custom Plesk favicon
You can replace the default favicon of your Plesk installation with an image of your choice. For example, you can replace the default favicon with the logo of your company for the sake of branding.
Setting a custom favicon
-
Upload the images with names “favicon.ico” and “favicon.svg” to the “/tmp” directory of the server.
-
Move the files to the destination folder by running the following commands:
mv /tmp/favicon.ico /$PRODUCT_ROOT/admin/htdocs/images/logos/favicon.custom.ico
and
mv /tmp/favicon.svg /$PRODUCT_ROOT/admin/htdocs/images/logos/favicon.custom.svg
Now the default Plesk favicon is replaced with your image. You will see the new favicon on the browser tab.