What You’ll Learn
- Extracting URLs using custom tokens
- Configuring output format and separators
- Saving and loading extraction templates
- Exporting results in CSV or TXT format
- Type: Post or Page
- Status: Published, Pending, Private, Scheduled, Draft, Trash
- Arbitrary keywords
- Date Range
- Child Sites
What’s New in 5.1.0
- With URL Extractor abilities, you can start and track extraction work, then export the results as text or CSV.
- Extraction runs retain their results while exports are prepared. Downloads use one-use links.
- Stored records, export artifacts, and retries are kept within defined limits.
- Saved templates are migrated with guidance when a template needs attention, and existing preview workflows continue to work.
- Output separators and template values are validated before an extraction runs.
- Clearer errors identify when a Child site is unavailable during extraction.
How to use URL Extractor

Navigate to MainWP Dashboard > Add-ons > Administrative > URL Extractor
Configure the output format using Available Tokens
This is the Post URL [post.url], and this is the Post Title [post.title]Enter a separator in the Separator field
In the Sidebar
- Select the desired Sites, either individually or by Tags
- Select the post type, either Post or Page, or both
- Select one or multiple statuses from the list: Published, Pending, Private, Scheduled, Draft, Trash
- Optionally filter the results by a Keyword
- Select the desired Date Range
Click the Preview Ouput button
Review the output in the popup modal and export it as a .txt or .csv file
URL Extractor Templates
The values in the Output format and Separator fields can be saved as templates for speed and convenience.Saving a template

Navigate to MainWP Dashboard > Add-ons > Administrative > URL Extractor
Enter the desired text in the Output format and Separator fields
Enter the template name
Click the Save Template button
Loading a template

Navigate to MainWP Dashboard > Add-ons > Administrative > URL Extractor
Select the desired template from the Available Templates dropdown
Click the Use Template button
Deleting a template
Navigate to MainWP Dashboard > Add-ons > Administrative > URL Extractor
Select the desired template from the Available Templates dropdown
Click the Delete button
Increase the maximum number of Posts returned from a Child site
The URL Extractor extension returns a maximum of 50 posts from a single child site. This number can be customized with a filter. As an example, this code snippet will increase the maximum number of posts to 500.Install the Custom Dashboard extension
Add the code snippet to the PHP tab in the Custom Dashboard extension

Adjust the number of returned posts as desired
Click the Save Changes button
Related Resources
- Administrative Add-ons - Browse administrative tools
- Post Plus Extension - Advanced post creation
- Manage Posts - Post management guide
