Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Metatag Import Export CSV

Security covered Maintenance fixes only 1,603 sites

Part of the Metatag ecosystem · 16 projects

This module allows you to import and export metatags to and from CSV files. You can select content types to export metatags or upload a CSV to import them, with success and error messages provided.

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>
Drupal 9–11

Ask your assistant about Metatag Import Export CSV

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Apr 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Releases

Version Type Core PHP Release date
8.x-1.3 Stable 9–11 May 21, 2024
8.x-1.2 Stable 9–10 Apr 6, 2023