Privacy laws such as the GDPR ask you to collect only what you need and keep it only as long as you need it. That’s easier to do in WordPress than most people think. The default install stores more than many sites use, and each extra piece can be switched off.
Before you start, look at Settings → Privacy and your privacy policy. After each change below, update the policy so it describes what your site really stores.
Comments: the biggest source
Every comment saves the commenter’s name, email, website, IP address and browser details. You need the name and email for most comment workflows. The rest is optional.
Don’t store IP addresses at all. Spam plugins sometimes use them, so check yours works without them first:
Or keep them for a while, then anonymise them. A good middle ground: IPs are there for recent spam checks, then removed automatically after the number of days you choose:
Stop storing browser details, which WordPress saves with every comment and almost nobody looks at:
Drop the website field. It’s mostly used for link spam anyway:
Stop saving comment cookies. WordPress can remember a commenter’s name, email and website in their browser. That needs consent in many countries, and most visitors don’t comment often enough to benefit:
Avatars: stop asking Gravatar
To show an avatar, WordPress sends a hash of each commenter’s email address to Gravatar. That’s a third-party service receiving data about your visitors on every page with comments. Initials avatars, made on your own site, look tidy and send nothing:
Logged-in users
WordPress stores the IP address and browser details of every login session. You rarely need them:
When you delete a user, their comments stay with their name and email. Keep the comments for the conversation, but remove the personal details:
Embeds
A YouTube or Vimeo embed loads the provider’s player, and its cookies and trackers, as soon as the page opens, whether the visitor plays the video or not. Load the player only when someone clicks:
Clean up after privacy requests
WordPress keeps completed export and erasure requests, including the email address of the person who asked. Once a request is done, there’s no reason to keep that. This deletes them 30 days after completion:
Store-less checklist
0 / 10Summary
Start with comments, where WordPress collects the most: stop storing browser details, remove the website field and comment cookies, and either drop IP addresses or anonymise them after a few weeks. Replace Gravatar with local avatars, stop storing session IPs, load embeds on click and delete completed privacy requests. Then update your privacy policy so it matches.
Was this helpful?
Sorry about that. What was missing?
Thanks for your feedback!

