DPDP guide · updated 2026-12-05
DPDP compliance for WordPress, without touching your theme
WordPress sites usually load analytics from the theme and from plugins such as Site Kit or pixel plugins. The DPDP Doctor installs a small must-use plugin that controls those scripts centrally.
What gets fixed
- Consent manager loaded first in wp_head, before any tracker.
- Tracker scripts added by themes and plugins (enqueued and pasted inline) held until consent.
- Privacy notice, data rights and grievance pages, and footer links.
- Database password moved out of wp-config.php into the server environment (with your approval).
- Security headers and protection for .env, .sql and backup files.
How to use it
- Download your site files (or the theme and wp-config.php) as a ZIP from hosting.
- Upload to the Doctor for a free diagnosis.
- Approve the repairs and deploy the handover — every change is listed and can be undone.
Check your own site in minutes
Upload your code or connect GitHub. The free scan shows each gap with the file and line; the Doctor can fix most of them automatically.
Start free DPDP scanQuestions
Do I need to change my theme?
No. The must-use plugin works with any theme and survives theme updates.
Does it work with WooCommerce?
Yes. Checkout and payment scripts are not trackers and are left untouched.
More DPDP guides
DPDP compliance checklist for websites and appsA DPDP consent banner that actually blocks trackersWhat your DPDP privacy notice must containDPDP compliance for custom PHP and Laravel websitesDPDP compliance for React and Next.jsDPDP compliance for Android appsDPDP Act penalties explainedDPDP data rights requests and grievancesPersonal data breach: the 72-hour rule
General information on the DPDP Act, 2023 and DPDP Rules, 2025 — not legal advice. Independent audit and certification: NovaCert.