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
1answer
1k views

How to display Meta tag description for Views genereated page

How to display meta tag description for Views generated page. Title is displaying by views but not description. Even I entered in Views description PFA. Along with that I tried "Metatag Views ...
-1
votes
2answers
861 views

How to unset $page['#attached']['html_head_link'] from head?

Help me with this question please: how to unset html_head_link from pages in my Drupal 8.0.3 site. I mean, delete this META: <link rel="delete-form" href="/node/{id}/delete" /> <link rel="...
0
votes
1answer
81 views

Second Product variant image in fb share is not coming

I am using [node:field-product:0:field_images] metatag image. With which I am getting top level variant image always. How can I get my second product variant image in facebook share, when I select ...
0
votes
0answers
545 views

Adding custom image field to Metatags D8?

I'm using Metatags module on Drupal 8, all text fields seem to be working just fine. I'm trying to set the OpenGraph Image tag from an image field in my content type, called field_thumbnail. Here are ...
1
vote
1answer
276 views

How to not have an image in a facebook share

I have a problem Although many have the problem with not have the right image, I'm trying to have no image at all. I have ads on the page that get chosen because the content type has no image. I ...
0
votes
1answer
130 views

How do I edit individual meta tags on a panelized page?

Setup I have: Drupal 7, Panopoly 7.x-1.30, Metatag 7.x-1.13 I've installed and enabled both the metatag and metatag_panels modules. Perhaps I'm just not looking in the right place, but I don't see ...
0
votes
1answer
79 views

How to translate metatag token into text?

I'm trying to get the data from meta tag using node_load and for some reason when is using the default field, which is Token it gives me this ugly array. Instead of title and description that ...
0
votes
1answer
219 views

Canonical link for multidomain multisite

I have different domains in a site in Drupal 7, which is multidomain and multilanguage, using modules Domain Access and i18n. I have duplicate content in some URLs accross domains, and I want to avoid ...
2
votes
1answer
620 views

How to pass metatags from a node into a view?

I'm sending the information of my node into an external application and I need to be able to send the meta tags of that node as well. Unfortunately, I do not see the meta tag fields. My question is.....
1
vote
1answer
607 views

How to make metatags output proper images urls

I'm tring to create set of open graph tags for better sharing of my page. Unfortunatelly I cannot make Metatags output proper path to images attached to nodes. I have node with field_promoted_image. ...
0
votes
1answer
336 views

Node Metatag data migration with the Migrate-Update\Drupal-Upgrade module

I ask this for freshmen like myself, and others, who want to make sure they are making the best migrate-update possible: I have created a local copy of a Drupal 7 site and have also created a brand-...
1
vote
0answers
50 views

Context module not changing page title tag

Issue is, that in my case Context module isn't changing <title> tag of the page. I've configured Context module to change Meta tags (title and meta description) for specific view pages of my ...
4
votes
3answers
5k views

How do I overwrite meta tags?

In Drupal 7 I used this to unset unneeded elements and total overwrite meta tags: function MYTHEME_html_head_alter(&$head_elements) { // Unset all. $remove_array = array( '...
0
votes
2answers
105 views

Page title unable to overwrite default title

admin/config/search/page-title - Global default title is abc admin/config/search/page-title - Content type BOOK -> title is def meta tag -> Content -> page title is ghi meta tag -> Content -> BOOK -...
0
votes
1answer
44 views

Tokens keep 'disappearing', drush rr fixes the website for a time, sometimes hours sometimes seconds

As title suggests my problem is missing tokens, at random intervals tokens will just cease to work on the site in question which makes any webform entries that are emailed out to a client appear empty....
0
votes
1answer
71 views

How to automatically assign child taxonomy terms?

I'm building a virtual network like Instagram but its contents (images) are about a certain event. The strategy of selecting taxonomy terms is to display all of the tags (about 20 ones) and a ...
2
votes
2answers
872 views

Title tag not overriding after using meta tag module

I have created a content type for uploading user details. I have changed the title as UPLOAD PAGE using drupal_set_title. I have installed Meta Tag module, now page title remains same but title tag i....
0
votes
2answers
1k views

How to add metatag module data to the Search API indexes

I am in the process of building a new site that will have some content in the form of videos and PDFs. To make those more searchable I added the metatag module. We are also using the Search API to ...
1
vote
2answers
34 views

meta tags don't display when not authenticated

I'm using Drupal 7, Meta Tags/Open Graph meta tags 7.x-1.0-alpha6. When logged in, meta tags act as I would expect. I see the meta tags when I view the page source. When not logged in, the meta ...
1
vote
1answer
1k views

metatag for custom path [closed]

I need to set some info for SEO and sharing. I know that I can use the Metatag module for nodes, views and front page. In fact, I use it for them. Now I need to set some information for custom paths (...
0
votes
1answer
33 views

Aggregate & Compress CSS / JS Kills Metatag Fieldsets

I had to turn on aggregate and compress CSS and JS for my site as the performance was terrible and I was getting a lot of CSS errors (admin bar would disappear intermittently or not load correctly or ...
0
votes
0answers
179 views

Drupal 7 commerce meta tags not updating

I am working with commerce module in drupal 7. I have installed metatag module. It working as expected for drupal default entities like node, taxonomy etc. But when I try to add meta tags for ...
2
votes
0answers
51 views

Sites module: get the unprefixed, global URL

Drupal beginner here. I'm working on a site which uses the Sites module to create location-specific URL's for all nodes. So say we have three locations: New York, London and Hong Kong. Plus Global of ...
0
votes
4answers
857 views

Translate homepage meta Title and description

I have a Multilingual Drupal 7 site using i18. But how do I get my homepage meta Title and description translated?
0
votes
1answer
414 views

Need to override page/meta title on views page

I have installed meta tag modules,then enable the meta:views mudule for meta tags. After that i have added meta tags from views interface. Now I need to override these value on the basis of exposed ...
0
votes
1answer
807 views

How do I add og:image script in meta? [duplicate]

My facebook is grabbing the wrong image. I try to adding this open graph image in my head. <meta property="og:image" content="<?= $_GET['image'] ?>" /> and <meta property="og:image" ...
2
votes
0answers
45 views

Translate Node Metatags using modules: il8n + metatags

How does one configure translation of Node metatags (Title, Description) which allows the content author to translate metatags from the node edit page? Similar to how they translate individual fields ...
0
votes
1answer
79 views

What are the “Files” that Metatag module allows adding Metadata to?

In Drupal 7, if you go to Configuration > Search and metadata > Metatag > Settings (Tab) the module Metatag allows you to add Metatags to "Files"... What are these files?... As everyone are ...
0
votes
1answer
31 views

After uploading Metatag module all my Meta descriptions were deleted

I am using Drupal 7.37 and Metatag 1.5.7 (the fresh new version). After uploading Metatag module all my Meta descriptions where deleted ! moreover, I can't edit the meta of any page. What is going ...
0
votes
2answers
43 views

Meta-Tag Module that can use existing fields

On my node, I have several existing fields, such as field_introduction and field_book_tags. These fields were created by me and do not come with Drupal by default. I would like to know if there are ...
1
vote
1answer
608 views

How to translate the description metatag for a view

I have a multilingual site based on drupal 7 with Internationalization i18n and Metatags modules. I made a multilingual view and it works fine, I could translate all entities except the view-...
0
votes
0answers
46 views

While making custom URL, Meta tags is not displaying custom URL?

I'm using drupal 7 and using meta-tag module, while inserting the custom url I'm not able to get the custom url display in the source code. If i insert in meta-tag page title: user [node:title] | [...
1
vote
2answers
181 views

How to find meta tag source?

I have a site where the conditional, <!--[if IE]><![endif]--> <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> shows in the header, but I can't ...
2
votes
0answers
96 views

metatag_panels does not work on panel pages

I want to add the <meta name="keywords"/> tag to my pages. For this, I have installed the metatag module. It works fine for all pages except the panel pages. So I activate the ...
1
vote
0answers
43 views

Why are comma-separated tags gluing?

I installed metatags module and text list formatter. And I add in metatags keywords a string [node:field_tags]. And at my computer all is good, but on a server. It don't work. It looks like in the ...
3
votes
1answer
112 views

Translation table: How do I restore a deleted metatag string?

At the Translation table module (admin/config/regional/translate/translate), I was translating metatags. By accident I deleted one (metatag:global:og:street-address). I thought I just delete all the ...
1
vote
1answer
410 views

How to print meta property using custom meta tag module

I have implemented the custom meta tag module found here: http://www.phase2technology.com/blog/creating-custom-meta-tags-with-the-metatag-module/ The following code creates my new meta tag, the ...
0
votes
1answer
973 views

Create custom meta tag with the metatag module

Just this. I need to create some metatag using the metatag module: https://www.drupal.org/project/metatag Something like: <meta property="og:locale" content="en_US" /> <meta property="og:...
0
votes
1answer
583 views

How to correctly add meta tags to custom menu items?

I want to be able to use the meta tag module for everything my site, but currently I have no idea how to add meta tags to custom pages. For example, I have this page: function mymodule_menu() { ...
2
votes
1answer
2k views

Add a meta content=“noindex,nofollow” tag on a node created programmatically

Is it possible to add a meta content="noindex,nofollow" tag to the head on the page of a node created programmatically (and onl this node)? I have created the node like this: function ...
1
vote
1answer
477 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
2answers
555 views

ShareThis facebook posts previews are perfect, but posts empty images

I have been having problems with facebook integration, and I know there are lots of other posts about this as I've been looking through lots of them. I see plenty of information about FB picking the ...
0
votes
1answer
147 views

Fallback values for OG Meta Tags / hiding some unused OG fields

I'm using D7 and the Open Graph Meta Tag module to allow open graph meta tags to be set for various content types. With the OG:summary field if not specified it falls back to the first 200 characters ...
0
votes
1answer
366 views

Meta tags on Drupal blog home page

How can I overwrite meta tags on the Drupal blog homepage? I'm using a "Blog" module ( which creates a blog homepage with the URL www.mysite.org/blog ) and a "Metateg" module for generating and ...
1
vote
2answers
5k views

Metatag: How to programmaticaly set a node's canonical URL

I am using the metatag module for defining several meta tags. As a default value, canonical tags use '[current-page:url:absolute]'. Now I want to create a module that sets the value of the canonical ...
0
votes
1answer
459 views

How to replace metatag description using views argument?

I'm having trouble while trying to use views arguments for replacing metatags description. In the view title you can easily add the view argument for example "Blog posts in category %1" so the "%1" ...
1
vote
1answer
105 views

Print node tags in html header

I am trying to print the articles tags in the meta area of the html. I am able to print them, however, they contain all the markup, where as I just need the plain text, comma separated list, much like ...
2
votes
1answer
695 views

Add Meta tags and Title on hook_menu “page callback” [closed]

How to add Meta and Title tags to the document head on hook_menu "page callback"? Drupal 7
1
vote
1answer
720 views

How do i add Meta Tags on panels page?

I want to generate meta tags on panels node pages. I am adding Meta tags using nodewords module, it works fine on other node pages except panels generated layout. Any workaround for this?
1
vote
1answer
151 views

How can I translate string templates in Metatag module?

I use Metatag module. How can I set different string templates for each site language? Or translate these templates.