Introduction

MetaTag Import Export CSV can be used to import metatags form a CSV file or Export metatags to a CSV file. Module supports 4 fields which are provided by Metatag module.

Description

  • This module has two seperate forms for import and export.
  • Export - you can select the content type and a CSV file will be downloaded to Your System.
  • Import - Upload the CSV file and metatags will imported with success and error messages.
  • The CSV file may specify various fields:
    • entity_type: The type of the entity.
    • entity_id: The ID of the entity.
    • path_alias: The URL alias for the entity; may be used instead of the type and ID.
    • language: The translation of the entity to update.
    • field_machine_name: The name of the metatags field on the entity
    • Other fields are field name of tags.
  • Leave a cell empty if you dont want to change the value of that field.
  • Type "_blank" if you want to set a value of any field empty

Requirements

This module requires the following modules:

Installation & Use

Install as you would normally install a contributed Drupal module. See: https://www.drupal.org/docs/extending-drupal/installing-modules for further information.

Configuration

Configure user permissions in Administration >> People >> Permissions:

  • Metatag Import - Select the roles you want to give permission to import Metatags using the module.
  • Metatag Export - Select the roles you want to give permission to export Metatags using the module.

Form Page

  • Metatag-import - The form for metatag import can be accessed by going to /admin/config/search/metatag/upload
  • Metatag-export - The form for metatag export can be accessed by going to /admin/config/search/metatag/download

Limitations

  • By default on any node Metatags are created by default using Token module dynamically according to the body of the node. This module will not export those tags as they are generated according to the body and there is no entry of them in database. It will only export those Metatags which are not generated by token.

Drush

The Drupal 7 version of the module has support for Drush.

  • Metatag Export - drush metatag-export < type > (A file is created on the directory private:://metatag_import_export_csv).
  • Metatag Import - drush metatag-import < path to your CSV file>
Supporting organizations: 
Encouraging us to contribute more modules to community
Development of Drupal 9 version

Project information

Releases