Need to add SEO meta data to home page

If I need to update my public facing portal with this info how do I update just the home page and not the sitemaster page?

Can I keep this info in a file that is referenced or must I update the sitemaster?

<meta name="msvalidate.01" content="24433CE0D28CB575CB3C69F938FF4E073" />
<meta name="google-site-verification" content="PLMPRXO3xQjeoNMJ_ecME_iul3344GrZa9_7fSGuWTSyg" />

Open in new window

sullisnyc44Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mt_spyCommented:
if you don't want to change the master page
you can add the meta tag in the top of your Default.aspx in

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
      <meta name="msvalidate.01" content="24433CE0D28CB575CB3C69F938FF4E073" />
      <meta name="google-site-verification" ontent="PLMPRXO3xQjeoNMJ_ecME_iul3344GrZa9_7fSGuWTSyg" />

</asp:Content>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sullisnyc44Author Commented:
thank you

I have this on the page already:
<asp:Content ContentPlaceholderID="PlaceHolderPageTitle" runat="server">
	<SharePointWebControls:FieldValue id="PageTitle" FieldName="Title" runat="server"/>
</asp:Content>

<asp:Content ContentPlaceholderID="PlaceHolderAdditionalPageHead" runat="server">
<style type="text/css">
#wrapper { background-image: url('/Style%20Library/Images/globe.gif'); background-repeat: no-repeat; background-position: 8px 417px; }
#mid-wrapper {border-width:0px;}
#footer {margin:0px; border-width:0px; padding-top:20px}
</style>
</asp:Content>

<asp:Content ContentPlaceholderID="PlaceHolderMain" runat="server">

Open in new window



would this be in addition? at the top?
0
sullisnyc44Author Commented:
ouch - got this error:

Cannot find ContentPlaceHolder 'head' in the master page '/_catalogs/masterpage/SiteMaster.master', verify content control's ContentPlaceHolderID attribute in the content page. 

Open in new window

0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

mt_spyCommented:
any page that use "master-page" have two <asp:content> one of them as a header and the second as a body
try the code below and if it didn't work for you then
you have to open the "master page" and locate the ContentPlaceholderID that represent the header


<asp:Content ContentPlaceholderID="PlaceHolderPageTitle" runat="server">
        <SharePointWebControls:FieldValue id="PageTitle" FieldName="Title" runat="server"/>
        <meta name="msvalidate.01" content="24433CE0D28CB575CB3C69F938FF4E073" />
        <meta name="google-site-verification" ontent="PLMPRXO3xQjeoNMJ_ecME_iul3344GrZa9_7fSGuWTSyg" />
</asp:Content>

<asp:Content ContentPlaceholderID="PlaceHolderAdditionalPageHead" runat="server">
<style type="text/css">
#wrapper { background-image: url('/Style%20Library/Images/globe.gif'); background-repeat: no-repeat; background-position: 8px 417px; }
#mid-wrapper {border-width:0px;}
#footer {margin:0px; border-width:0px; padding-top:20px}
</style>
</asp:Content>

<asp:Content ContentPlaceholderID="PlaceHolderMain" runat="server">

Open in new window

0
sullisnyc44Author Commented:
is it okay that I added it to the "PlaceHolderAdditionalPageHead" section?
0
mt_spyCommented:
yes, you can add them in PlaceHolderAdditionalPageHead as it usually contains css, javascript ...

you can see the view page source to make sure it render the meta tag in the page
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.