DEDECMS Bulk Delete document keywords OK?

Source: Internet
Author: User

These days in the re-server, several sites are built with Dedecms, the version is relatively early, although all have been patched, but the customer is still tangled, so download a new system to build (note the code to be the same as the original), import data, everything is OK, Can be found in the background there are a lot of document keywords are irrelevant, so it is not as straightforward to delete, the problem came, hundreds of data, a page to delete when, how to bulk deleted it?

DELETE from Dede_keywords

One line of code is easy to fix.

What if you want to delete search keywords in bulk? Can be achieved, too.

Delete from Dede_search_cache;delete from Dede_search_keywords;

Well, the rest of the time can be fun to play.

DEDECMS Bulk Delete document keywords OK?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.