MarlboroMan Posted July 18, 2016 Share Posted July 18, 2016 Hi To verify my site on google I need to add code like per sample below to my site's home page. I have tried entering thru admin panel/SEO URLs tab then index page but this is not working. Where do I find the file for the home page and what is it called? Please assist <html> <head> <meta name="google-site-verification" content="Fs-yhqdyhqhydhrhedhqwehdfrT-u0tDThFw" /><title> My title </title> </head> <body>page contents</body></html> Link to comment Share on other sites More sharing options...
vekia Posted July 18, 2016 Share Posted July 18, 2016 you can use html box free on module configuration page select:1) header hook2) to the contents paste meta code you attached 3) save changes 1 Link to comment Share on other sites More sharing options...
Simonas Invertus Posted July 19, 2016 Share Posted July 19, 2016 If you have FTP, you can choose verification by adding a file to your website. Link to comment Share on other sites More sharing options...
MarlboroMan Posted July 20, 2016 Author Share Posted July 20, 2016 Hi Thanks for the info but I still need to know where do I find the folder for the home page to paste this code? I need to know the file name? <meta name="google-site-verification" content="Fs-yhqdyhqhydhrhedhqwehdfrT-u0tDThFw" /> Link to comment Share on other sites More sharing options...
vekia Posted July 20, 2016 Share Posted July 20, 2016 header.tpl in your theme directory 1 Link to comment Share on other sites More sharing options...
MarlboroMan Posted July 21, 2016 Author Share Posted July 21, 2016 Thanks Vekia Exactly what I needed. Link to comment Share on other sites More sharing options...
BetterPresta Posted May 23, 2021 Share Posted May 23, 2021 On 7/20/2016 at 8:52 PM, vekia said: header.tpl in your theme directory I know this is old thread but I stumbled accross it by looking how to add the meta tag. Your advice lead me in the right direction, just "header.tpl" is as the name says for the "header" the verifcation codes needs to go into the "head"-HTML-Tags. header = The visible part of your Page where for example your top menu is located. head = Invisible for users, you will find it by inspecting the page above the "body" tags, here are links to the stylesheet and meta data. So if anybody need to add the Google Verifcation Code using the meta tag: Go to head.tpl in your theme folder and add (replace "[Your Google Meta Tag Goes Here]" with your google meta tag string): Quote {block name='google_verification'} [Your Google Meta Tag Goes Here] {/block} If you have cache enable clear your cache to get the changes active. If this doesnt work you may need to re-compile your template. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now