# Bulk SEO Importer Professional (dev notes)

- **Install dependencies:** run `composer install` in the plugin folder to bundle the Freemius SDK into `/vendor`.
- **Freemius slugs:** app slug = `seo-bulk-uploader` (keep), plugin folder/slug = `bulk-seo-importer-professional`. Lite’s wp.org slug remains `seo-bulk-importer`.
- **UI:** same Tools page slug (`tools.php?page=bulk-seo-importer`). Pro auto-deactivates Lite on activation via `bsi_fs()->set_basename( true, __FILE__ )`.
- **CSV columns:**  
  `post_id, slug, seo_title, meta_description, focus_keyword, canonical_url, og_title, og_description, twitter_title, twitter_description, featured_image_url, featured_image_alt`
- **Trial throttle:** 10 updated posts per day while on Freemius trial (3 days, payment required).
- **Supported SEO plugins:** Yoast, Rank Math, AIOSEO (per-post meta keys mapped). Fallback keys are provided when none are active.
- **Image handling:** `featured_image_url` sideloads and sets as featured image; `featured_image_alt` updates the attachment’s ALT (or the current featured image if URL not provided).
- **Export:** Pro export adds CPT selection and outputs all Lite + Pro columns.

> Ship Lite on wp.org without any Freemius SDK or license checks. Pro (sold via your site) includes the SDK and premium logic.
