Fixing Missing Categories on WordPress

The first thing to do is backing up your database :

commands used :

mysqldump -u username -p databasename > filename.sql

After that login to your mysql databases,place where it belongs wordpress then select the database.

commands used :

mysql> UPDATE  wp_term_taxonomy,wp_terms SET wp_term_taxonomy.description = wp_terms.name WHERE wp_term_taxonomy.term_id = wp_terms.term_id

Category: Linux | Tags: , , , Comment »


Leave a Reply



Back to top