How to Add a Logo or an Image to your Website via cPanel?
You may wish to include your logo or any other picture in the website header while you are constructing your website. We’ll walk through the simple procedures to accomplish this in this guide.
You must make changes to the HTML or PHP file where you want the logo to appear in order to add one or more images to your website.
To connect to a web server and change your files, you will need to utilize an FTP client. As an alternative, the File Manager feature in your web hosting control panel can also be utilized.
Here are the steps for adding an image with the use of cPanel in your WordPress website:
- Save the image with an appropriate name i.e. separate the words with hyphens instead of spaces.
- Login to cPanel and go to ‘File Manager‘.

- Search and open the ‘public_html’ folder by clicking on the ‘Go’.
- Click on the Upload button.

- Browse and select the logo’s image file to upload in the ‘public_html’ directory.

Note: The image should have a proper format. We recommend you use png or jpg extensions.
- Go to the directory ‘wp-content’ then go to ‘Themes’ and access the theme folder that you are using currently.
- Open the file where you want the logo or image to be displayed. If you wish to add the image to the header, you have to access the ‘header.php’ file.

- Add the image by inserting the HTML syntax mentioned below. Make sure to place it prior to the end of the <head></head> tag in the header.php file.
<IMG SRC="demo-logo.jpg" ALT="some text">
- Once you click Save Changes, reload your website.

- The image will now be displayed on the header of your website.
