How to add Meta Title & Meta Description for MPG-Generated Pages Using an SEO Plugin
When generating dynamic pages with Multiple Pages Generator, you can automatically create unique SEO titles and meta descriptions for each page by using an SEO plugin together with MPG shortcodes.
This allows every generated page to have optimized metadata based on the values in your MPG source file (CSV/Google Sheet).
✅ Requirements
Before you begin, make sure you have:
- An SEO plugin like Yoast or RankMath installed and activated. For this guide, we are using Yoast SEO plugin.
- An MPG project set up
- A source file with the columns you want to use for dynamic metadata
📌 Step-by-Step Instructions
- Edit the page/post that you are using as a Template for your MPG Project
- Scroll down to the Yoast SEO panel.
Inside Yoast’s SEO title field, enter your preferred title structure and insert MPG placeholders wherever you want dynamic data. For example:
{{mpg_city}} – Affordable {{mpg_service}} | Company Name
If your CSV/Google Sheet contains:
| City | Service |
|---|---|
| London | Plumbing |
| Bristol | Heating Repair |
Yoast will output dynamic titles like:
London – Affordable Plumbing | Company Name
Bristol – Heating Repair | Company Name
- Now edit the Meta description field inside Yoast and add your desired text along with MPG shortcodes like this
Get professional {{mpg_service}} services in {{mpg_city}}. Contact us for reliable and affordable assistance today! - Click Update to save the template.
- Now MPG will use these Yoast SEO values when generating the dynamic URL pages.
