What You’ll Learn
- Extracting URLs using custom tokens
- Configuring output format and separators
- Saving and loading extraction templates
- Exporting results in CSV, TXT, or JSON format
- Type: Post or Page
- Status: Published, Pending, Private, Scheduled, Draft, Trash
- Arbitrary keywords
- Date Range
- Child Sites
How to use URL Extractor

Navigate to MainWP Dashboard > Extensions > URL Extractor page
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 Output button
Review the Output in the popup modal and Export it as .txt, .csv, .json 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 > Extensions > URL Extractor page
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 > Extensions > URL Extractor page
Select the desired template from the Available Templates dropdown
Click the Use Template button
Deleting a template
Navigate to MainWP Dashboard > Extensions > URL Extractor page
Select the desired template from the Available Templates dropdown
Click the Delete button
Increase the maximum number of Posts returned from a Child site
URL Extractor extensions 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
- Posts/Pages Add-ons - Browse all content tools
- Post Plus Extension - Advanced post creation
- Manage Posts - Post management guide