LoginSignup
3
3

More than 5 years have passed since last update.

各コンテンツページごとにOGタグを設定する方法

Last updated at Posted at 2014-10-17

下記のOpen Graph meta tags moduleを使って対応できます。

1.meta tagsモジュールをインストール

下記ページから、モジュールをインストールします。
(インストール方法はこちら→ http://qiita.com/s_s_k/items/4ae744d8173b8f278626)

Graph meta tagsモジュール
https://www.drupal.org/project/opengraph_meta

2.モジュールを有効化する。

admin/moduleページで有効化します。

3.環境設定で、コンテンツタイプにひもづける。

open graph metaモジュールの環境設定のチェックボックスで、Opengraphを使用するコンテンツタイプにチェックを入れます。

これで各ページ作成画面の一番下に、「Open Graph Meta tags」というボタンが表示されます。
クリックして、各種入力項目を埋める事ができます。

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3