Go to example tasks

WordPress site URLs: get pages and posts from its sitemaps

Enter a WordPress site, or a section such as /blog/, and get the URLs its sitemaps list, such as posts, pages, categories and WooCommerce products, with last-modified dates where listed. This example stops at the first 500 URLs in sitemap order; set Max URLs per run to 0 (no limit) to get them all. Works with WordPress core (wp-sitemap.xml), Yoast SEO and Rank Math, nested indexes and gzip.

Try for free
Sitemap Extractor & URL Finder
Sitemap Extractor & URL Finderurameshi7k/sitemap-extractor
URL
Last modified
Change frequency
Priority
+3 fields
Text
Number
Boolean
List
Object

Input

Websites or sitemap URLs(required):https://wordpress.org/news/
Max URLs per run:500

Output fields

URL
Last modified
Change frequency
Priority
Images
Found in sitemap
New

How it works

Sign up on Apify or log in

The Sitemap Extractor & URL Finder Actor is ready to run with the inputs already set for "WordPress site URLs: get pages and posts from its sitemaps". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "WordPress site URLs: get pages and posts from its sitemaps" task

The Sitemap Extractor & URL Finder Actor will start running based on the input automatically. You can also change all the input fields, like websites or sitemap urls and max urls per run, to match your specific use case.

Receive the "WordPress site URLs: get pages and posts from its sitemaps" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as URL, last modified, change frequency, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "WordPress site URLs: get pages and posts from its sitemaps" task via API.

Image

Integrate "WordPress site URLs: get pages and posts from its sitemaps" into your workflow

Connect "WordPress site URLs: get pages and posts from its sitemaps" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

Each URL comes with the sitemap it was first found in, plus the last-modified date, change frequency, priority and image count that sitemap lists. Values the sitemap leaves out are empty (image count 0). With Only new URLs on, items also get isNew.

This task sets no pattern, date or sitemap filters. It keeps only URLs under https://wordpress.org/news/ (the start URL's path) and stops at 500. You can add include or exclude patterns and date limits, or choose which sitemaps to read.

The task can read various sitemap formats including XML, gzip, plain text, RSS, and Atom feeds.

The task automatically discovers sitemaps by checking the robots.txt file and common sitemap locations if none are listed.

isNew appears only when Only new URLs is on. With First run only saves a baseline on, as here, the first such run returns nothing and only saves the URLs. Each later run returns the URLs missing from the list the previous run saved, marked isNew.

Yes, in Apify Console. To monitor a site, also turn on Only new URLs: the first run saves a baseline, then each later run returns only URLs added since the previous one. With it off, as here, each run returns and charges for the first 500 URLs again.

The task is configured to retrieve a maximum of 500 URLs as specified in the task input.