URL Extractor allows you to extract URLs using custom tokens (Title, Post URL, Date, Status, Author, Website URL, Website Name) of any post or page from your Child Sites and export them as CSV or TXT files.
Provided search options will enable you to refine your search by:
Type: Post or Page
Status: Published, Pending, Private, Scheduled, Draft, Trash
Arbitrary keywords
Date Range
Child Sites
You can easily customize your output. Combining the provided tokens and custom characters, create any output structure you need.
This is often helpful for both client reports and indexing software.
How to use URL Extractor
Navigate to MainWP Dashboard > Extensions > URL Extractor page
In the Output format field, either type in the Available Tokens or click on the green bubbles of respective tokens to insert them automatically
βNOTE: You can also combine plain text with the token names. For example:This is the Post URL [post.url], and this is the Post Title [post.title]
Type in the desired text in the Separator field
βNOTE: This text will be used to separate individual entries in the output. By leaving the field empty, the individual entries will be placed in a new line.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 or as .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 > 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.
add_filter( 'mainwp_url_extractor_max_posts_number', 'max_url_extractor_posts' ); function max_url_extractor_posts() { return 500; }
The easiest way to insert this code snippet to the MainWP Dashboard site is by using our Custom Dashboard extension.