I have a website in Magento and I am relatively new to this platform and I have basic notions of HTML and PHP. I want to make an account on Google Webmasters tools and I need to confirm that the website is mine.
I have a metadata that I need to insert it in the header of the website, but I cannot find the header section. Can someone help me with this please?
I did a quick google search on where the header file in magento is located it came out with this
app/design/frontend/base/default/template/page/html/head.phtml
And i assume default is the default theme ,if you have your own custom theme just follow the path to your theme.
I hope that this is what you are looking for.
You can add this code in Magento from backend. Here are the steps:
- Login in Admin panel
- From Top Navigation Click on
System
>> Configuration
- From Left Click on
Design
Tab
- In right Column Click on
HTML Head
Group.
- You can add your script code in
Miscellaneous Scripts
textarea