Support » Plugin: Contextual Related Posts » Manual uninstall of CRP

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Ajay

    (@ajay)

    The plugin uses the following code to delete the cache:

    DELETE FROM <code>wp_postmeta</code> WHERE meta_key='crp_related_posts';

    Please backup your DB before running anything

    I also see some keys in wp_posts can you provide a SQL script to remove those?

    Thanks.

    Plugin Author Ajay

    (@ajay)

    Can you give me some examples of this

    The following indexes exist in wp_posts:

    crp_related
    crp_related_content
    crp_related_title

    Plugin Author Ajay

    (@ajay)

    Did you delete the plugin via the WordPress interface? The uninstall script is automatically run when you delete the plugin from WordPress Admin.

    ALTER TABLE wp_posts DROP INDEX crp_related
    ALTER TABLE wp_posts DROP INDEX  crp_related_content
    ALTER TABLE wp_posts DROP INDEX crp_related_title

    Yes, I did. I even re-installed it and uninstalled it again, but the keys were not removed.

    OK, so if I understand you correctly, if I run the following, the CRP stuff will be gone?

    DELETE FROM wp_postmeta WHERE meta_key='crp_related_posts';

    ALTER TABLE wp_posts DROP INDEX crp_related

    ALTER TABLE wp_posts DROP INDEX crp_related_content

    ALTER TABLE wp_posts DROP INDEX crp_related_title

    Plugin Author Ajay

    (@ajay)

    Yes. Please backup your DB before you do this.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Manual uninstall of CRP’ is closed to new replies.