<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hiperlink Digital</title>
    <description>The latest articles on DEV Community by Hiperlink Digital (@hiperlinkdigital).</description>
    <link>https://dev.to/hiperlinkdigital</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4285367%2F7d5fc465-6ef5-48bd-8250-cb63ebf124fd.png</url>
      <title>DEV Community: Hiperlink Digital</title>
      <link>https://dev.to/hiperlinkdigital</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hiperlinkdigital"/>
    <language>en</language>
    <item>
      <title>Security headers for a WordPress site: what we send and how we rolled out CSP</title>
      <dc:creator>Hiperlink Digital</dc:creator>
      <pubDate>Sat, 05 Dec 2026 20:19:48 +0000</pubDate>
      <link>https://dev.to/hiperlinkdigital/security-headers-for-a-wordpress-site-what-we-send-and-how-we-rolled-out-csp-1oj0</link>
      <guid>https://dev.to/hiperlinkdigital/security-headers-for-a-wordpress-site-what-we-send-and-how-we-rolled-out-csp-1oj0</guid>
      <description>&lt;p&gt;A few lines in every server response tell browsers to use HTTPS, not to guess file types and not to load your pages inside other sites. This guide shows which headers our own website sends, why, and how we introduced a content security policy step by step.&lt;/p&gt;

&lt;h2&gt;
  
  
  Instructions the browser follows on your behalf.
&lt;/h2&gt;

&lt;p&gt;Security headers are part of the HTTP response, not of the page content. Visitors do not see them, but browsers apply them before showing anything. You can list them with &lt;code&gt;curl -I&lt;/code&gt; followed by the address, or in the Network tab of the browser’s developer tools.&lt;/p&gt;

&lt;p&gt;They do not replace updates, backups or strong passwords. They close a few common gaps that a website would otherwise leave open by default. They do not protect your email either: whether others can send messages in your domain’s name depends on DNS records, explained in our guide to &lt;a href="https://hiperlink.digital/insights/spf-dkim-dmarc/" rel="noopener noreferrer"&gt;SPF, DKIM and DMARC&lt;/a&gt;. The &lt;a href="https://owasp.org/www-project-secure-headers/" rel="noopener noreferrer"&gt;OWASP Secure Headers Project&lt;/a&gt; keeps an overview of the headers and their recommended values.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five basic headers on every page.
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Strict-Transport-Security
&lt;/h3&gt;

&lt;p&gt;After the first HTTPS visit, the browser connects only over HTTPS for the stated period, even if someone types or follows an http:// address.&lt;/p&gt;

&lt;h3&gt;
  
  
  X-Content-Type-Options: nosniff
&lt;/h3&gt;

&lt;p&gt;The browser uses the file type the server declares and does not guess, so a file declared as another type is not run as a script or opened as an HTML page. This does not replace checking uploads on the server.&lt;/p&gt;

&lt;h3&gt;
  
  
  X-Frame-Options: SAMEORIGIN
&lt;/h3&gt;

&lt;p&gt;Other websites cannot show your pages inside a frame, which blocks tricks that hide your buttons under someone else’s page.&lt;/p&gt;

&lt;h3&gt;
  
  
  Referrer-Policy
&lt;/h3&gt;

&lt;p&gt;With &lt;code&gt;strict-origin-when-cross-origin&lt;/code&gt;, other sites learn only your domain when a visitor follows a link, not the full address of the page.&lt;/p&gt;

&lt;h3&gt;
  
  
  Permissions-Policy
&lt;/h3&gt;

&lt;p&gt;The site does not use the camera, microphone, location, payments or USB, so the header switches those features off for every page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Raise the period only when you are sure.
&lt;/h2&gt;

&lt;p&gt;A browser remembers &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Strict-Transport-Security" rel="noopener noreferrer"&gt;Strict-Transport-Security&lt;/a&gt; for the whole period you set. If HTTPS stops working during that time, visitors cannot fall back to HTTP. That is why we raised it in steps: one day first, then six months, then a year, each time after checking that the site and its certificate work.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;includeSubDomains&lt;/code&gt; applies the rule to every subdomain. Add it only when every subdomain you own, now and later, works over HTTPS. Other projects run on subdomains of our domain, so we left it out.&lt;/li&gt;
&lt;li&gt;The &lt;a href="https://hstspreload.org/" rel="noopener noreferrer"&gt;preload list&lt;/a&gt; builds HTTPS into browsers themselves. It requires &lt;code&gt;includeSubDomains&lt;/code&gt;, and removal takes a long time, so it is a decision for the whole domain, not for one website.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  One place per header.
&lt;/h2&gt;

&lt;p&gt;Our HTTPS, frame, file type and referrer headers come from the CDN in front of the server, so they also cover images, styles and scripts. The &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy" rel="noopener noreferrer"&gt;Permissions-Policy&lt;/a&gt; comes from the WordPress theme, because it only matters for pages.&lt;/p&gt;

&lt;p&gt;Whichever place you choose, write it down and check that each header appears once. Two different values for the same header, one from the server and one from a plugin, make it hard to tell which one the browser follows.&lt;/p&gt;

&lt;h2&gt;
  
  
  Report first, enforce later.
&lt;/h2&gt;

&lt;p&gt;A &lt;a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy" rel="noopener noreferrer"&gt;Content-Security-Policy&lt;/a&gt; lists the sources a page may load scripts, styles and images from. It is the strongest of these headers and also the easiest to get wrong: a missing source breaks a form or a menu without any warning to the site owner.&lt;/p&gt;

&lt;p&gt;We started with the report-only variant, which shows in the browser what would be blocked without blocking anything. We listed our own sources, checked every type of page and switched to the enforcing header only when no page reported a problem. It is a sixth header on top of the five above and, like the Permissions-Policy, it comes from the theme.&lt;/p&gt;

&lt;h2&gt;
  
  
  For your own website.
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Does every page and every static file return the HTTPS header?&lt;/li&gt;
&lt;li&gt;Did you raise the HSTS period in steps, after checking that HTTPS works everywhere?&lt;/li&gt;
&lt;li&gt;Is includeSubDomains set only if every subdomain works over HTTPS?&lt;/li&gt;
&lt;li&gt;Do pages send nosniff, a frame rule and a referrer policy?&lt;/li&gt;
&lt;li&gt;Does Permissions-Policy switch off features the site does not use?&lt;/li&gt;
&lt;li&gt;Is it written down where each header is set, and does each appear once?&lt;/li&gt;
&lt;li&gt;Do responses avoid revealing server or CMS versions?&lt;/li&gt;
&lt;li&gt;Did you start a content security policy in report-only mode and check every page type?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Headers are one part of regular maintenance. Our &lt;a href="https://hiperlink.digital/insights/wordpress-maintenance-checklist/" rel="noopener noreferrer"&gt;WordPress maintenance checklist&lt;/a&gt; covers the checks before and after updates. The &lt;a href="https://hiperlink.digital/web-index/" rel="noopener noreferrer"&gt;EU Web Index&lt;/a&gt; shows how often HSTS is missing on public and commercial websites across the EU.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://hiperlink.digital/insights/security-headers-business-website/" rel="noopener noreferrer"&gt;hiperlink.digital&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>wordpress</category>
      <category>webdev</category>
      <category>http</category>
    </item>
    <item>
      <title>Stop contact form spam without a CAPTCHA: five checks we use on WordPress</title>
      <dc:creator>Hiperlink Digital</dc:creator>
      <pubDate>Sat, 05 Dec 2026 20:19:34 +0000</pubDate>
      <link>https://dev.to/hiperlinkdigital/stop-contact-form-spam-without-a-captcha-five-checks-we-use-on-wordpress-32jm</link>
      <guid>https://dev.to/hiperlinkdigital/stop-contact-form-spam-without-a-captcha-five-checks-we-use-on-wordpress-32jm</guid>
      <description>&lt;p&gt;Most contact form spam comes from simple scripts, not people. This guide shows the checks we use on our own WordPress form, what each one stops, and why some enquiries are marked for review instead of being thrown away.&lt;/p&gt;

&lt;h2&gt;
  
  
  Look at the spam before choosing a fix.
&lt;/h2&gt;

&lt;p&gt;Between 3 and 22 October 2026, the English version of the contact form on our website delivered 11 messages. We opened the six most recent. Five came from the same automated sender, each a single sentence asking for the price in a different language. One was a sales pitch. None was a real enquiry.&lt;/p&gt;

&lt;p&gt;The pattern matters. The sender loaded the page before posting, so it passed the hidden field and the security token, and it sent too rarely to reach a rate limit.&lt;/p&gt;

&lt;p&gt;Spam sent directly to the mailbox address is a different problem. The mail provider filters it, and nothing on the website changes that.&lt;/p&gt;

&lt;h2&gt;
  
  
  What each check stops.
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Hidden field
&lt;/h3&gt;

&lt;p&gt;A field people never see. Many scripts fill in every field, so a value there means a bot. It costs nothing, but scripts that read the page leave it empty.&lt;/p&gt;

&lt;h3&gt;
  
  
  Security token
&lt;/h3&gt;

&lt;p&gt;A short-lived WordPress nonce in the form. A request sent without loading the page fails. It does not stop a script that loads the page first.&lt;/p&gt;

&lt;h3&gt;
  
  
  Rate limits
&lt;/h3&gt;

&lt;p&gt;Limits per IP address and per email address within a short window. They stop floods, not a sender that posts once every few days. Behind a CDN, count the visitor’s real IP address, not the address of the CDN node.&lt;/p&gt;

&lt;h3&gt;
  
  
  Signed time
&lt;/h3&gt;

&lt;p&gt;The form carries the time it was shown, signed with a secret. A message sent within a few seconds, or with a forged or day-old time, is rejected without sending any email.&lt;/p&gt;

&lt;h3&gt;
  
  
  Browser proof
&lt;/h3&gt;

&lt;p&gt;A value the page script adds only after someone focuses, types or clicks in the form. It is not in any form field, so scripts that only read the HTML never send it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why some enquiries are flagged, not rejected.
&lt;/h2&gt;

&lt;p&gt;Some real visitors browse without JavaScript, and some privacy tools block scripts. Rejecting every message without the browser proof would lose them.&lt;/p&gt;

&lt;p&gt;Our form still delivers those messages. It adds "[provjeri]" (Croatian for "check") to the start of the subject and a line to the body. A mail filter moves them to a separate folder, where they take seconds to review. If sorting the real enquiries then takes time every week, our guide on &lt;a href="https://hiperlink.digital/insights/first-process-to-automate/" rel="noopener noreferrer"&gt;which process to automate first&lt;/a&gt; helps you judge whether it is a good place to start.&lt;/p&gt;

&lt;p&gt;Only messages no person can send are rejected outright: a form submitted faster than it can be read, or a time stamp that was forged or has expired. The visitor then sees a clear message and can send again.&lt;/p&gt;

&lt;h2&gt;
  
  
  The trade-offs of a third-party check.
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A CAPTCHA service loads an external script. That usually means another data processor in your privacy policy, and often cookies or device signals.&lt;/li&gt;
&lt;li&gt;Puzzles and challenges add effort for every visitor, and some are hard to complete with assistive technology.&lt;/li&gt;
&lt;li&gt;A CAPTCHA does stop more automated traffic than the checks above. If flagged spam keeps growing, a privacy-friendly challenge can be the next step, with the privacy policy updated first.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Check the real path, not just the code.
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Send one enquiry from a normal browser and confirm that it arrives without the mark.&lt;/li&gt;
&lt;li&gt;Send one without JavaScript, for example as a plain form request a few seconds after loading the page, and confirm that it arrives with the mark.&lt;/li&gt;
&lt;li&gt;Submit immediately after loading the page and confirm that it is rejected with a clear message and no email.&lt;/li&gt;
&lt;li&gt;Confirm that the form still sets no cookies.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We ran these four checks on 23 October 2026.&lt;/p&gt;

&lt;h3&gt;
  
  
  What happened next
&lt;/h3&gt;

&lt;p&gt;The checks did not end the problem. The general enquiry form kept receiving messages that were not enquiries, so on 2 November 2026 we removed it. Visitors can request the free website check, which asks for the address of their website, or order a package. Since 17 November 2026 the &lt;a href="https://hiperlink.digital/contact/#project" rel="noopener noreferrer"&gt;contact page&lt;/a&gt; again has a form for projects. It has one purpose: the visitor picks a service and describes the project. It uses the same spam protections as the free check.&lt;/p&gt;

&lt;p&gt;From 2 to 13 November the free check delivered 9 requests. All of them carried the browser proof, so none was marked for review.&lt;/p&gt;

&lt;p&gt;A form with one clear purpose, and a field that only a real customer can fill in sensibly, such as the address of their own website, is easier to protect than a general contact form. In return it asks more of every visitor.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before you change your form.
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Have you read the last ten spam messages and noted how they were sent?&lt;/li&gt;
&lt;li&gt;Does the form have a hidden field and a security token?&lt;/li&gt;
&lt;li&gt;Do rate limits count the visitor’s real IP address behind your CDN?&lt;/li&gt;
&lt;li&gt;Is there a minimum time between showing the form and sending it?&lt;/li&gt;
&lt;li&gt;Are messages without the browser proof marked rather than rejected?&lt;/li&gt;
&lt;li&gt;Does a mail filter move marked messages to their own folder?&lt;/li&gt;
&lt;li&gt;If a general form keeps drawing spam, could a form with one purpose replace it?&lt;/li&gt;
&lt;li&gt;Have you tested a normal, a script-free and an instant submission?&lt;/li&gt;
&lt;li&gt;If you add a third-party challenge, is your privacy policy updated first?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Delivery is part of the same question. See our &lt;a href="https://hiperlink.digital/insights/wordpress-maintenance-checklist/" rel="noopener noreferrer"&gt;WordPress maintenance checklist&lt;/a&gt; for the checks that belong in regular maintenance. If the form sends email in your domain’s name, our guide to &lt;a href="https://hiperlink.digital/insights/spf-dkim-dmarc/" rel="noopener noreferrer"&gt;SPF, DKIM and DMARC&lt;/a&gt; explains how to send it so that a strict DMARC policy does not move your own enquiries to spam.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://hiperlink.digital/insights/contact-form-spam-without-captcha/" rel="noopener noreferrer"&gt;hiperlink.digital&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>security</category>
      <category>webdev</category>
      <category>php</category>
    </item>
    <item>
      <title>How we got three WordPress plugins translated into Croatian in one evening</title>
      <dc:creator>Hiperlink Digital</dc:creator>
      <pubDate>Sat, 05 Dec 2026 19:44:09 +0000</pubDate>
      <link>https://dev.to/hiperlinkdigital/how-we-got-three-wordpress-plugins-translated-into-croatian-in-one-evening-551a</link>
      <guid>https://dev.to/hiperlinkdigital/how-we-got-three-wordpress-plugins-translated-into-croatian-in-one-evening-551a</guid>
      <description>&lt;p&gt;We publish three free WordPress plugins: Hiperlink Security, Hiperlink HUB3 Barcode and Hiperlink Cjenik. The last two only make sense in Croatia. Yet until this week, a Croatian site that installed any of them saw English.&lt;/p&gt;

&lt;p&gt;The plugins were not the problem. We already had Croatian strings in our repository. They simply never reached WordPress.org, because a plugin's language pack is built only from translations approved on translate.wordpress.org.&lt;/p&gt;

&lt;p&gt;Here is what it took, in order.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Import what you already have
&lt;/h2&gt;

&lt;p&gt;Our Croatian strings lived in &lt;code&gt;.l10n.php&lt;/code&gt; files, the PHP translation format WordPress uses since 6.5. translate.wordpress.org imports &lt;code&gt;.po&lt;/code&gt; files, so we converted them with a short PHP script and imported them as "Waiting":&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hiperlink Security: 532 strings imported, 20 still missing&lt;/li&gt;
&lt;li&gt;HUB3 Barcode: 65 of 69&lt;/li&gt;
&lt;li&gt;Cjenik: 172 of 176&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The 20 missing Security strings were all plurals (&lt;code&gt;%d …&lt;/code&gt;). Our &lt;code&gt;.l10n.php&lt;/code&gt; files had no plural entries at all, so the Croatian site would have shown English for every count. Croatian has three plural forms, so each of those needed three translations.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Ask to become the translation editor for your own plugin
&lt;/h2&gt;

&lt;p&gt;"Waiting" strings are suggestions. Somebody with editor rights for that locale has to approve them. As the plugin author you can ask to become a Project Translation Editor (PTE) for your own plugins: you post an "Editor Request" on the Polyglots blog and tag the locale (#hr for us).&lt;/p&gt;

&lt;p&gt;The Croatian team answered the same evening and added us as PTE for all three plugins.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Approve, then check the language pack threshold
&lt;/h2&gt;

&lt;p&gt;With editor rights, approving 789 strings took three bulk actions. One small tip: raise "items per page" in your translate.wordpress.org settings first, otherwise you click through 37 pages of 15.&lt;/p&gt;

&lt;p&gt;WordPress.org builds the first language pack when 90% of the Stable sub-project is translated. We ended at 100% for Security, 97% for Cjenik and 94% for HUB3. The untranslated rest is the plugin name, author and URLs, which stay the same in every language.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Do not forget the readme
&lt;/h2&gt;

&lt;p&gt;The plugin directory page comes from a separate "Stable Readme" project, and readme translations go live almost immediately. Ours had 466 strings across the three plugins, including the FAQ and a long changelog.&lt;/p&gt;

&lt;p&gt;We translated them and imported them as current, but only after an automatic check on every string:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the same HTML tags and the same &lt;code&gt;&amp;lt;code&amp;gt;&lt;/code&gt; contents as the original&lt;/li&gt;
&lt;li&gt;the same URLs&lt;/li&gt;
&lt;li&gt;the same version numbers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then we compared the wording with the official Croatian WordPress and WooCommerce translations. That caught three terms: Site Health is "Zdravlje web-stranice" in Croatian WordPress, the comment moderation button is "Prihvati", not "Odobri", and "Anyone can register" is "Svi se mogu registrirati". A readme that names a button the user cannot find is worse than an English one.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we would tell other plugin authors
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;If your plugin has users in a smaller language, the strings you ship in the zip are not enough. Get them onto translate.wordpress.org.&lt;/li&gt;
&lt;li&gt;Check plurals. They are the first thing to go missing.&lt;/li&gt;
&lt;li&gt;Use the exact words of WordPress core and WooCommerce in your locale, not your own.&lt;/li&gt;
&lt;li&gt;Ask for PTE rights for your own plugins. It is quick, and it means you can fix a wrong word the same day.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All three plugins are free, without a paid version: &lt;a href="https://hiperlink.digital/plugins/" rel="noopener noreferrer"&gt;hiperlink.digital/plugins&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Note: the first draft of the readme translations was written with an AI assistant. Every string was then checked automatically for tags, code and links, and the terminology was compared with the official Croatian WordPress translations before import.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://hiperlinkdigital.hashnode.dev/how-we-got-three-wordpress-plugins-translated-into-croatian-in-one-evening" rel="noopener noreferrer"&gt;Hashnode&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>i18n</category>
      <category>opensource</category>
      <category>php</category>
    </item>
  </channel>
</rss>
