PageHaul
How-to4 min read

How to import pages and posts into WordPress from a CSV

Import agent bios, area guides and blog posts into WordPress from a spreadsheet file with WP All Import: the steps, photo options and SEO fields.

Updated First published

On this page

WordPress doesn't import spreadsheet files (CSV) by itself. Its built-in import tool reads WordPress's own XML files. To bring in your agent bio, neighborhood guides, market reports or blog posts from a spreadsheet, most people use the WP All Import plugin. You upload the file, choose whether rows become pages or posts, drag each column into place, and run it.

Menu names are as of November 2026.

What do I need before importing?#

  • WordPress that allows plugins. Any self-hosted WordPress, or a WordPress.com site on the Personal plan or above (WordPress.com Help).
  • Your address pattern set. Go to Settings → Permalinks and choose it first. Changing it later changes every post's web address. If you're coming from Wix, our Wix to WordPress guide shows how to keep the same post addresses.
  • Separate files for pages and posts, if you have both. Pages are things like your bio, buyer and seller guides and area pages. Posts are your blog and market updates. Separate files make each import simpler.
  • Your IDX plugin set up on its own. Listing pages come from your MLS feed through an IDX plugin, not from the spreadsheet. Connect the feed on the new site; don't import listings as pages.

What does WP All Import's free version do?#

Its wordpress.org listing says it can import "any XML, CSV, Excel spreadsheet, or Google Sheets file into WordPress." The same listing puts these in the paid Pro version:

  • importing data into custom fields;
  • "importing images from URLs into the media gallery";
  • scheduled imports and custom code.

The listing's FAQ also says images can come "from many different sources, including URLs," so it isn't fully clear which image sources the free version handles. Test with three rows that include photos before importing everything. If the photos don't come through, Pro is the fix.

How do I import a CSV with WP All Import?#

  1. Go to All Import → New Import and upload your file.
  2. Choose to create Pages or Posts.
  3. On the drag-and-drop screen, drag columns into place: title to the title box, the page text to the content box, then slug (the last part of the web address), excerpt and date.
  4. In the Images section, add the main photo column and tick Set the first image to the Featured Image.
  5. Also tick Scan through post content and import images wrapped in <img> tags. The plugin's image options guide says this imports the photos inside the text and updates them to point at the new copies. Without it, those photos keep pointing at wherever they were before.
  6. Run the import, then open a few pages and check the text, photos and links.

How do I bring over the title and description Google shows?#

The title and description Google shows (meta title and description) belong to your SEO plugin, not WordPress itself. Install the free WP All Import add-on for your SEO plugin, such as the Yoast add-on or the Rank Math add-on. New fields then appear on the drag-and-drop screen.

How do I use a PageHaul export with WordPress?#

PageHaul's CSV for your new site export, with WordPress picked, gives you wordpress-pages.csv, wordpress-blog-posts.csv, redirects.csv and a READ ME. The content files have these columns:

Column Drag it to
Title Title
Content Content
Slug Slug
Excerpt Excerpt
Date Date
Author Author
Featured Image Images section
Featured Image Alt The photo description (alt text)
SEO Title, SEO Description Your SEO plugin's fields (with its add-on)
Social Image Your SEO plugin's social image, if it has one
Old URL Don't import it. It's there for your redirects.

Photos in the file are private links that work for 30 days. Import within that time so WordPress makes its own copies.

What about the redirects file?#

New addresses on WordPress may differ from your old site. Upload the redirects file with the free Redirection plugin: see how to set up redirects on WordPress. Old listing addresses usually can't be matched one for one, so point them at your new search page.

Where to go next#

The route guides for Wix to WordPress and Squarespace to WordPress cover the whole move. If you're leaving WordPress instead, see how to export a WordPress site. The page for agents and switching real estate website platforms show where PageHaul fits.

Step by step

  1. Set your permalinks

    In WordPress, go to Settings, then Permalinks, and choose the address pattern you want before importing anything.

  2. Install WP All Import

    Go to Plugins, then Add New, search for WP All Import, then install and activate it.

  3. Upload the file

    Start a new import, upload your spreadsheet file, and choose whether its rows become Pages or Posts.

  4. Drag the columns into place

    Drag the title, content, slug, excerpt and date columns into their boxes, and set up the Images section for the main photo and photos in the text.

  5. Run it on a few rows, then all

    Run the import, check a few pages for text, photos and links, then run the rest.

Common questions

Does WordPress have a built-in CSV import?

No. WordPress's own import tool reads WordPress XML files, not spreadsheet files. For a CSV, you need a plugin such as WP All Import.

Is WP All Import free?

Yes, the main plugin is free. As of November 2026, its wordpress.org listing puts importing images from URLs, custom fields and some other features in the paid Pro version.

Can I use WP All Import on WordPress.com?

Yes, on a plan that allows plugins. WordPress.com's help says plugins work on its Personal, Premium, Business and Commerce plans.

How do I import the title and description Google shows?

Install the free add-on that connects WP All Import to your SEO plugin, such as Yoast or Rank Math, then drag those columns into the SEO plugin's fields during the import.

Who this is for