View Full Version : duplicate meta tags
Runner
07-Oct-2008, 01:23 PM
I'm using v8.5.1
I have put different meta descriptions on all my brochure pages via the General tab > Meta Descriptions
Google highlighted duplicate meta descriptions on the following pages:
shop.html, about-us.html, sitemap.html
On checking in FF the brochure pages, sitemap, contact-us etc are all using the meta description and meta keywords that have been entered on the shop.html page
Any ideas how I can get it to use the descriptions and keywords that have been put into the relevant pages in actinic?
Runner
08-Oct-2008, 08:21 AM
My index.html page is also using the meta tags from the shop.html page
So I have 4 pages showing as duplicate meta descriptions, even though they are all different in my desktop actinic.
Any help would be welcomed:confused:
jont
08-Oct-2008, 08:28 AM
Jo posted a solution last year http://community.actinic.com/showpost.php?p=176570&postcount=33 for duplicate tags.
There is a known bug about brochure pages and meta tags which v9.0.3 has meant to address.
Runner
08-Oct-2008, 04:42 PM
Thanks Jont but that solution addresses the <title>pagetitle</title>.
My problem is duplicate meta descriptions and meta keywords.
Runner
09-Oct-2008, 08:51 AM
I wonder if it's the block if's? Here is the code if it's useful and to summarise the probelm:
1. All the brochure pages and sitemap etc are showing the meta keywords and description as entered into the catalog page ie duplicated.
2. The section pages are showing the correct meta tags.
3. The Catalog (shop.html) page is showing the meta description but NOT the meta keywords.
<actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%22Section%22%29%20AND%20%28%3cactinic%3avariable%20name%3d%22GlbMetaKeywords%22%20%2f%3e%20%21%3d%20%22%22%29" >
<meta name="keywords" content="<actinic:variable name="GlbMetaKeywords" />" />
</actinic:block>
<actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%22Section%22%29%20AND%20%28%3cactinic%3avariable%20name%3d%22GlbMetaDescription%22%20%2f%3e%20%21%3d%20%22%22%29" >
<meta name="description" content="<actinic:variable name="GlbMetaDescription" />" />
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22" >
<actinic:block if="%3cactinic%3avariable%20name%3d%22MetaKeywords%22%20%2f%3e%20%21%3d%20%22%22">
<meta name="keywords" content="<actinic:variable name="MetaKeywords" />" />
</actinic:block>
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22" >
<actinic:block if="%3cactinic%3avariable%20name%3d%22MetaDescription%22%20%2f%3e%20%21%3d%20%22%22">
<meta name="description" content="<actinic:variable name="MetaDescription" />" />
</actinic:block>
</actinic:block>
pinbrook
09-Oct-2008, 09:01 AM
jont's reply also said
There is a known bug about brochure pages and meta tags which v9.0.3 has meant to address.
Runner
09-Oct-2008, 07:01 PM
....well it seems to work for me. All Title tags, meta descriptions and keywords checked in FF.
For the Catalog page
<actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3d%3d%20%220%22" >
<meta name="keywords" content="<actinic:variable name="GlbMetaKeywords" />" />
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3d%3d%20%220%22">
<meta name="description" content="<actinic:variable name="GlbMetaDescription" />" />
</actinic:block>
For all sections under the Catalog page
<actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3e%200" >
<actinic:block if="%3cactinic%3avariable%20name%3d%22MetaKeywords%22%20%2f%3e%20%21%3d%20%22%22">
<meta name="keywords" content="<actinic:variable name="MetaKeywords" />" />
</actinic:block>
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3e%200" >
<actinic:block if="%3cactinic%3avariable%20name%3d%22MetaDescription%22%20%2f%3e%20%21%3d%20%22%22">
<meta name="description" content="<actinic:variable name="MetaDescription" />" />
</actinic:block>
</actinic:block>
For all Brochure pages
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Brochure%22">
<meta name="keywords" content="<actinic:variable name="MetaKeywords" />" />
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Brochure%22">
<meta name="description" content="<actinic:variable name="MetaDescription" />" />
</actinic:block>
For the Sitemap page. Create two text variables that are editable at site level. EG <actinic:variable name="SiteMapMetaKeywords" /> and <actinic:variable name="SiteMapMetaDescription" />
Enter your meta keywords and description in Settings>Site Options
and
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Site%20Map%22">
<meta name="keywords" content="<actinic:variable name="SiteMapMetaKeywords" />" />
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Site%20Map%22">
<meta name="description" content="<actinic:variable name="SiteMapMetaDescription" />" />
</actinic:block>
Repeat above for Terms and Conditions page. Create two variables <actinic:variable name="TCMetaKeywords" /> and <actinic:variable name="TCMetaDescription" />. Enter your keywords and description in Settings>Site Options
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Terms%20And%20Conditions%22">
<meta name="keywords" content="<actinic:variable name="TCMetaKeywords" />" />
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Terms%20And%20Conditions%22">
<meta name="description" content="<actinic:variable name="TCMetaDescription" />" />
</actinic:block>
And again for Contact Us page
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Contact%20Us%22">
<meta name="keywords" content="<actinic:variable name="ContactUsMetaKeywords" />" />
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Contact%20Us%22">
<meta name="description" content="<actinic:variable name="ContactUsMetaDescription" />" />
</actinic:block>
Put these all together within the <head></head> tags
Now to extend on Pinbrooks Title tag solution for last year. Thanks Jo:
I have addressed the Contact Us, Sitemap, and Terms and Conditions pages only here. Create some variables for your Title tags and enter the text in Settings>Site Options as above. Then
<title><actinic:block if="%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%22Site%20Map%22%29%20AND%20%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%22Terms%20And%20Conditions%22%29AND%20%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%22Contact%20Us%22%29" >
<actinic:variable name="PageTitle" /> </actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Site%20Map%22">
<actinic:variable name="SiteMapTitleTag" />
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Terms%20And%20Conditions%22">
<actinic:variable name="TermsAndCondTitleTag" />
</actinic:block>
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Contact%20Us%22">
<actinic:variable name="ContactUsTitleTag" />
</actinic:block>
</title>
I hope this makes sense. If not let me know and I will try to clarify.
wesleythorne
07-Sep-2009, 12:55 PM
jont's reply also said
Hi, actinic has this bug been addressed yet this should not still be causing problems
wes
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.