Ultimate Guide - Programmatic SEO on Wordpress with CapGo.AI's Case Studies via CSV
To do programmatic SEO with WordPress using a CSV or Excel file, the goal is to automatically generate pages or posts based on structured data (e.g., locations, keywords, descriptions), just like at-scale landing pages.
Here’s a clear, actionable guide:
✅ Step-by-Step Guide for Programmatic SEO with WordPress + CSV
🔧 Tools You’ll Need
- WordPress site (with admin access)
- CSV or Excel file (save as
.csv
) - One of these plugins:
- WP All Import (most popular)
- Really Simple CSV Importer (simpler, more limited)
- Optional: Advanced Custom Fields (ACF) for custom fields
1. Prepare Your CSV File
Create your spreadsheet with columns that match the fields of a post or page.
Example CSV:
post_title | post_name | meta_title | meta_description | content |
---|---|---|---|---|
Best Yoga in NYC | yoga-nyc | Yoga NYC - Top Studios | Discover NYC yoga spots | <p>Yoga tips...</p> |
Best Yoga in LA | yoga-la | Yoga LA - Top Studios | LA yoga studios guide | <p>More info...</p> |
Save it as .csv
from Excel or Google Sheets.
2. Install & Configure WP All Import
- Go to Plugins > Add New
- Search for “WP All Import” and install it
- Activate it
🟡 Note: The free version lets you import Posts, but to map to Custom Post Types or ACF fields, you’ll need the Pro version + ACF add-on.
3. Start the Import
- Go to All Import > New Import
- Upload your CSV file
- Choose to create Posts (or Pages, or a custom post type like “Location Pages”)
- Drag-and-drop CSV columns into the WordPress post editor:
- Map
post_title
to Title - Map
post_name
to Slug - Map
content
to Content - Map SEO fields to custom meta fields (like
_aioseo_title
,_aioseo_description
, etc. if using All in One SEO or Yoast)
- Map
4. Map SEO Meta Fields (Yoast or AIOSEO)
If you use an SEO plugin:
For Yoast SEO, map:
SEO title
→_yoast_wpseo_title
SEO description
→_yoast_wpseo_metadesc
For All in One SEO, map:
SEO title
→_aioseo_title
SEO description
→_aioseo_description
5. Run the Import
- Review the preview
- Click Confirm & Run Import
- WordPress will automatically generate posts/pages for each row in your CSV.
6. Customize Page Templates (Optional)
Use page templates or Elementor / Gutenberg blocks to customize the look and feel. Dynamic content can be placed using shortcodes or ACF fields.
7. Submit to Google Search Console
Once imported:
- Ensure all URLs are crawlable
- Submit the updated sitemap.xml to Google for indexing
🧠 Bonus Tips
- Use Excel formulas to generate thousands of variations (e.g., “Best Plumber in {City}”)
- Add internal links dynamically
- Use categories/tags for filtering and siloing
- Add geo-based schema using custom fields or plugins
📌 CAPGO AI Service Model:
CapGo AI provides full AI programmatic SEO and GEO service.
During the collaboration process, CAPGO will provide page structure recommendations and content field requirements.
The client team will then complete the design and configuration of the Wordpress template (such as Liquid templates and Metafields settings) according to the requirements.
Subsequently, CAPGO will generate large-scale SEO content based on the template structure and deliver it to the client via CSV or API for bulk import into Shopify, enabling efficient programmatic landing page construction.