• Resolved Parmen

    (@parmen)


    Hi, Neil

    Just installed your plugin and I am happy that it does precisely what I need. I have tagged multiple posts with an other tax plugin but didn’t make it display the term pages at all. So my question is, can I import or somehow redirect in the DB the terms from the old taxonomy into yours, so that tags remain linked to the already indexed pages. Or forget about it, delete the old taxonomy and start the whole process over…

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nwjames

    (@nwjames)

    @parmen ,
    Just seen your question.

    I could give you a definitive answer if going from my plug-in to another, but I’m afraid that you are going to have to do a small experiment to find out whether easy or more complex.

    Key is to know that the terms and links to objects use only the taxonomy slug. That is, there is no DB element to hold details of the taxonomy itself.

    So if you look at a taxonomy created by Simple Taxonomy Refreshed, you will see admin options to Modify, Export PDP, Delete and Flush & Delete.

    The difference between these deletion options is that Delete removes the options that you have set up, but Flush & Delete also deletes all the taxonomy terms and links.

    You need to know what does your existing plug-in does about taxonomy term deletion. I cannot tell you that, but you can do a little experiment.

    1. Create a new taxonomy using your existing plug-in.

    2. Add a term or two and add it to a post or two.

    3. Delete the taxonomy using your existing plug-in.

    You will either have the terms still in your DB, or not.

    4. Create the taxonomy using Simple Taxonomy Refreshed. It is critical that you use the same slug as in step 1.

    You should see if the terms and links have carried over.

    If they have, then you’re in luck, and you can do the same process of steps 3 and 4 with your existing taxonomy (though, as always, make sure that you have a backup).

    If not, then you made need to move them with SQL so that the deletion process finds nothing to delete. You then move them back. This is not difficult, but may be outside your comfort zone.

    [There will be 2 SQL statements to move them out, and 2 to move them back.]

    Hope this is of use,
    Neil James

    Plugin Author nwjames

    (@nwjames)

    @parmen ,
    I hope that your existing plug-in did not delete the elements and you have been able to move forward without the SQL option.

    I did think further on the issue. In fact, what I would now recommend is that you
    a) Inactivate your existing plug-in.
    b) Use my plug-in to define the taxonomy using the existing slug.
    c) Use my Rename Slug capability to move the taxonomy terms and links out of the way.
    d) Activate the existing plug-in.
    e) Delete the taxonomy from the existing plug-in.
    f) Use my Rename Slug capability to revert the slug name.

    This will work whatever your existing plugin is. Except, of course, the original Simple Taxonomy plug-in. However, then you would not have the problem that you were trying to solve.

    I’m sorry that I did not think of this for you earlier, but it night help someone else.

    I note that you have given a nice review. Thank you for that.

    I will mark this resolved. If there is still an issue, please revert.

    Regards,
    Neil James

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Importing Terms’ is closed to new replies.