General Topics

Access Header.PHP The Quickest & Easiest Way

If you don’t know how to access header.php file in WordPress. Then here I am writing an article with screenshots to understand about it in depth. Keep in mind while editing this file wrong coding can affect your site. So before editing this file, read in-depth about the coding which you want to place in this file.

How To Edit Header.PHP File In WordPress?

There are two ways to edit Header.PHP file in WordPress.

  • First one is via WordPress dashboard.
  • The second one is via CPanel.

Access Header.PHP File Via WP-Admin Dashboard

The file located in your theme files so you need to access the files of the theme. First, you will see the method to access this via WP Admin Dashboard.

  1. Login your WordPress dashboard.
  2. Click on Appearance » Editor. After it, you will see a list of files on the right side.
  3. Now find header.php. You can also find by pressing Ctrl+F, a search bar will open here just write the desired word and hit enter.

Access Header.PHP File Via CPanel

This is the method to edit WordPress Header.PHP using CPanel.

  1. Login your CPanel account.CPanel Login
  2. Now find out File manager.File Manager CPanel
  3. Click on Go button. Open Public HTML folder.Public HTML folder
  4. Now open the wp-content folder.WP Content Folder Through CPanel
  5. Here you will see themes folder just click on it for open the folder.Themes Folder
  6. On the next screen, you will see themes just open the activated theme and search for the this file.


Well done! you have learned the method to access Header.PHP file of WordPress via WP Admin Dashboard and CPanel. If you face any difficult to access this file then you can leave a comment in the comment section. If you like this then don’t forget to follow us on the Twitter.

Supporting Articles

Would You Like To Know About Dofollow Backlink With Bonus Tip

Most Burning Questions About Website Traffic Checker Tool

How To Edit WordPress Footer? With Pictures

Show More

Muhammad Awais Azeem

"Global Blurb since 2015" M. Awais Azeem is the CEO and founder of Global Blurb. The blog designed to share ideas about different topics. My profession is Accountant and I have completed CA Inter from Institute of Chartered Accountants of Pakistan. Me and my time present to sort out any issue regarding SEO, Blogging, Content Marketing and WordPress. Hire Us and Goodbye difficulty.

Related Articles

Want to contribute