I need to export a list of URLs from our WordPress / WooCommerce website that includes the product category URLs (not individual product URLs or other pages). Is this possible? I’m running the latest versions of WordPress and WooCommerce.
I tried a WordPress plugin called "Export all URLs" which exported a list of URLs for product pages, but not for their parent categories. The category URLs are what I need.
Our shop has thousands of products and hundreds of categories, so manually copying the URLs from the shop is not a great solution.
If the best solution is php, that is not something I am familiar with and could use guidance. I am a front-end WordPress designer, but am not a php guy.
2
Answers
You have already tried to use "WP All Export," which is actually suitable for exporting category URLs as well as product page URLs.
So, ultimately, the issue could be caused by incorrect settings in the plugin. Try to review the Export Settings. Here’s how you can do that:
Try these settings and see if you are now able to export the URLs. Also, sometimes filters get applied unintentionally, which may exclude certain categories.
So under the section of "Filters," ensure "Apply filters" is unchecked unless you need any filtering criteria, and for being a step ahead Temporarily deactivate other plugins to avoid plugin conflict issues.
Hope it helps.
Check out this link
It is mentioned to export product categories under woocommerce section. So you can try similarly in your plugin as well