Ultimate Guide - Programmatic SEO on Wordpress with CapGo.AI's Case Studies via CSV

Ultimate Guide - Programmatic SEO on Wordpress with CapGo.AI's Case Studies via CSV
CapGo AI's founder YG Yichen shares AI SEO insights at Antler in Singapore

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_titlepost_namemeta_titlemeta_descriptioncontent
Best Yoga in NYCyoga-nycYoga NYC - Top StudiosDiscover NYC yoga spots<p>Yoga tips...</p>
Best Yoga in LAyoga-laYoga LA - Top StudiosLA yoga studios guide<p>More info...</p>
Save it as .csv from Excel or Google Sheets.

2. Install & Configure WP All Import

  1. Go to Plugins > Add New
  2. Search for “WP All Import” and install it
  3. 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

  1. Go to All Import > New Import
  2. Upload your CSV file
  3. Choose to create Posts (or Pages, or a custom post type like “Location Pages”)
  4. 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)

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.

Read more