WordPress.org

Ready to get started?Download WordPress

Forums

convert one tag to category via mysql (4 posts)

  1. a666
    Member
    Posted 6 years ago #

    Hello

    I have blog with Tags and Categories, and I want to "convert" one tag to category. How it can be done:

    1. Create new category Y (X - old tag)

    2. Join all posts with tag X to category Y (via MYSQL)

    3. Remove tag X from all posts (via MYSQL)

    4. Setup htaccess redirect from this tag to new category (to prevent 404 for links from other websites and google)

    Question: how I can do 2 and 3? Or may be you know other way?

  2. a666
    Member
    Posted 5 years ago #

    ?

  3. a666
    Member
    Posted 5 years ago #

    bumppp

  4. a666
    Member
    Posted 5 years ago #

    is it possible? any way?

Topic Closed

This topic has been closed to new replies.

About this Topic