Metadata design area printing page metadata incorrectly


(Aneta Puha) #1

Hi, Im not sure when the page metadata changed and have only just noticed now. Rather than printing in the normal layout:

<meta name="Description" content="the page description" />

<meta name="Keywords" content="list of keywords" />

...

each page is printing in the following format and its causing bad SEO reports:

<meta Description="DC.Description" content="the page description tag" />

...

 

Where do I fix this?

 

My code:

 

I have the following code in the design file:

<head>

  <MySource_AREA id_name="metadata" design_area="metadata" />

...

</head>

 

And the page prints as follows:

<meta Description="DC.Description" content="the page description tag" /> <meta Keywords="DC.Keywords" content="list of keywords" />
<meta Author="DC.Author" content="our name" />

 

Squiz Matrix version 5.1.11.0


(Peter McLeod) #2

Hi

You might need to check what is defined in your metadata schema Asset - in each field's details screen for the 'Text for Name Attribute' and 'Text for Value Attribute' settings.

 

Eg, you would want:

 

Text for Name Attribute = name

Text for Value Attribute = content

 

But looks like yours might be:

 

Text for Name Attribute = Description

Text for Value Attribute = content

 

Thanks

Peter


(Aneta Puha) #3

Yes that's it! I was hoping it was something simple I had over looked.

Thank you for the speedy reply. I've updated the Text for Name and Value fields and now have to wait for the schema to regenerate (this may take a while).