Back to blog
6 min read Export Guides

How to Export All Site URLs to CSV or Excel in WordPress

A content audit, a redirect plan or a migration check all start with the same list: every address on the site. In Import Export by RockStarLab → Export → All Site URLs, select the sources you want, choose CSV or XLSX and download the file, one address per row. For a content audit, start with posts, pages and products. For a migration, add the category pages and archives that visitors can land on.

1. Choose All Site URLs in WordPress admin

Open the plugin’s Export screen, select All Site URLs and click Next Step. This export builds its list from sources registered on the site. It does not visit each address to measure HTTP status, inspect canonical tags or check whether Google indexed it.

All Site URLs selected in the WordPress export wizard
Choose All Site URLs for a file containing addresses.

If you need post titles, publication dates or editorial metadata alongside content, use the WordPress post export instead. For SEO titles and descriptions, follow the Yoast SEO audit guide or the Rank Math export guide.

2. Select the sources that belong in your inventory

Under Select URL Content Types, review the individual checkboxes and counts. Your theme and active plugins can register extra sources. A WooCommerce store may offer product URLs, the shop archive, product categories and product tags as separate choices. A source with zero URLs contributes no rows.

URL source selection with frontend content, archives, feeds and REST endpoints
Review the available sources and their counts before exporting.
What you need Sources to include How to use the result
Editorial page inventory Posts, Pages and Homepage. Add the public custom post types your team owns. Assign a reviewer to each landing page.
Store migration Products, product categories, brands and the product archive where available. Map old product and category URLs to their new destinations. For product data itself, use the WooCommerce product export.
Archive review Categories, tags, author archives, date archives and the relevant post type archives. Decide which archive pages should remain accessible after a redesign.
Technical endpoint inventory REST API root and collections, RSS, Atom and comments feeds. Keep these addresses in a separate file for integration checks.

The search-results source represents the WordPress search URL template. It cannot tell you which phrases visitors searched for. Likewise, this inventory describes the current WordPress installation. To recover an old landing page that was already deleted, consult an earlier export or another historical source.

3. Choose CSV or Excel and start the export

Click Next Step after selecting your sources. The URL workflow goes directly to Export Format because the output has a fixed URL column. Select CSV for a crawler or script, or XLSX for a workbook where you will add owners, decisions and redirect destinations. JSON, XML and ODS are also available in the format picker.

CSV format settings for a WordPress URL inventory
Enable the header row if your next tool expects a column named url.

For CSV, leave Include Header Row enabled if the receiving tool expects url. If it expects a plain list with a URL on the very first line, turn the header off. Give the file a recognizable name, such as before-redesign-{job_id}. The plugin adds the extension. Click Start Export.

4. Download and use the URL list

On the completion screen, review Items Exported and click Download Export File. Open the CSV or workbook and check a familiar page, a nested permalink and a taxonomy archive if one was selected. Each value is a full URL, including the domain of the site you exported.

Completed URL export with item count and download button
Compare the exported row count with your selection, then download the file.

For redirect planning, save the original file and make a working copy. Remove exact duplicate addresses from the working copy before assigning destinations: two selected sources can resolve to the same address. Keep the original URL intact, including its path and any meaningful query string. Add columns for the proposed destination, reason and observed response after launch.

For a crawl audit, supply the URL column to your crawler in list mode. The crawler can then collect the status, redirect target and other page-level signals. For an editorial review of category structure, the taxonomy export guide explains how to retrieve the term data behind archive addresses.

Export site URLs with an AI agent

Connect an agent to the site using the WordPress Abilities API setup guide. Ask it to call rsl-ie/list-url-sources first. This lets it select sources actually available on your installation. For example:

List the URL sources on this WordPress site. Prepare a CSV containing the homepage, published posts, pages and WooCommerce product URLs. Leave feeds, REST endpoints and archives out. Include the header row. Report any requested source that is unavailable.

Export the same selection as an Excel workbook. Wait until the job finishes and return the download link and exported row count. Compare the addresses with the CSV and report any differences. Leave site content and settings unchanged.

The agent starts an export with rsl-ie/export-start, using urls as the export type and the selected source identifiers in options.content_types. It can monitor the job with rsl-ie/job-get. Request the header explicitly for each format if another tool depends on it. Keep the source selection consistent when comparing two files.

FAQ

How do I export all URLs from a WordPress site?

Go to Import Export -> Export, choose All Site URLs, select the URL sources you want to include, choose an export format such as CSV or XLSX, and start the export.

Can I export WordPress URLs to Excel?

Yes. WP Import Export can export all site URLs to XLSX, which is the modern Excel workbook format.

Can I export WordPress URLs to CSV?

Yes. WP Import Export can export all site URLs to CSV. CSV is a good choice for SEO crawlers, spreadsheet review, scripts, and simple URL inventories.

What is the difference between CSV and Excel XLSX?

CSV is a plain-text table format that is lightweight and widely supported. XLSX is an Excel workbook format that is better for manual spreadsheet review, filtering, notes, and client-facing working documents.

Does All Site URLs export include taxonomy URLs?

Yes. All Site URLs can include taxonomy URLs such as categories, tags, product categories, product tags, and public custom taxonomy archives where available.

Does All Site URLs export include custom post type URLs?

Yes. The exporter can include public custom post type URLs, public post type archive URLs, feeds, and REST endpoints where supported by the active site setup.

Should I include REST API endpoints in an SEO URL export?

Include REST API endpoints when you are doing a technical audit or developer QA. For a clean SEO content URL list, you may prefer to export content URLs, taxonomy URLs, and archives separately from technical endpoints.

Is a URL export the same as a sitemap?

No. A sitemap is a search-engine discovery file, while a URL export is a working inventory you can use in spreadsheets, crawlers, redirect maps, QA tools, and migration projects.

Can I use the exported URL list for redirects?

Yes. Exported URLs are useful for redirect planning because they give you a starting list of old URLs that can be mapped to new destinations. For a step-by-step method that pairs old and new URLs by post ID, see building a 301 redirect map.

Which format is best for SEO tools?

CSV is usually the best format for SEO tools because it is simple, lightweight, and accepted by many crawlers and data-processing workflows.

Dmitriy
About author

Dmitriy

WordPress Developer with 15+ years of commercial experience. Elite Author on ThemeForest and creator of custom WordPress plugins. Passionate about clean code, performance optimization, and building useful tools for the WordPress community.

JOIN THE CONVERSATION

Comments 0

Have a question or a tip to share? Leave it below.

Leave a comment

Your email address will not be published. Required fields are marked *

We store your name, email and comment to show and moderate it; your email is never published. Spam protection is provided by Cloudflare Turnstile and profile pictures by Gravatar. See our Privacy Policy.


Try the plugin with no risks!

New users get 1 month with access to all premium features. Experience the most powerful WordPress data engine today.

Download Now
Get PRO for FREE