Product permalink is wrong after woocommerce product import

#509531
  • Resolved Davy
    Rank Math free

    When using the woocommerce product import (import from csv), the product permalink is overwritten with the product title:
    When using a woocommerce product export the correct value is correctly saved in the column “Meta: rank_math_permalink”.
    But when you import this same export file the permalink ALWAYS defaults to the “product name”. This happens in both cases:
    – import new products
    – import and update existing products

    Because of this every import results in wrong permalinks, breaking our site structure and google index of the product pages.
    We are using the default woocommerce product import and strongly depend on this import functionality for automatically creating, updating and migrating products between sites.

    Is there any solution to pass the wanted permalink in the import file?

    thx in advance
    Davy

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for the delay and for any inconvenience this issue may have caused you.

    The Product slug (or product link) is not a meta field. Whatever you see in column meta:rank_math_permalink should be the same in the product link as well. Though, in the current situation it’s not the same.

    Having said that, you can add a custom column in the export file called “Slug” and import that with a custom product slug.

    In this case, you can implement this feature as mentioned in this link. You can also seek help from a developer from implementing it:
    https://github.com/woocommerce/woocommerce/wiki/Product-CSV-Importer-&-Exporter#adding-custom-export-columns-developers

    Hope that helps.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Product permalink is wrong after woocommerce product import’ is closed to new replies.