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
0 votes
1 answer
86 views

How to use the path suffix in the Metatag page title?

My articles currently have a Metatag page title [node:title]. Sometimes this results in duplicate page titles (articles can have the same title), which isn't desirable from a SEO point of view. ...
Jeroen's user avatar
  • 2,518
4 votes
3 answers
3k views

Meta tag module not visible under individual node

I have installed Drupal 8 on my local machine with Metatags module for SEO. The global settings are available to edit under Configurations → Search and Metadata → Metatag but the Metatag tab is not ...
proc indi's user avatar
0 votes
2 answers
2k views

The website is way too slow Error while sending QUERY packet. PID=11597 in /home/******/public_html/sites/all/modules/apdqc/apdqc.mysql.inc [closed]

all the pages on the website are taking more than 1 minutes to be displayed, and sometimes they are showing Connection Reset, I had a previous issue which caused the server to be down once I clear ...
Rafah Nehmeh's user avatar
2 votes
1 answer
56 views

When and where should I replace tokens on a custom path for metatag context?

I have custom tokens defined in hook_token_info() and hook_tokens(). I need these tokens to populate metatag data for the metagag module on a custom path. I have the context module installed as well....
vintorg's user avatar
  • 1,993
0 votes
1 answer
563 views

Add metatags import to migration

I have made a migration module to import the full content from a legacy Drupal 6 site to my new Drupal 7 site, using the migrate d2d module. Everything works fine, but I have just discovered that ...
TBJ's user avatar
  • 606
0 votes
2 answers
447 views

Metatag is not showing on front page whereas the front page is set from custom content type

I have a custom content type "Community" and a page from this content type is selected as front page on the drupal 7 site (from system/siteinformation). i am using Metatag module. All other pages are ...
Esar-ul-haq Qasmi's user avatar
0 votes
1 answer
215 views

How to set specific Meta Tag values while creating Article Content.?

I am using Meta tags(Module: Metatag) on my Article content type page. I want to set specific Meta Tag values depending on Article type I select for example by default check some check box for robots....
Sandeep Patil's user avatar
1 vote
1 answer
212 views

how to add tags to article pages [closed]

I'm new to Drupal. I accidentally deleted the Tag feature on our article page. Could someone explain how I can add it back to that page. It also populated on a specific page.
Keith Gustafson's user avatar
2 votes
2 answers
3k views

How to use drupal_add_html_head() to add the same metatag multiple times?

I have a node which has multiple images attached to it. And each image should also be printed in a <meta property="og:image" content="image_url" /> metatag. I have tried to use ...
Oana Hulpoi's user avatar
  • 1,408
0 votes
1 answer
1k views

Can we migrate basic Metatag data without customization? [closed]

I'm ought to Migrate-upgrade from D7 to D8 and deleted all modules besides Metatag (and its dependencies --> Ctools and Token). You might have an idea how could I keep all the basic Metatag data for ...
user avatar
2 votes
0 answers
239 views

How do I set meta tag information in a view display based off the contextual filter?

I have a display in a view (page) which uses a taxonomy term id as a contextual filter to choose what content to display. I need to be able to change the meta tag based on the value of the taxonomy ...
Lsakurifaisu's user avatar
1 vote
1 answer
32 views

Meta title content based on node fields

Is there a module that will allow me to set the default meta title for a content type to be the title field of the node displayed?
user61924's user avatar
1 vote
1 answer
100 views

Metatags generated from views results

I'm using the Metatag module to include appropriate Open Graph, etc. tags to delineate site content as it is shared on social media sites. The front page of our site is a Views Page, feature only the ...
vilde chaya's user avatar
4 votes
2 answers
3k views

Simplest way to get a full set of favicons and touch icons

So you've generated a big batch of favicons, touch icons, tiles and whatever to cover the full range of files a broswer might look for, and the generator you used has helpfully given you a whole lot ...
user56reinstatemonica8's user avatar
1 vote
1 answer
112 views

Duplicate Meta description on shared node across multiple subdomains

I have a drupal site with multiple subdomains which share a single node. I installed Yoast SEO for Drupal and added title / description etc. for each node. Now the problem is that it shows same meta ...
Sanz's user avatar
  • 11
1 vote
0 answers
308 views

Metatag OpenGraph for youtube video using Embbed Video field module

I cannot find a way to make Metatag Opengraph use the correct tokens for sharing video content type on Facebook. My field is field_video and I am using it in video in opengraph. Since this is not ...
Azz Kawa's user avatar
  • 749
1 vote
1 answer
3k views

Modify metatag description programmatically Drupal 8

I modified the meta-tag title for a view in hook_preprocess_html() using the following code. if (isset($variables['head_title'])) { $variables['head_title'] = $variables['page']['#title'] . " | ...
javiregpa's user avatar
  • 197
2 votes
0 answers
29 views

Why doesn't Page Title pull [node:title] in to all pages

In the Metatags section of each page, the [node:title] field is supposed to pull the data into the Page Title. This works for many articles on our site, but doesn't for and many seemingly random ...
Kim L's user avatar
  • 21
1 vote
0 answers
41 views

Site changes multiple title tags on load [closed]

My site is https://www.swiftdigital.com.au. Its built in Drupal 7 and uses Bootstrap 3 theme. The issue is with <title> tag. When I load the site in browser firstly it displays the correct site ...
shalini's user avatar
  • 11
0 votes
1 answer
46 views

Disable rewrite of html_tag?

In my module function hook_page_attachments(array &$page) { $og_image = array( '#type' => 'html_tag', '#tag' => 'meta', '#attributes' => array( ...
DD817's user avatar
  • 26
3 votes
1 answer
2k views

How can I add meta tags for pages created with views in Drupal 8? [closed]

I need to add meta tags for pages created using views in Drupal 8, I tried to use Metatag module. but it seems like there is no views integration on D8 version of this module. I also tried to install ...
Aghiad's user avatar
  • 309
1 vote
0 answers
117 views

Metatags module not rendering tokens in content

We created custom tokens for a site and they are included in things like titles and summaries, so are picked up by the metatag module. However, when I look at search results in Google, I see the ...
TimETown's user avatar
  • 141
0 votes
1 answer
34 views

Hotel Diamond and Metatag: the META information doesn't appear in front page

I have a site using Drupal 7 and the Hotel Diamond theme. I am trying to add META tags to all the pages in my site (description, Open Graph tags, etc.), and it's working in all of them except the ...
PaulJ's user avatar
  • 103
1 vote
1 answer
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 ...
NTT's user avatar
  • 1,389
0 votes
2 answers
1k 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="...
Platon's user avatar
  • 331
0 votes
1 answer
83 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 ...
dhiraj900's user avatar
  • 135
0 votes
0 answers
612 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 ...
Janey's user avatar
  • 1,270
1 vote
1 answer
420 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 ...
Chris Happy's user avatar
  • 1,897
0 votes
1 answer
164 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 ...
Blazemonger's user avatar
0 votes
1 answer
130 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 ...
itsdarrylnorris's user avatar
0 votes
1 answer
461 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 ...
Cesar's user avatar
  • 932
2 votes
1 answer
859 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.....
itsdarrylnorris's user avatar
1 vote
1 answer
632 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. ...
KraggTheGrimm's user avatar
0 votes
1 answer
531 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-...
user avatar
1 vote
0 answers
66 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 ...
nikitahl's user avatar
6 votes
3 answers
11k 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( '...
Platon's user avatar
  • 331
0 votes
2 answers
122 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 -...
peifa's user avatar
  • 485
0 votes
1 answer
51 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....
Daniel Waters's user avatar
0 votes
1 answer
87 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 ...
M a m a D's user avatar
  • 3,837
2 votes
2 answers
950 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....
user avatar
0 votes
2 answers
2k 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 ...
Patrick's user avatar
  • 1,310
1 vote
2 answers
42 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 ...
Amy's user avatar
  • 11
1 vote
1 answer
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 (...
ZioBudda's user avatar
  • 1,182
0 votes
1 answer
42 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 ...
Ashe Higgs's user avatar
0 votes
0 answers
228 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 ...
Navane's user avatar
  • 172
2 votes
0 answers
57 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 ...
ddunderfelt's user avatar
0 votes
4 answers
937 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?
Meez's user avatar
  • 149
0 votes
1 answer
577 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 ...
mvd's user avatar
  • 113
0 votes
1 answer
1k 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" ...
user73963's user avatar
  • 269
2 votes
0 answers
48 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 ...
LoveYouFyi's user avatar