Questions tagged [meta-tags]

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

Filter by
Sorted by
Tagged with
1
vote
3answers
2k views

How to I add specific meta tags to panels pages?

I have panels pages, and I need to set specific meta tags per page. The meta tags module lets you set up defaults, but I need specific tags per URL. I can't seem to find this anywhere.
1
vote
1answer
131 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
402 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 ...
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 ...
-2
votes
1answer
1k views

How do I automatically generate meta tags on node creation using the Nodewords module?

I want to create meta tags automatically on node creation. I am using the Nodewords module.
1
vote
0answers
239 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
371 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
1answer
245 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: "[...
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
286 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 ...
2
votes
3answers
3k views

keywords and description for front-page of drupal 7 site

I managed to set page titles with the "Page Titles" module and keywords and description with the "Meta Tags (Quick)" plugin, however it seems like there is currently no way of having custom keywords/...
2
votes
1answer
478 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
726 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
2answers
758 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 ?
2
votes
0answers
580 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
86 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
54 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. ...
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) ...
3
votes
2answers
876 views

How can to make required the fields keywords and description of the metatags module?

I have a content type and I am interested in make required the field keyword and field description of the metatags module? anyone knows how can I do it? The field title is not required. The field ...
0
votes
1answer
210 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" ...
1
vote
2answers
532 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 ...
0
votes
3answers
4k views

meta tags not appearing

I am using Drupal 7, and I have strange problem with meta tags. For some content type even if I enter meta title, meta keywords and description, they don't get effective on page. Where in for some ...
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 ...
3
votes
1answer
990 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 = ...
1
vote
0answers
230 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

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
5k views

adding open graph metatags to head

Doe's anybody know how to add metatags such as fb:admins or fb:app_id into drupal 7 ? I use meta tags module for D7 but for some reason theese tags are not included. Thank you for answers.
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 ...
2
votes
2answers
6k views

Meta tags not showing on front page

I'm using the module "metatag" to make my website SEO friendly. This works very well for all pages except the front page. I go to modules -> Meta tags -> Settings -> Global: Front page There I set a ...
4
votes
1answer
1k views

Adding META tag to nodes with a specific topic

If a node has a term reference to a specific term (say termid 123) I want to add this META tag to prevent search engine spiders from indexing the page: <meta name="robots" content="noindex"> ...
1
vote
1answer
37 views

Meta Tags for viewers to not see

Hi Im using D6 do I have to make the meta output so people can see the meta data if I select to not output the meta tags so viewerss will not read my meta data will this affect my search engine ...
0
votes
1answer
1k views

Meta tags aren't saved with all content types

I use the module Meta Tags for adding meta data to my nodes. And it works like a charm. It's super easy to add meta tages like title, keywords, description,... even our IT-noob marketing team can do ...
2
votes
3answers
662 views

Omega theme meta tag problem on Google

I'm using Omega theme. But when search my site on Google, description is site menu items. I want change this area via spesific word. So, open my template.php file and add this codes: function ...
2
votes
1answer
3k views

How to add noindex / nofollow robot metatags to Views subpages

I have a big view with lots of filters, and Google and friends are killing one of my sites after a cache clear. How could I add noindex and nofollow metatags in this views' subpages header? I would ...
2
votes
2answers
734 views

Adding a Meta tags CMS function to drupal 7

I would like to be able to manually configure the meta tags, keywords and description,for each individual page of the sites. I couldn't find any module out there for drupal 7 that does so. Anyone ...
3
votes
1answer
2k views

Addind a meta noindex tag within template.php

I would like to add a meta tag noindex from within the template.php file of my theme. The purpose is to remove two nodes 404 error page from google's index, I would like to do it like so : // in ...
0
votes
3answers
1k views

Remove datatype attribute from meta about tag

I'm trying to validate my Drupal 7 website on http://validator.w3.org but I can't keep getting the following error: Attribute datatype not allowed on element meta at this point. This is because &...
0
votes
1answer
77 views

Unable to Edit <title> in Product Pages

I am unable to edit the tag on any of my product pages, however, I am able to edit on all other pages. The Page Title option or slot is not even shown on the edit of my products. I have the Page ...
5
votes
1answer
3k views

Set title bar programmatically

I have to set, programmatically, the title value of pages, only for browser title bar (this value is stored in a metatags_quick field) If I use "drupal_set_title" I change also the title displayed in ...
0
votes
1answer
522 views

How do you make a module integrate with the Rules module? [closed]

Rules has so many uses but if another module is not integrated to it, you can not use rules with it. Does anyone know how to integrate a module with rules? The module I would like to integrate is ...
3
votes
0answers
271 views

Does a user profile using profile2 work with the metatags module?

I am using the profile2 module. I am looking for a way to set my meta tags based on user profile type. For example, I have teachers, students, and parents as profile types and each of their profiles ...
2
votes
1answer
4k views

Clean and easy way to add meta tags to my D7 website

I'm looking for a easy way to add meta tags to my D7 website. Not that I'm afraid of code or anything like it, but the content managers (Marketing => biggest IT noobs you've ever seen) want to add ...
0
votes
1answer
3k views

Metatags for Views page? [duplicate]

Possible Duplicate: Meta tags on Views in Drupal 7 Tried metatags module, it is great, but can only set meta for Content, Tax, Front, etc, not for Views. How to set metatags info for Views page?...
-2
votes
0answers
24 views

Tags have not separated and they work like one sentence [closed]

When I put some tags in an article for instance tags (web, news, un) if I write next article and use one of them, they don't separate, mean they are like one sentence.
2
votes
1answer
2k views

Canonical URL Meta Tag for a View Page

I'm using the Meta Tags Module and it has been a solid way to add meta tags throughout the site - especially the increasingly important Canonical URL meta tag. I'm having trouble adding the same tag ...
1
vote
0answers
824 views

Metatags quick - no output

So I installed metatags quick module 7.x-2.3+3-dev on D7.12. Since my site is bilingual and I do not need any per entity variations, I decided to go the path-based way and checked the Use path-based ...
0
votes
1answer
667 views

Not display page with meta - front.tpl.php

When I use metatags and page--front.tpl.php, the meta will not be displayed. But when I remove the top page--front.tpl.php, meta displayed correctly. Page => <?php include_once 'templates/...