• Resolved Gabster1501

    (@gabster1501)


    It has worked, but somehow stopped to work. I have ticket the option to match child categories and still a new category is created. My structure is simple:

    WordPress:
    Cat-A
    >Cat-B
    >Cat-C

    Import:
    Cat-B,Cat-C

    My import preview shows Cat-B as output. But it is not saving into the child Category but into a new main Category. Now there is a child and a main category with the same name.

    What I noticed: A Category always has a name and a title/url. I am using the name to match. However somehow it happened, that the new Cat-B also has the url Cat-B while the child Cat-B has Cat-B-1. Is there like a Priority when importing into categories that the URL would be prioritized over the name? What would the import do, if there are 2 Categories with the same name (but different URL), one as a main and one as a child category? Or should I use something like “Cat A > Cat B” to save into the child?

    THX
    Gabriel

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Trey

    (@ix3)

    Hi @gabster1501,

    Is there like a Priority when importing into categories that the URL would be prioritized over the name?

    WP All Import is supposed to check for taxonomy terms via slug first.

    What would the import do, if there are 2 Categories with the same name (but different URL), one as a main and one as a child category?

    It depends on the slug. Let’s say that you have a main category named “A Cat” with the slug “a-cat”, that one will be chosen if you import “A Cat”. However, if you have a main category named “A Cat” with the slug “a-cool-cat”, and then a sub-category named “A Cat” with the slug “a-cat”, then the sub-category will be chosen.

    Or should I use something like “Cat A > Cat B” to save into the child?

    That would help if you are using non-standard slugs and the slugs are not in the import file.

    If this advice doesn’t fix the issue, can you please send me screenshots showing your category settings in the import template and which versions of our plugins you’re using?

    Thread Starter Gabster1501

    (@gabster1501)

    Thanks Trey, for the Clarification. This helped. I renamed my Categories and will have an eye on the slug naming in the future ??

    Gabriel

    Thread Starter Gabster1501

    (@gabster1501)

    solved. THX

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.