WordPress uses wp_ as the default database table prefix. A predictable prefix makes some SQL injection attacks easier, and Shield’s security score deducts 15 points for it. The DB Prefix Manager (Pro) in Aegisify Shield → DB Tools → DB Prefix Manager changes it with safeguards.
The guided process
- Create a backup snapshot: a timestamped SQL export (no database changes). See Backup before prefix change.
- Preview: enter the new prefix (letters, numbers, and underscores, ideally ending with
_, for examplewpsecure_), choose a scope, and use Dry run only to see exactly which tables, option keys, and usermeta keys would change. See Preview and dry run. - Check wp-config.php readiness: Shield shows whether
wp-config.phpis writable and the exact$table_prefixline needed. - Apply: select the backup, tick the confirmation, and apply. Shield renames tables and updates prefix-bound keys. See Internal prefix-bound key updates.
- Verify: run the read-only Verification Scan to confirm nothing remains on the old prefix.
High-risk operation
Do not leave the page until you can reload wp-admin. WordPress only works when $table_prefix in wp-config.php matches the new prefix.
Requirements
Requires an active Aegisify subscription. Run it during a quiet period.
Related: Prefix rollback and restore, DB Tools module.
