skip to Main Content

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


  1. 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:

    1. Open WP All Export and create a new export.
    2. Under "Post Type," ensure you’ve selected "Taxonomies" instead of "Posts" or "Pages.".
    3. Under "Taxonomy," make sure "Product Categories" is chosen.
    4. In the "Data" section, verify that the "Slug" field is selected. This ensures the category URLs are exported.

    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.

    Login or Signup to reply.
  2. Check out this link

    It is mentioned to export product categories under woocommerce section. So you can try similarly in your plugin as well

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search