Skip to main content

Post categories

  • Drupal Tips & Tricks
  • Drupal Howtos
  • Drupal Themes
  • X Twitter
  • youtube
Home
Drupal 4U
Drupal Development, Drupal Web Design, Drupal SEO
  • Home
  • Showcases
  • Services
  • Blog
  • Themes
  • About
  • Contact

Breadcrumb

  1. Home
  2. HowTos
  3. Meta tags not showing on Drupal front page

Meta tags not showing on Drupal front page

HowTos
May 08, 2014
Profile picture for user drupal
By drupal
  • facebook-f
  • twitter
  • envelope
  • print
44

If you are using the Drupal Metatag module it might happen, that the meta tags are not shown on the front page despite the fact that you defined them with "Global: front page". And this happens while they are shown on all the other pages.

One very typical reason is, that your theme has a specific configuration for the front page, that doesn't print the content section ($page['content']). This occurs for example with themes from More than themes if the "Drupal frontpage content" option is disabled. Another reason might be that the theme has a specific php file for the front page (Example: page--front.tpl.php) that doesn't print the content section.

To fix this you just add the following lines to the page.tpl.php



or these line to the page--front.tpl.php

Meta tags not showing on Drupal front page
Troubleshooting

Read more articles

Newer
Drupal Commerce Shipping by Weight
Older
How to remove the users' blog link? OR How to transform the Blog module into a single user blog?
  • Log in to post comments
Profile picture for user drupal
drupal
44
1
min read
A- A+
  • facebook-f
  • twitter
  • envelope
  • print

Contact Drupal 4U

Get in touch for questions and our Drupal development, design and SEO services.

Contact Us

We aim to reply the latest within 48h.

About Drupal 4U

We are a group of Drupal designers, developers and webmasters and we launched this website to share our experience and knowledge with you. Drupal is a free software package that allows you to easily organize, manage and publish your content, with an endless variety of customization. Drupal is open source software maintained and developed by a very large community of developers and users.

  • X Twitter
  • youtube

Drupal Services

  • Drupal Web Design
  • Drupal Development
  • Drupal SEO
  • Drupal Migration

Drupal 4U

  • Services
  • Showcases
  • Themes
  • Blog
  • About

Drupal Links

  • Official Drupal Website
  • Drupal Answers
  • More Than Themes
  • Theme Forest
  • DXPR: Drupal for Marketers
2012 - 2025, Drupal 4U

Footer menu

  • Contact
Home
Drupal 4U
Drupal Development, Drupal Web Design, Drupal SEO
  • Home
  • Showcases
  • Services
  • Blog
  • Themes
  • About
  • Contact
Clear keys input element