Questions tagged [meta-tags]

The tags placed in the <head> element to provide meta information about the document are called meta-tags.

1
vote
1answer
124 views

Add meta tags when block exist on page and its cached

I have block with social sharing buttons. Need add 'og' and 'twitter' meta tags on page where block exists. I know that can add it throw drupal_add_html_head() inside block content render, but if ...
2
votes
0answers
385 views

How to add multiple meta tags with the same property?

I'm trying to set up OpenGraph tags on a page containing a video. I'm currently setting up the usual sorts of <meta property="og:video"...> tags with calls to drupal_add_html_head(), and that's ...
6
votes
1answer
3k views

Unable to generate og:image

I have installed the Metatag module, along with ImageCache Token, but it just does not work. I have tried many of the different available tokens in the Open Graph image field for my node, and none ...
0
votes
1answer
44 views

Customizing the Tag page shown by default in Drupal 7

I made a field in one of my content types as Tags. On the site, they are shown as follows:- mytag_1, mytag_2, mytag_3.. When I click on either of them, they show me all the pages which are tagged ...
1
vote
0answers
232 views

How to use drupal_set_html_head in a page created though my module

I have my module like this function mymodule_menu() { $items = array(); $items['mymodule'] = array( 'title' => 'mymodule', 'page arguments' => array('mymodule_form'), ...
1
vote
0answers
368 views

Drupal 7 meta description in block

How can i print a node meta description inside a block? Tried to use tokens but can't figure out the right path...
2
votes
2answers
3k views

Set Image Custom Field as Open Graph Image in Metatags

I have installed the Metatags module along with the Open Graph and Twitter Card extension modules. In my default content type, I have added an Image field that allows an image to be uploaded for use ...
0
votes
1answer
367 views

Install Meta Tags and Meta Tags Quick modules on the same site (D7)

Short: Are Meta Tag and Meta Tag Quick incompatible modules? I am configuring a site that has Meta Tag Quick module but it doesn't allow me to have a meta description tag. It creates an Open Graph ...
2
votes
1answer
241 views

Why the meta-tag module add “|” after the site name?

I am building a Drupal 7 site using the Metatag module. I know that on the settings of the module there are many tokens, and that's great. For example, the title under 'Global -> page title' is: "[...
3
votes
1answer
357 views

How to pull pictures and summary information from external web pages when posting links?

When posting a link (external web page) to my Drupal blog, is there a way to have Drupal automatically pull the picture and summary information from that link and include it in the post on my Drupal ...
0
votes
1answer
43 views

adding meta info to contents and filter them

the target is to be add a meta field for drupal custom content type. that meta tag should be selectable by user when adding a new article . the meta field is meant for language . (e.g. English / ...
0
votes
1answer
285 views

Control the data facebook fetch and post on “share”

I am building a drupal 7 site using Addthis module, Meta tag module and Open Graph meta tag module When clicking on the facebook share button - facebook fetch the relevant image properly, but a lot ...
1
vote
3answers
350 views

Best way to create HTML meta tags?

Issue Users will input text that need to be copied into (hidden) meta tag fields when the user have written them into normal fields on the input node. What I am looking for is either a module to ...
1
vote
1answer
710 views

Does using modules Metatags and Metatags Quick together cause SEO problems?

I am checking the SEO of my Drupal 7 site, where I installed the Metatag and the Metatag Quick modules. Does using both the modules together on a site cause SEO problems?
2
votes
1answer
464 views

Adding custom meta tags to nodes, dependent on author name?

I would like to add the meta tag `<meta name="robots" content="follow,noindex">` to all nodes (content type is article) written by specific authors, not only for their new articles but for the ...
0
votes
1answer
130 views

Nodewords: how do I use hook_metatags_default_values_alter?

I posted this question a week ago on the nodewords issue queue, but have had no reply and I'm stumped. I want to programatically set the default value for a couple of tags, but the code comments for ...
0
votes
0answers
25 views

Metatags only appears on node pages, but don't appear on pages [duplicate]

I think this is a simple question. When I build a new node and add some meta-tags on this node, this meta-tags appears normally when I access the node directly (http://www.example.com/node/<id>, ...
1
vote
0answers
722 views

Meta tags don't work for “custom content type”

The keywords and descriptions I type show up on all standard pages (articles, basic pages, etc), but they do not show up on any custom content types. All I see are the default meta-tags without the ...
1
vote
3answers
5k views

How to translate the description, and abstract metatag for the front page in a multilanguage site?

I am using the metatag module. In admin/config/search/metatags I am controlling my metatags for my front page using Global:Front page. Here it is my configuration How can I translate these metatags ...
1
vote
2answers
753 views

How to add meta title?

I want to add this line above my title <meta name="viewport" content="initial-scale=1.0, width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" /> How can I ?
0
votes
1answer
5k views

Add meta tag description, page title and abstract programatically

I have created a custom page using a tpl.php file and I want to add meta tag page title, abstract and description that page. Can anyone show me how to add these meta tags programatically to custom ...
0
votes
1answer
1k views

How to add conditional HTML meta tag using drupal_add_html_head to force only IE9 into compatibility mode?

Long story short: Some quite nice interative SVG map works fine on every major web browser thanks to svgweb. Except IE, of course. Every IE (8, 9, 10) needs a particular workaround. IE9 would only ...
2
votes
0answers
574 views

Get Meta Description Tag of a Page

I want to get the meta description of a page and pass it on as a parameter to another function. Something similar to get_post_meta() in WordPress where you can get the meta values after you pass the ...
1
vote
1answer
3k views

Metatag and page title modules conflict

I am using Drupal 7 with the Metatag module along with the Page title module. I have a requirement to build the title of a custom content type using some node fields and additional conditions that I ...
0
votes
1answer
84 views

Meta Tag are not display on some of pages

I adding meta tag on my site, but some of page showing page title as a Meta title, I want to change it with other name. But I don't know why it is not showing/Working on some of pages . I observed ...
1
vote
1answer
1k views

Adding rel=canonical meta tag in comment paginated node pages in Drupal 7

This question is same as that of Drupal 6 question: Adding rel=canonical meta tag in comment paginated node pages but for Drupal 7. How can I add rel=canonical tag in the paged urls ( like ?page=1) ...
1
vote
1answer
53 views

Metatag won't work for homepage?

The Metatag Module inputs (Such as Description, Abstract, ETC, and that includes Page Title) won't trigger on the home page. I already read in a forum thread that didn't give an in-program solution. ...
0
votes
1answer
204 views

How do you add Meta-Description with Metatag?

In the Node's options for Metatag, I have a token for the metatag "Description", i.e.: [node:summary]. If I want to write the description, should I delete it? Or write it in where the "summary" ...
0
votes
1answer
763 views

Adding rel=canonical meta tag in comment paginated node pages

I posted this question: Google showing pages with ?page=2 urls and also read this post from Google: http://googlewebmastercentral.blogspot.in/2013/04/5-common-mistakes-with-relcanonical.html I ...
1
vote
2answers
503 views

Google showing pages with ?page=2 urls

In one Drupal 6 based site there are product pages like : example.com/product1, example.com/product2 etc but in Google search engine result pages(SERP) it is instead taking us on clicking to url's to ...
4
votes
1answer
3k views

I can't translate description of front page in my multilingual site

I have a multilingual drupal 7 site. I want to translate my description metatag of my English frontpage version of my site. Any other page show ok in site Greek and English. The problem is it only ...
4
votes
1answer
813 views

How to noindex on paginated pages in Drupal 7?

This question is almost a copy of: How to noindex comment/reply in Drupal 7 However in this case i would like to know how to add noindex,follow on paginated pages. For example I want to add noindex,...
0
votes
2answers
1k views

Bulk Update Meta Tags?

I was wondering if it is possible to bulk update the meta tags for a particular content type? I have set the default to this: [node:field_description]. But all of the content is in the site. I'd ...
0
votes
1answer
1k views

How to set automatically meta tag from node content?

I use the Nodewords module and in the Readme file it talks about ability to automatically create metatag from node content but I don't find how to do. Each content type should be configured to ...
3
votes
2answers
2k views

Metatags trimmed body in description/summary

I am using the Metatag Module. Everything works as expected, till I checked the description for each node and saw that it is empty. Since there is no output with [node:summary] I changed it to [node:...
6
votes
1answer
1k views

How to adjust the length of [node:summary] for metatags?

How can I tweak the amount of characters for [node:summary], so that the description metatag never shows more than 150 characters? On admin/config/search/metatags/config/node I can only see for ...
2
votes
1answer
1k views

How to add content-language

How can i add this meta tag in my website : <meta http-equiv=“content-language” content=“en-us”> ? I am using metatags module but i dont see any option about this. Is there any other way ...
5
votes
1answer
2k views

Programmatically add custom meta description via metatag module

I'm trying to add a custom meta tag description for a custom module using the metatag module. I tried this without success: function mycustommodule_metatag_metatags_view_alter(&$output, $...
7
votes
3answers
1k views

How to reorder meta tags in Drupal 7

According to my clients requirement I need to change the order of meta tags, against the default display on page source. And he also wants to hide some of the meta tags which he thinks are not of use....
1
vote
0answers
225 views

Domain Acces + Internationalization + Metatag: How?

I am using those three modules i mentioned in title in my installation. I was able to localize it pretty much, but what about meta tags for different domains and languages? I am also using Domains ...
1
vote
1answer
1k views

Meta tags on taxonomy term pages not showing(using views 3)

I have installed Meta tags module, configured it, working well, but on taxonomy term pages: meta description, and meta keywords not showing. I am using Views to override taxonomy term pages. I tried ...
1
vote
1answer
1k views

Metatags not generated for views pages [duplicate]

I have installed the metatag module but it only works on the node pages and does not generate tags for the views pages. I have also tried the metatags_quick module which provide the metatags per path ...
-2
votes
1answer
846 views

How can I add keywords in my site without module? [closed]

I'm using Drupal 7 and want to add meta tags in my theme. How can i do it without any module?
3
votes
1answer
962 views

How to add a META tag in head conditionally to entity content

I need to put a meta NOINDEX tag in head conditionally to a CCK field value ("visibility=private") in one specific content type ("projects"). I read about drupal_add_html_head($data = NULL, $key = ...
2
votes
1answer
359 views

How to add rel=author when you have “multiple authors” in one site?

I would like to use Google rel=author meta tag, but I do have several authors writing in one site. I have a Drupal 7 site. Should I add a different authorship for each author? How should I manage in ...
1
vote
1answer
736 views

Mapping a csv field to Meta Title and Meta Description using feeds and metatag

I have a csv of node data that I want to import into drupal. I'm using the feeds parse, and I can map the Page Title, Body, and other fields just fine. The issue I'm having is trying to map the CSV ...
9
votes
4answers
2k views

How to force the canonical URL to use http?

On our page we use the Metatag module to show a canonical meta tag. In the configuration we use the [current-page:url:absolute] token. This works fine, but the problem is, that whether the page gets ...
2
votes
1answer
947 views

Get search to index meta tags keywords?

So I am using the Meta tags module and really would love if search would index the meta tag keywords of nodes. How would I go about this?
3
votes
4answers
4k views

Twitter Card Preview is failing with twitter:image

I'm trying to add Twitter Cards to my site so that tweets referencing my blog posts will be expandable and show extra info. I've installed the metatag module, enabled the Metatag: Twitter Cards sub-...
1
vote
1answer
1k views

Twitter Cards with Metatag module not working

I've got the metatag module installed and enabled. I've also enabled the MetaTag: Twitter Cards sub-module so that it will render meta tags for twitter cards, but I'm not seeing any twitter: metatags ...