Cantech Knowledge Base

Your Go-To Hosting Resource

How to Add a Logo or an Image to your Website via cPanel?

You will definitely want to show your logo or some image in the header of your website. This is a small touch but it makes your website look great and professional. Also, it helps show your brand and build trust. Moreover, adding them in the right place becomes very important.

To do this, you need to change the HTML or PHP file where the image should show. That is the file which controls how your website looks in that area. It is not too hard. You just need to know where to go and what to edit.

Some people use an FTP client to connect to their web server. That tool helps you reach your website files. You can then open the file and make the changes. But if you do not want to use FTP, you can also open the File Manager inside your hosting cPanel.

Moreover, cPanel gives you control over your website files without needing much technical knowledge. You can upload your logo or image with it and decide how it looks and where it sits.

Let’s learn the steps to make this possible in the easiest way possible.

How to Add a Logo or Image to Your WordPress Website Using cPanel

Adding your logo or any image to your WordPress site can be a smooth task if you follow the right way. With access to cPanel from your hosting provider, then you already have everything you need. Now let’s understand the steps one by one in a simple manner.

  1. First, you need to keep your image ready. Save it with a clean name. Do not use spaces. Use hyphens between the words. This makes the file name web-friendly. For example, use my-logo-image.jpg instead of my logo image.jpg. You can use formats like JPG or PNG. These are the most common and supported ones.
  2. Now go to your cPanel. Enter your username and password and open it. After you reach the main page, find and click on the ‘File Manager’ option. This is where your website files live.
  3. In File Manager, open the folder named ‘public_html’, which is your main website folder. After that, look at the top and click on the ‘Upload’ button. A new screen will appear. Here, you can select your logo image from your computer and upload it. Wait till the upload finishes. Once done, go back to the File Manager screen.
  4. Now comes the part where you tell your website where to show this image. From the ‘public_html’ folder, open the folder named ‘wp-content’. Inside that, open the ‘themes’ folder. Then find the folder of the theme you are using right now. The name of the theme folder should match the one active on your site.
  5. To add a logo to your header, find a file called header.php. Right-click on it and select ‘Edit’. A code editor will open. In this file, find the <head> section. Before the </head> line, you can paste the HTML code to insert the image.

Here is the code:

<img src="my-logo-image.jpg" alt="My Website Logo">
  • Change the file name to match your uploaded image name. Save the changes after pasting the code.
  • Now, open your website in a browser and refresh the page. You should see the logo showing up in the header.

This way, you added a custom image or logo to your site without using any plugin. You only used cPanel and a bit of HTML.

July 3, 2025