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
9
votes
4answers
13k views

How to define Meta tags on Views? [closed]

Is there any module or some configuration that I can define the meta tags for the views page display in drupal 7 using Views 3.0?
15
votes
3answers
20k views

How do I add a meta tag in <head>…</head> section?

How can I add the following meta tag inside the <head>...</head> section in Drupal 8? <meta http-equiv="X-UA-Compatible" content="IE=edge" />
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 ...
3
votes
2answers
855 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 ...
3
votes
4answers
8k views

Meta Tags on Frontpage

It doesn't seem I can get my meta tags to appear on the page--front.tpl.php on a Drupal 7 site. I feel like I have all the correct settings in the Meta tags module configuration, and I have cleared ...
1
vote
2answers
1k views

Programmatically changing the global site name?

I'm making a multi-site setup using the same install and the same database, basing it off domains. I'm trying to programmatically alter the site_name variable so that it displays a different site name ...
18
votes
3answers
18k views

How to remove certain meta tags?

How can I remove these tags from my pages in Drupal 7? <link rel="shortlink" href=" .... " /> <meta name="Generator" content="Drupal 7 (http://drupal.org)" /> <link rel="canonical" ...
4
votes
6answers
30k views

How to add custom metatags in drupal 7?

I need to add a custom metatag to D7 site, something like here: http://groups.drupal.org/node/83069. What are the possible options? I know there is a metatag module, but seems it doesn't support ...
9
votes
1answer
6k views

Trying to add an html head tag in Drupal 8, beta 2

With Drupal 8.0 beta2, drupal_add_html_head() has been deprecated in favor of #attached. So the old way was: function MYTHEME_page_build(&$page) { $viewport = array( '#type' => '...
7
votes
5answers
6k views

How do I add custom meta tags to a view page?

There doesn't seem to be an answer for Drupal 8 yet. I have the metatag module installed, it's a great module, but doesn't seem to address views at all. This post for Drupal 7 says that it comes with ...
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 ...
2
votes
2answers
5k 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 ...
5
votes
2answers
2k views

Drupal 8 Metatag and Media Entity modules to set meta image tags

On a Drupal 8 content type, I have a field with an entity reference field to a Media Entity field. I would like to use the Metatag module to set the image that is on this Media entity in the og:image ...
1
vote
2answers
504 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 ...
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 ...
1
vote
1answer
638 views

How to override canonical URL?

Following the Translating content documentation we have setup our site to have Spanish, English, and Japanese. When we are adding, editing, deleting, and publishing pages in different languages we ...
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 ...
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
469 views

Metatags and Commerce - pass taxonomy metatags to commerce product view

I have a Commerce Product view that pulls in products based on a taxonomy term in the url (category/taxonomy-term). This is done using relationships. Ideally, I would be able to edit metatags for ...
0
votes
1answer
878 views

Dynamic Views Pages - How to add in meta tags to these generated pages?

I have 1000s of dynamically generated views pages using contentual filters. I want to be able to take certain keywords from these generated pages and add them to the on page meta tags. Currently I do ...
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 ...