How to Import an iLocalAEO Demo Site into WordPress (Step-by-Step)
Export your AI demo site to a client's WordPress site - token setup, plugin import, and troubleshooting.
iLocalAEO team
Product guides & local outreach tips
At a glance
- Starter+ plan required
- One import per export token
- LS Importer plugin on WordPress
- Public HTTPS app URL required
What WordPress export does
After you generate a demo microsite in iLocalAEO, you can push structured content into a client's WordPress install with the LS Importer plugin. The plugin calls your iLocalAEO account over HTTPS - no manual copy-paste of HTML blocks.
- Content-only import (pages, copy, structure)
- Bearer token auth on GET /api/wp-export/{slug}
- One successful import consumes the token
- Re-import requires a new token from the site editor
Plan requirement
WordPress export is available on Starter and above. Free accounts can still generate demos and share preview links, but export tokens require an upgrade.
Before you start
Generate a demo site first
Open a lead Work tab or /sites, pick a design template, and wait until the site status is LIVE.
Confirm your public app URL
Remote WordPress hosts must reach your iLocalAEO server over HTTPS. localhost URLs fail when the plugin runs on Hostinger, WP Engine, or any remote host.
Install the LS Importer plugin
Download the zip from the WordPress Export panel in the site editor, upload it in WP Admin, and activate the plugin.
localhost will not work for remote WordPress
If NEXT_PUBLIC_APP_URL points to localhost, a WordPress site on another server cannot call /api/wp-export/{slug}. Use your production HTTPS domain before importing.
Related guide
How to generate a demo site for a prospect
Generate export token and copy credentials
Open the demo site editor at /sites/[id]. Scroll to the WordPress Export panel below the site preview.
Click Generate export token
Available when the site is LIVE and your plan includes WordPress export.
Copy Export Token and Site Slug
Both fields appear in the panel. Paste them into the LS Importer settings in WordPress.
Set App URL in WordPress
Use your public iLocalAEO base URL (HTTPS) - the same domain where you log in to the app.
WordPress Export panel (site editor)
- Export Token
- Bearer token for the plugin
- Site Slug
- Demo site slug (not the lead name)
- Plugin download
- LS Importer zip from GitHub releases
- API endpoint
- GET /api/wp-export/{slug}
Run the import in WordPress
In WP Admin, open the LS Importer settings. Enter App URL, Export Token, and Site Slug, then preview and import. The plugin sends Authorization: Bearer {token} to fetch JSON from iLocalAEO.
Preview import
Confirm pages and content look correct before committing.
Import
Creates or updates WordPress pages from the demo content.
Token consumed
After one import, the token is used. Generate a new token in iLocalAEO to import again.
Pair with your pitch
Send the live demo link first, then offer WordPress import as the deliverable once they sign. Combine with a proposal PDF from the audit for a strong close.
Related guide
Create a proposal PDF from an audit
Troubleshooting
- 401 Unauthorized - wrong or expired export token; generate a new one
- 403 Plan required - upgrade to Starter or above
- Connection error from WordPress - App URL is localhost or blocked by firewall
- Token already used - one import per token; rotate token for a re-import
- Site not LIVE - wait for generation to finish before exporting
Re-import needs a fresh token
Each successful import consumes the current export token. Click Generate new export token in the site editor, paste the new values into WordPress, and run import again.
Related guide
Send your first outreach email with the demo link
Frequently asked questions
- What WordPress export does?
- After you generate a demo microsite in iLocalAEO, you can push structured content into a client's WordPress install with the LS Importer plugin. The plugin calls your iLocalAEO account over HTTPS - no manual copy-paste of HTML blocks.
- Before you start?
- Generate a demo site first: Open a lead Work tab or /sites, pick a design template, and wait until the site status is LIVE. Confirm your public app URL: Remote WordPress hosts must reach your iLocalAEO server over HTTPS. localhost URLs fail when the plugin runs on Hostinger, WP Engine, or any remote host. Install the LS Importer plugin: Download the zip from the WordPress Export panel in the site editor, upload it in WP Admin, and activate the plugin.
- Generate export token and copy credentials?
- Open the demo site editor at /sites/[id]. Scroll to the WordPress Export panel below the site preview.
- Run the import in WordPress?
- In WP Admin, open the LS Importer settings. Enter App URL, Export Token, and Site Slug, then preview and import. The plugin sends Authorization: Bearer {token} to fetch JSON from iLocalAEO.
- Troubleshooting?
- 401 Unauthorized - wrong or expired export token; generate a new one. 403 Plan required - upgrade to Starter or above. Connection error from WordPress - App URL is localhost or blocked by firewall. Token already used - one import per token; rotate token for a re-import. Site not LIVE - wait for generation to finish before exporting
Continue reading
Related guides from the iLocalAEO blog
Export your first demo to WordPress
Generate a demo site, open the site editor, and copy your export token into the LS Importer plugin.