How can I list all URL’s of my published posts in a separate page?
-
I want to list all URL’s of the blog posts in the shape of a directory page on my blog. How can I achieve that?
For example, I want to name the page as ‘website directory’ and post only URL’s i.e.
https://aatayyab.wordpress.com/abc
https://aatayyab.wordpress.com/def
https://aatayyab.wordpress.com/ghi
etc….Thanks
-
Hi there,
You can quickly add a sitemap to a page or post by using the sitemap shortcode, in any theme. Just add this shortcode to any page or post using a shortcode block.
[sitemap]More info here: https://wordpress.com/support/sitemaps/shortcode/
We do not have an automated way to add those links as bare URLs however. To do that you would need to open each page of your site, copy down the URL, and then paste it into your “directory” page.
Please also note that you do not need to do this for Search Engine Optimization (SEO) reasons, as we already submit a sitemap to all major search engines. See: https://wordpress.com/support/sitemaps/#xml-sitemaps-for-search-engines
Hope that helps. Please let us know if you have any more questions.
- The topic ‘How can I list all URL’s of my published posts in a separate page?’ is closed to new replies.