Black Friday 40% off the first year of every plugin. Use code BLACKFRIDAY40

Skip to content

WordPress GDPR: How to Make Your Site Compliant in 2026

WordPress GDPR: How to Make Your Site Compliant in 2026

WordPress GDPR compliance means your site collects personal data lawfully, tells visitors how you use it, and honors their rights. You can finish the basics in an afternoon with built-in WordPress tools and one consent plugin. This guide is general information and does not replace legal advice.

We tested every step on a WordPress 7.1.3 site in October 2026, using the Twenty Twenty-Five theme and Chrome. We counted cookies and outside requests in six visitor situations, then ran a real data export and erasure request. We also installed three free consent plugins, and the legal points come from European Data Protection Board guidance.

Below you will find what GDPR means for a WordPress site and six steps to close the gaps. Later sections cover valid cookie consent, GDPR plugins, and the duties no plugin handles for you.

What Does GDPR Mean for a WordPress Site?

GDPR is the European Union’s General Data Protection Regulation, formally Regulation (EU) 2016/679, which protects personal data. It applies to any site that offers goods or services to people in the EU or monitors their behavior, wherever the owner lives. Being reachable from Europe is not enough on its own.

The European Data Protection Board says the regulation reaches a non-EU site only when that site targets people in the Union. Its territorial scope guidelines describe a two-step test. The data subjects must be in the Union, and the processing must relate to offering goods or services or to monitoring behavior there.

Those guidelines also say the mere accessibility of a website in the Union is insufficient to show intent. Clues that you do target the EU include a language or a currency used in Member States, together with the option to order in it.

Personal data is any information about an identifiable person, as the GDPR text defines it. On our test site, one comment stored the visitor’s name, email address, IP address and browser string.

WordPress GDPR map of where WordPress holds personal data

Is WordPress GDPR Compliant Out of the Box?

WordPress GDPR compliance is never automatic, and WordPress is no exception. Since version 4.9.6, core has included a privacy settings tool, and our test site also had personal data export and erasure screens. Compliance still depends on how you configure the site and which plugins, embeds and services you add.

We measured what a clean install does. On our test site, the home page set zero cookies and contacted no other host. A post with comments set zero cookies as well, but the visitor’s browser still requested avatars from Gravatar.

That Gravatar request matters because Gravatar’s server receives the visitor’s IP address like any web server does. Our guide to changing your Gravatar covers the privacy catch in more detail.

Cookies set on a WordPress test site in six visitor situations

One YouTube video changed the picture. A page with a single embedded video set five cookies and contacted nine Google hosts in our Chrome test.

WordPress GDPR work therefore starts with what you embed. The core software sets far less.

How to Make a WordPress Site GDPR Compliant in 6 Steps

Six steps cover the basics: audit your data, publish a privacy policy, and ask before saving cookies. Then add a cookie banner that blocks, handle data requests, and review plugins and processors. Each step below shows the exact screen we used.

Step 1: Audit the Personal Data Your Site Collects

List every place your site collects or sends personal data. WordPress stores comment details and user accounts, while plugins, forms, embeds and analytics add more. A short written list becomes the base of your privacy policy.

The Comments screen shows how much a single comment holds. Each entry lists the commenter’s name, email address and IP address, and the data export we ran later also included the browser string.

WordPress Comments screen showing commenter email and IP address
Screenshot from our WordPress 7.1 test site

Check these four places on your own site:

  • Comments: Name, email, IP address and browser string are stored with every comment.
  • User accounts: Username, email and role live on the Users screen.
  • Forms and shop plugins: Each plugin keeps its own records, so open its settings and look.
  • Outside requests: Gravatar and embeds contact other servers when a page loads.

Tip: Open your site in a private window, press F12, and look under Application, then Cookies. That list shows every cookie a first-time visitor receives.

Step 2: Publish a WordPress Privacy Policy

Go to Settings, then Privacy, and create or choose your privacy policy page. WordPress also offers a policy guide with suggested text. A WordPress privacy policy should say what you collect, why, who receives it, and how long you keep it.

On our test site, a draft page named Privacy Policy already existed and was selected. It stays invisible until you edit and publish it. WordPress documents the Privacy screen and links the page on your login and registration pages.

WordPress Privacy settings screen to create or choose a privacy policy page
Screenshot from our WordPress 7.1 test site

The same screen warns that using the suggestions correctly is your responsibility. Treat the template as a starting point and replace every suggestion with what your site really does. Add a link to the page in your footer or menu once it is live.

Step 3: Ask Before Saving Commenter Cookies

WordPress can show an opt-in checkbox under the comment form. It decides whether the commenter’s name, email and website are saved in a cookie. The Discussion screen documentation says the option gives commenters explicit consent instead of setting those cookies automatically.

The setting sits under Settings, then Discussion, and reads “Show comments cookies opt-in checkbox, allowing comment author cookies to be set”. It was already on in our fresh install.

WordPress setting for the comments cookies opt-in checkbox
Screenshot from our WordPress 7.1 test site

We tested both outcomes with real comments. With the box ticked, the visitor received two cookies, comment_author and comment_author_email. With the box left unticked, the visitor received none.

WordPress comment form with an unticked cookie consent checkbox
Screenshot from our WordPress 7.1 test site

If you collect no comments, you can remove the risk completely. Our guide to disabling comments in WordPress shows how.

WordPress cookie consent works only when the banner holds back cookies until the visitor chooses. Install one consent plugin, show Reject All beside Accept All, sort cookies into categories, and test with a private window. A banner that only displays a message does not meet that bar.

Cookie categories usually mean necessary, functional, analytics and marketing. Visitors can accept some and refuse others, and your plugin should load scripts only for the accepted ones.

We tested the first plugin on a page with a YouTube video. CookieYes 3.5.6 showed Reject All and Accept All on the first layer, next to a preferences button, which is the right layout. The video still set five cookies before any choice, and after we clicked Reject All.

CookieYes consent banner with Reject All on the first layer
Screenshot from our WordPress 7.1 test site

That result comes from the default setup. We did not connect a CookieYes account, which the dashboard asks for before it scans and classifies cookies. Test your own setup the same way: check cookies before any click, after Reject All, and after Accept All.

Step 5: Handle Data Export and Erasure Requests

Visitors can ask for a copy of their data or ask you to delete it. WordPress gives you both tools under Tools, as Export Personal Data and Erase Personal Data. The right to erasure is one of the rights the regulation grants.

Open the screen, enter the person’s email address, and send the request. We unticked the confirmation email, and the request showed as Confirmed immediately. In real use, leave the email on so the requester proves control of the address.

WordPress Export Personal Data screen with a confirmed request
Screenshot from our WordPress 7.1 test site

Clicking Download personal data produced a file with an About section and a Comments section. The comments table listed seven fields: author, email, IP address, browser string, date, content and URL.

WordPress personal data export file listing comment data
Screenshot from our WordPress 7.1 test site

Erasure behaved differently from what many owners expect. After we ran Erase Personal Data, the comment stayed. The author became Anonymous, the email was blank, and the last part of the IP address became zero.

WordPress comment anonymized after an erasure request
Screenshot from our WordPress 7.1 test site

Worth knowing: WordPress keeps the comment text, so read it before you close the request. If the text names the person, edit it by hand.

The European Data Protection Board’s guidance on access requests says a request must be fulfilled within one month of receipt. It can be extended by two further months where necessary, and the person must be told why.

Step 6: Review Plugins, Embeds and Processors

Every plugin, embed and outside service you add can change what personal data your site handles. Processors are the companies that handle data on your behalf, such as your host, email service and analytics provider. Check each one before launch and again after major updates.

WordPress helps here. Plugins can add suggested text to the Privacy Policy Guide, and WooCommerce did so on our test site. Open Settings, then Privacy, then Policy Guide to see which of your plugins contribute.

WordPress Privacy Policy Guide with plugin policy sections
Screenshot from our WordPress 7.1 test site

For each processor, ask three questions. Where is the data stored, how long is it kept, and does the provider offer a data processing agreement?

Analytics deserves special care, because it usually needs consent. Our guide to adding Google Analytics on WordPress covers the setup side.

Valid consent needs a clear positive action from the visitor. The European Data Protection Board says pre-ticked boxes are invalid and that scrolling or swiping never counts. Its cookie banner taskforce also found that most authorities treat a banner with no reject option as an infringement.

The consent guidelines state that the use of pre-ticked opt-in boxes is invalid under the GDPR. They add that silence, inactivity or merely proceeding with a service cannot count as an active choice.

The Cookie Banner Taskforce report recalls that no cookies requiring consent can be set before consent. It also records that a vast majority of authorities considered a banner without a reject option not in line with valid consent.

EDPB taskforce paragraph on cookie banners without a reject option
Source: European Data Protection Board

Practical takeaways follow from that text:

  • Reject All: Put it on the first layer, next to Accept All.
  • No pre-ticked boxes: Every optional category starts switched off.
  • No scroll consent: Never treat scrolling or clicking elsewhere as a yes.
  • Easy withdrawal: Offer a link to change the choice later.

What to Look for in a GDPR Plugin for WordPress

A good GDPR plugin for WordPress blocks scripts until consent, shows Reject All on the first layer, records consent choices, and sorts cookies into categories. Our tests show that free defaults often fall short of that list. Each plugin below behaved differently right after activation.

PluginWhat we sawHeld back the YouTube video?
CookieYes 3.5.6Banner with Reject All on the first layerNo, five cookies before and after Reject All
Complianz 7.5.5No banner until the setup wizard is finishedYes, once we picked YouTube in the wizard
Cookie Compliance 3.1.15No banner until you pick a planNo banner, five cookies

Complianz opened with a progress panel at 0 percent and the message that the site was not configured to show a consent banner. That is a safe default, because it shows nothing until you decide.

Complianz dashboard saying no consent banner is configured
Screenshot from our WordPress 7.1 test site

We then finished the wizard, which took 12 screens. They cover visitors, documents, website details, security, a cookie scan step, statistics, services, plugins and a final switch for the banner and blocker. The scan step asks you to authenticate the domain first, so we picked YouTube by hand under third-party services.

The result was the best of the three. Before any choice, the page set no cookies and contacted no other host.

After Deny, the video stayed blocked and only Complianz’s own seven first-party cookies appeared. After Accept, the video loaded and the five YouTube cookies arrived.

Complianz banner with a YouTube video blocked until consent
Screenshot from our WordPress 7.1 test site

Cookie Compliance asked us to choose a protection level. Its own screen labels the Banner Only level as not meeting GDPR requirements. The same column lists no consent records and no script blocking, and the two other levels connect the site to the vendor’s service.

Cookie Compliance screen warning that Banner Only does not meet GDPR requirements
Screenshot from our WordPress 7.1 test site

CookieYes also gates its cookie scan behind a connection to its web app. Its dashboard says connecting loads the banner from CookieYes servers and stores consent logs in the cloud. Read that trade-off before you accept it.

CookieYes dashboard asking to connect to the web app to scan cookies
Screenshot from our WordPress 7.1 test site

We did not create accounts for CookieYes or Cookie Compliance, so their results describe the default state without a connected account. Judge any plugin by running the private-window test from Step 4 on your own pages.

What Else GDPR Asks of You

Plugins cover consent and requests, but several duties sit with you. Keep your software and backups secure, know who your processors are, and be ready to report a breach. The European Data Protection Board also sets out how regulators think about fines.

Security comes first. Our WordPress security checklist lists 25 protections, and backups matter too because they copy personal data. Our guide to WooCommerce product backup explains where to store backup files.

Breaches have a clock. The European Data Protection Board’s breach notification guidelines quote Article 33(1). The controller must notify the authority without undue delay and, where feasible, within 72 hours of becoming aware of a breach.

Fines are the reason owners take this seriously. The board’s fines guidelines describe two tiers, with maximums of €10 million or 2% and €20 million or 4% of annual turnover, whichever is higher.

Running a store adds duties for orders and accounts. Our guide to making a WooCommerce website GDPR compliant covers checkout consent and customer data. Keeping plugins, backups and security patches current is ongoing work, which our WordPress maintenance services can take off your list.

Conclusion

WordPress GDPR compliance comes down to knowing what data you hold, telling visitors about it, and honoring their choices. WordPress core gives you a privacy policy tool, a comment opt-in, and data export and erasure. A consent plugin must then block cookies before consent, because a banner alone only shows a message.

Our tests found three things worth repeating. A clean site set zero cookies, a single YouTube video set five, and three free consent plugins left the video running by default. Test your own site in a private window before you trust any banner.

Frequently Asked Questions (FAQs)

Q1. Does GDPR apply to a small WordPress blog?

It applies when your site offers goods or services to people in the EU or monitors their behavior. The European Data Protection Board says mere accessibility from the Union is not enough. If you are unsure, ask a privacy professional.

Q2. How do I add GDPR to WordPress?

Publish a privacy policy under Settings, then Privacy, and keep the comment cookie opt-in on. Add a consent plugin that blocks cookies and shows Reject All on the first layer. Then use the Tools screens to answer data requests.

On our clean test site, visitors received zero cookies on normal pages. A banner matters more once you add analytics, embeds or ads, so test your own pages in a private window. A privacy policy still matters once you collect any personal data.

Q4. How long do I have to answer a data request?

One month from receipt, according to the European Data Protection Board’s guidance on access requests. You can extend it by two further months when the request is complex, but you must explain the delay to the person.

Q5. Does WordPress delete a comment when I erase someone’s data?

No. In our test the comment stayed, the author became Anonymous, the email was cleared, and the last part of the IP address became zero. Read the comment text and edit it if it names the person.

Q6. What happens if I ignore GDPR?

The European Data Protection Board’s fines guidelines set the top tier at €20 million or 4% of annual turnover, whichever is higher. Lower tiers apply to other duties. Fines depend on the case.

Q7. Is a WooCommerce store different from a normal WordPress site?

A store collects more data, including names, addresses and order history. WooCommerce also adds its own suggested privacy text, which we saw in the Policy Guide. Follow the store-specific steps in our WooCommerce GDPR guide as well.

Yash Kapoor
Yash Kapoor

Yash Kapoor is the founder and WordPress expert at DevDiggers, where he builds WordPress and WooCommerce plugins for loyalty programs, point-of-sale systems, digital wallets and affiliate management. He writes about developer tools, site performance and the technical side of running a WordPress store. He draws on years of building and maintaining production plugin codebases.

Leave a Reply

Your email address will not be published. Required fields are marked *