Adding Google Meta tag
depending on the theme you end up using (particularly if it's been highly customized) some of these might not work.. on our default plain yogurt theme however meta description, keywords, and i think even a title overwrite field should be applied in the header area if they are set in properties for a page.
I'm having a problem with Google verification. I think this is the same issue as this string. I added a new page attribute in the dashboard and added the attribute in the custom field (properties area of my home page). I cannot get anything to show up in the area requested by Google to verify my site. (sample below...
Place meta tag after the <head> tag and before the </head> tag
<meta name="verify-v1" content="4IrA+N0iHsnTvdsEeXdXIcM8rW0oMyqkstiS6jki7hM=" />
<title> My title </title>
To be honest, I don't even know how to get to the html code area to copy the meta name into it. I was hoping it would show up when I added the custom attribute.
Any help for a rookie?
The only place I've found, so far, is in 'header_required.php' - which is hard coded for the following:
If this is the case then we have to include this in the header template - if you have one.
Wouldn't it be better to walk through the attributes and outputting the information for Meta data?
In public_html/concrete/themes/elements/header.php...I was able to edit from there and copy in the google verification tag. Not sure is this was the right place but it worked. Here it is for reference:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<meta name="verify-v1" content="4IrA+N0iHsnTvdsEeXdXIcM8rW0oMyqkstiS6jki7hM=" >
<!-- Site Header Content //-->
<style type="text/css">@import "<?php echo $this->getStyleSheet('main.css')?>";</style>
The web site seems to be working this time after I made the change...FYI, I think it changes the check box to 'Pretty URL's' when I did this which caused some pages to disappear until I checked off the box again.
On a related note, I would like to know where to copy the code provided when I choose the 'Pretty URL' option...I have no idea where to copy it to.
Thanks for the reply...BTW, I'm not sure what you're last sentence is referring to.
I still haven't figured out how to include my logo up in my header:
Putting in header.php should work with pretty URL enabled.
As for the logo - I'll have a play to see how simple it is...
Try changing every occurrence of
Not very elegant but it works...
we are adding a general meta tag area where you can put a big chunk of code that will appear in header tho.