How to Completely Remove All in One SEO Data from Your WordPress Database
Content
Many users who try the All in One SEO (AIOSEO) plugin and later decide to uninstall it encounter a frustrating issue: remnants of the plugin remain in their WordPress database. This often manifests as lingering fields in translation plugins like WPML, which can be confusing and potentially cause conflicts with other SEO plugins.
This guide explains why this happens and provides the definitive method for completely removing AIOSEO and all its associated data.
Why Does AIOSEO Data Remain After Uninstalling?
By design, the standard uninstall process for the All in One SEO plugin does not delete its data from your WordPress database. The AIOSEO team has stated this is an intentional feature to prevent users from accidentally losing their SEO settings and metadata if they deactivate or remove the plugin temporarily.
While this safeguards data, it means a simple deletion from the Plugins page is not a complete uninstall. The leftover data, often seen as fields like field-_aioseop_description in WPML, is stored in your site's wp_options and wp_postmeta database tables.
How to Perform a Complete Uninstall
To erase all traces of AIOSEO, you must first reinstall the plugin to access a specific setting that enables a full data wipe upon uninstallation. Follow these steps carefully:
- Reinstall All in One SEO: Navigate to Plugins > Add New in your WordPress dashboard, search for "All in One SEO," and install and activate it again.
- Enable the Data Removal Setting: Go to All in One SEO > General Settings. Click on the Advanced tab.
- Locate the Uninstall Option: Scroll down to the "Database Settings" section. Here, you will find an option labeled "Remove Data on Uninstall?".
- Change the Setting: Toggle this setting to "Yes". This tells the plugin to delete all of its data when it is uninstalled in the future.
- Save Changes: Click the "Save Changes" button at the top of the screen.
- Uninstall the Plugin: Return to your Plugins page, deactivate All in One SEO, and then delete it. This time, all of its data will be purged from your database.
After completing this process, the ghost fields in WPML or other areas should no longer appear. If they persist, it may be necessary to manually clean the database or use a dedicated database cleanup tool, though this is recommended for advanced users only.
Important Considerations
- Backup Your Site: Always create a full backup of your WordPress site and database before making significant changes like uninstalling a plugin. This provides a safety net in case anything goes wrong.
- No Going Back: Enabling the "Remove Data on Uninstall" option and then deleting the plugin is permanent. You will not be able to recover your old SEO settings if you reinstall AIOSEO later.
- Plugin Conflicts: If you are switching to another SEO plugin like Yoast SEO, ensure you have set up your meta descriptions and titles in the new plugin before removing AIOSEO's data.
By following this procedure, you can ensure a clean break from the All in One SEO plugin and remove any leftover data from your database.
Related Support Threads Support
-
Disabel readabilityhttps://wordpress.org/support/topic/disabel-readability/
-
AIOSEO full unistall problemhttps://wordpress.org/support/topic/aioseo-full-unistall-problem/
-
aiosp_sitemap_post_filterhttps://wordpress.org/support/topic/aiosp_sitemap_post_filter/
-
How do I disable image attachment pages with AIOSEOhttps://wordpress.org/support/topic/how-do-i-disable-image-attachment-pages-with-aioseo/
-
Tracking user’s activity and datahttps://wordpress.org/support/topic/tracking-users-activity-and-data/
-
Gravity forms parameter being overriddenhttps://wordpress.org/support/topic/gravity-forms-parameter-being-overridden/
-
Email spam from AISEO!https://wordpress.org/support/topic/email-spam-from-aiseo/
-
Remove AIOSEO Details for all users except onehttps://wordpress.org/support/topic/remove-aioseo-details-for-all-users-except-one/
-
Remove version in markup comments and meta tagshttps://wordpress.org/support/topic/remove-version-in-markup-comments-and-meta-tags/
-
Remove Information about AIOSEOhttps://wordpress.org/support/topic/remove-information-about-aioseo/
-
How do I change the og:locale in the AIO plugin?https://wordpress.org/support/topic/how-do-i-change-the-oglocale-in-the-aio-plugin/
-
Deprecated Filters Detected aiosp_sitemap_post_filterhttps://wordpress.org/support/topic/deprecated-filters-detected-aiosp_sitemap_post_filter/
-
How to hide / disbale AIOSEO Gutenberg Blocks ?https://wordpress.org/support/topic/how-to-hide-disbale-aioseo-gutenberg-blocks/
-
Deprecated Filters Detectedhttps://wordpress.org/support/topic/deprecated-filters-detected-3/
-
Notification: aiosp_sitemap_prio_item_filterhttps://wordpress.org/support/topic/notification-aiosp_sitemap_prio_item_filter/
-
Annoyinghttps://wordpress.org/support/topic/annoying-59/
-
AIO SEO not compatible with various email encodershttps://wordpress.org/support/topic/aio-seo-not-compatible-with-various-email-encoders/
-
Spam everywhere in the backendhttps://wordpress.org/support/topic/spam-everywhere-in-the-backend/
-
Deprecated Filter Errorhttps://wordpress.org/support/topic/deprecated-filter-error-2/
-
AIOSEO placing marketing inside WP dashboard nav menu – make it stophttps://wordpress.org/support/topic/aioseo-placing-marketing-inside-wp-dashboard-nav-menu-make-it-stop/
-
How to get rid of “Settings” and “Assistent” in my Post Editor?https://wordpress.org/support/topic/how-to-get-rid-of-settings-and-assistent-in-my-post-editor/
-
aioseo user profile tab ruins profile page (bug)https://wordpress.org/support/topic/aioseo-user-profile-tab-ruins-profile-page-bug/
-
Change Page Slughttps://wordpress.org/support/topic/change-page-slug/
-
How to remove aioseo?https://wordpress.org/support/topic/how-to-remove-aioseo/
-
Remove AIOSEO Details via remove_action ?https://wordpress.org/support/topic/remove-aioseo-details-via-remove_action/
-
Seeing AIOSEO “ghoast” fields in WPML, how to remove?https://wordpress.org/support/topic/seeing-aioseo-ghoast-fields-in-wpml-how-to-remove/
-
Email setting locationhttps://wordpress.org/support/topic/email-setting-location/
-
How to limit AIOSEO’s use of server performancehttps://wordpress.org/support/topic/how-to-limit-aioseos-use-of-server-performance/