How to create reference fields for categories, authors & tags when migrating from WordPress to Webflow
How to create reference fields for categories, authors & tags when migrating from WordPress to Webflow
If you are importing your Wordpress blog posts with their authors / categories / tags, you can follow our guidance below to make sure Webflow links your blog posts with their authors, categories and tags.
Follow the step-by-step instructions below:
Step 1: Create collections in Webflow for categories / tags / authors
In Webflow, you will need to create a separate collection for:authorstagscategories if you are migrating these to Webflow, in addition to your blog posts content.
It would look like this:
You can name your collections as you wish, you do not have to name them as per the example above :)
Step 2: Create reference fields in Webflow for categories / tags / authors
In your Webflow blog posts collection settings, you will need to create a reference field for authors, for collections, for tags.
- For authors, a single reference field is usually used (if you have one author per blog post)
- For categories and tags, a multi-reference field is recommended, if you have several categories / tags per blog post.
It would look like this:
Step 3: Map your collections & Fields in your PowerImporter migration setup
In PowerImporter, once you have created your WordPress to Webflow migration:
- In Step 3 Collections: Map your authors, categories and tags
It would look like this:
- In Step 4 Fields:
Map your reference fields to your WordPress authors, categories and tags.
It would look like this:
That's it! You can Test&Review your migration before running it, and check that your blog posts are correctly linked to the authors / categories / tags that you had in WordPress.