Recently, one of our users asked us if it was possible to export all WordPress URLs in plain text or a CSV file? Sometimes you may need those URLs for migrating a website or setting up redirects. In this article, we will show you how to export all WordPress URLs in plain text.
WordPress comes with built-in tools to export content in an XML file. You can use this file to import your content into another WordPress site.
However, sometimes you may need a list of URLs for a number of reasons. You may need to setup redirects to a new website. You may need to share URLs with an SEO team or setup tracking using some SEO tools.
Now that you know the use-case, let’s see how you can easily export all URLs from your WordPress site to a text file.
Upon activation, you need to visit Settings » Export All URLs page. The plugin allows you to export URLs for all your posts, pages, and custom post types. You can also limit it to selected post types if you want.
You can also select what data you want to export. The plugin allows you to export URLs, title, categories. There is also an option to either export this data in a CSV file or display it right on the settings page.
Click on the ‘Export’ button to continue.
Depending on your settings, the plugin will either display the data on the plugin’s settings page or export it in a CSV file.
CSV files are plain text files with comma separated values. You can open these files in a plain text editor. You can also open them in a spreadsheet software like Microsoft Excel, Numbers, or Google Sheets.
That’s all, we hope this article helped you learn how to export all WordPress URLs in plain text. You may also want to see our comparison of the best WordPress backup plugins to keep your content safe.