What happens if you import a category or tag twice in CSV field?

Does anyone know what happens if you import a category or tag twice in the same CSV field/record?

I am cleaning up records for an import. There is a chance that there might be some fields that could have multiple occurrences of the exact same category name or tag name in the same field of the same record.

I am wondering if Wordpress will choke on this or if it is smart enough to just ignore the second occurrence.

  • Sean
    • The Incredible Code Injector

    Hi Tom,

    Yes I have seen that with tags and categories. I have eliminated commas and other special characters and am going to try and use "&" with out quotes in the place of "&".

    I am using a test site but I still I want to eliminate as much experimentation as possible. Do you have any recommendations regarding CSV properly importing to prevent errors, and that nasty numeric suffix habit?


  • aecnu
    • WP Unicorn

    Greetings Sean,

    Knock, Knock - Housekeeping --> Just checking if this issue was eventually resolved in another thread? Or by yourself separately to us? Or by us over email with you? Or using our live support?

    If so, no need to reply, that's great news.

    If not, or you have any more questions related to this thread, please feel free to post them below including any new symptoms or errors and tick the 'Mark as Not Resolved (re-open)' box below the post area (or else we'll miss it!)

    Otherwise, happy days, glad you got it sorted :slight_smile:

    Thank you for being a WPMU DEV Community Member!

    Cheers, Joe

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.