Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

After migrating from Wordpress to Drupal with the Wordpress Migrate and Migrate modules, content still contains media tags:


What is the best way to strip them out?

share|improve this question

1 Answer 1

Ah found the answer after some digging:

You have the Media module enabled, so the migration renders image references as media tags - you need to change your filter to interpret the tags


You have the Media module enabled, correct? And you're saying when you view (not edit) the nodes you're seeing the media embeds ([[{"type":"media"," etc.) instead of the image itself? Please go to /admin/config/content/formats and make sure that the text format you've chosen for the imported bodies has "Convert Media tags to markup" enabled.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.