Category Table?

This topic contains 6 replies, has 4 voices, and was last updated by  Guust 10 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #12123

    Evan Burrows
    Buyer
    Post count: 18

    Where can I find the categories in SQL? I need to transfer them all over to the live site, but I cannot find the data in MySQL? I have like over 40, so would be nice to find them and import via SQL rather than making them all again..

    thanks

    #12126

    Evan Burrows
    Buyer
    Post count: 18

    I found the categories in wp_terms, but when I add new ones there they don’t show up as categories

    #12151

    Guust
    Moderator
    Post count: 29970

    I don’t think it is that simple; categories have to be appended to the right custom posts etc as well.
    Could you export the whole database and import into the new database? You’d only need to change the Site URL in the WP-options table?

    Or else we can ask Paolo …

    #12166

    Paolo
    Site Admin
    Post count: 31206

    There are plugin that allow to create a clone of the original website, change URL if needed and restore on another install.

    http://www.makeuseof.com/tag/3-plugins-for-easily-migrating-a-wordpress-site-tried-tested/

    I honestly never even tried to transfer categories via sql.

    Thx

    #12176

    Evan Burrows
    Buyer
    Post count: 18

    I can’t do the whole database sadly. Hmmm, bummer. Shouldn’t have waisted so much time making them on the dev server >.<

    #12189

    John Allsopp
    Expired Member
    Post count: 399

    If it’s just categories etc, won’t the standard WP export/import functions work for you? That’s how i’m setting up everything on my theme dev sites…

    #12230

    Guust
    Moderator
    Post count: 29970

    Interesting John, never looked at that either.
    But looking at it now, the list does not contain any CTPs other than the original Places and Events. New CTPS are not listed.
    But they are exported, but will only be imported if you already have set up your CTPs to match in the new installation.
    I have not tested thoroughly but just wanted to share.

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount