Block PDFs from Google indexing, compress and watermark. Nordic GDPR processing with deletion certificates.
Your PDFs are being indexed by Google right now. Employee contracts, salary reports, internal memos – all searchable.
Block & Optimize PDFs stops this. Block PDFs from Google (free, unlimited), compress and watermark files, and get a signed deletion certificate proving your data was removed from our Nordic servers.
Key Features
Free Features (No account needed)
- Block PDFs from Google – Unlimited, one-click protection via X-Robots-Tag headers
- Google Leak Scanner – Find which of your PDFs are already indexed by Google
- Per-PDF Controls – Toggle visibility in the Media Library
- Bulk Actions – Block or allow multiple PDFs at once
- Login Protection – Require WordPress login to access specific PDFs
- Statistics Dashboard – See your protection status at a glance
Premium Features (Free PDF.dk account)
- 20 compressions/month – Reduce PDF file size via Ghostscript
- 20 watermarks/month – Add text watermarks to PDFs
- Auto-process on upload – Set it and forget it
- Deletion Certificates – Signed proof that your files were deleted
External Service
This plugin connects to PDF.dk for the following premium features:
- PDF Compression – Your PDF is uploaded to PDF.dk’s secure Nordic servers, compressed, and returned to your WordPress site.
- PDF Watermarking – Your PDF is uploaded to PDF.dk servers, watermarked with your chosen text, and returned.
- Google Leak Scanner – Your domain name is sent to PDF.dk to check which PDFs are indexed by Google.
- Deletion Certificates – After processing, a signed certificate is generated proving your file was deleted from our servers.
No data is sent to PDF.dk unless you explicitly use one of these features. The free blocking feature works entirely locally.
Why PDF.dk?
- Nordic Processing – Your files are processed on secure servers in Finland, within the Nordic region
- Deletion Certificates – Get signed proof that your files were deleted from our servers
- GDPR Compliant – Built for European businesses and municipalities
Perfect For
- Municipalities and government agencies
- Law firms handling confidential documents
- Healthcare organizations with patient data
- HR departments managing employee records
- Anyone who takes GDPR seriously
FAQ
Is the Google blocking feature really free?
Yes! Blocking PDFs from Google indexing is completely free and unlimited. No account required. It works locally by adding X-Robots-Tag headers.
How does the Google blocking work?
The plugin adds X-Robots-Tag: noindex headers to your PDF files via .htaccess rules in your uploads directory, telling search engines not to index them. This is the same method recommended by Google.
What happens to my files during compression?
Your PDF is uploaded to our secure Nordic servers in Finland, compressed using Ghostscript, and returned to your WordPress site. A deletion certificate is generated proving the original was deleted from our servers.
Is this GDPR compliant?
Yes. All file processing happens on our secure servers in Finland, within the Nordic region. We don’t store your files longer than necessary for processing, and we provide deletion certificates as proof.
What data is sent to external servers?
Only when you use premium features (compress, watermark, leak scan). The free blocking feature works entirely locally. See the External Service section for details.
How do I get more compressions?
Upgrade to a PDF.dk Pro subscription for unlimited compressions and watermarks at pdf.dk/priser.
ChangeLog
1.0.29
- Fixed: Bulk “Compress All” no longer tries to re-compress already-compressed files
- Fixed: Bulk operations no longer show a popup alert for every failed file — errors are silently tracked in the progress bar instead
- Fixed: Watermark All button also skips already-watermarked files
1.0.28
- Added live progress bar notice when bulk compressing or watermarking PDFs
- Progress bar shows on all admin pages so you can navigate away and still see status
- Auto-dismisses 8 seconds after completion, or dismiss manually
- Works for both WP media library bulk actions and plugin page Compress/Watermark All buttons
1.0.27
- Increased compress API timeout from 60s to 300s to handle large PDF files reliably during bulk operations
1.0.26
- Renamed plugin to “Block & Optimize PDFs – PDF.dk” (cannot start with PDF per WordPress guidelines)
- Moved inline CSS from login-required template to properly enqueued stylesheet
- Uses wp_enqueue_style and wp_head/wp_footer in login template for full compliance
1.0.25
- Renamed plugin to PDFdk Block & Optimize for WordPress compliance
- Fixed all escaping issues (esc_html_e, esc_html__, esc_url, wp_kses_post)
- Fixed all sanitization issues (wp_unslash + sanitize_text_field on all inputs)
- Fixed all nonce verification to use sanitized input
- Consistent server location references (Finland, Nordic region)
- Updated text domain to pdfdk-block-optimize
- Updated Plugin URI
- Tested up to WordPress 6.9
1.0.24
- Fixed mode switching not updating PDF status correctly
- Keyword modes now always evaluate dynamically (ignore stale explicit meta)
- Stats and .htaccess generation consistent with keyword mode rules
1.0.23
- Force .htaccess rebuild on plugin update (version check)
- Fixed keyword-blocked PDFs not getting X-Robots-Tag in .htaccess
- .htaccess now auto-rebuilds when block mode or keywords change
1.0.21
- Icon-only action buttons with legend for cleaner UI
- Fixed status badge toggle bug
- Security: escaped all add_query_arg/remove_query_arg output
- Version bump for cache busting
1.0.20
- Cleaner status column layout (vertical badge stacking)
- Smaller, more compact action buttons
- Fixed stats count for implicitly blocked PDFs (default mode rules)
1.0.19
- Improved watermark options (position, font size, opacity)
- Better error handling for API responses
- Login protection feature for PDFs
- Keyword-based blocking rules
- Bug fixes and stability improvements
1.0.0
- Initial release
- Google blocking (free, unlimited)
- Leak scanner
- Compression via PDF.dk API
- Watermarking via PDF.dk API
- Deletion certificates
- Auto-process on upload
- Bulk actions in Media Library