<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Updates — Mehmet Aksoy</title>
    <link>https://mehmetaksoy.dev/blog/</link>
    <atom:link href="https://mehmetaksoy.dev/feed.xml" rel="self" type="application/rss+xml"/>
    <description>Mehmet Aksoy is a software developer and founder from Türkiye: 8+ years, 800+ projects, 500+ still in his care, five SaaS products and three ventures.</description>
    <language>en</language>
    <lastBuildDate>Tue, 01 Dec 2026 00:00:00 GMT</lastBuildDate>
    <item>
      <title>Elementor Performance Checklist: How I Make Elementor Sites Fast</title>
      <link>https://mehmetaksoy.dev/blog/elementor-performance-checklist/</link>
      <guid>https://mehmetaksoy.dev/blog/elementor-performance-checklist/</guid>
      <pubDate>Wed, 12 Mar 2025 00:00:00 GMT</pubDate>
      <description>An Elementor performance checklist in the order I apply it: less DOM, fewer assets, the right images and fonts, then caching, measured with field data.</description>
      <content:encoded><![CDATA[<p class="lede">An Elementor performance checklist in the order I apply it: less DOM, fewer assets, the right images and fonts, then caching, measured with field data.</p><section class="article-summary" data-block="summary" aria-labelledby="article-summary"><h2 id="article-summary"><span class="icon " data-icon="" aria-hidden="true"><span class="inline-flex items-center justify-center" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M13 5h8" style="transform-box:view-box;transform:none;transform-origin:13px 5px 0"></path><path d="M13 12h8" style="transform-box:view-box;transform:none;transform-origin:13px 12px 0"></path><path d="M13 19h8" style="transform-box:view-box;transform:none;transform-origin:13px 19px 0"></path><path d="m3 17 2 2 4-4" stroke-dasharray="9" stroke-dashoffset="0" style="opacity:1"></path><path d="m3 7 2 2 4-4" stroke-dasharray="9" stroke-dashoffset="0" style="opacity:1"></path></svg></span></span>In Short</h2><ul><li>Elementor sites are slow for four reasons: deep DOM, unused CSS and JavaScript, heavy images and fonts, and no caching.</li><li>Fix them in that order. Caching goes last, because it hides problems instead of removing them.</li><li>Judge the result with field data (Core Web Vitals), not with one lab score.</li></ul></section><p>Elementor makes building fast and loading slow. That is not a reason to avoid it: many of the sites I look after are built with it, because the people who own them can edit their own pages. It is a reason to have a checklist. This is the one I keep returning to, in the order I apply it.</p><h2 id="why-are-elementor-sites-slow">Why Are Elementor Sites Slow?</h2><p>An Elementor page is slow when the browser has too much to parse before it can paint. Every section, column and widget adds wrapper elements, every widget type adds its own stylesheet and script, and add-on packs load their assets whether a page uses them or not. The result is a large DOM, render-blocking CSS and a main thread that is busy when the visitor first taps.</p><h2 id="step-1-reduce-the-dom">Step 1: Reduce the DOM</h2><ul><li>Build with flexbox or grid containers instead of nested sections and columns. One container replaces several wrappers.</li><li>Do not nest inner sections just to get spacing. Use gap and padding on the container.</li><li>Replace a widget with plain HTML when the widget does one small thing, such as a divider or a spacer.</li><li>Keep templates for header and footer lean: they load on every page.</li></ul><h2 id="step-2-load-fewer-assets">Step 2: Load Fewer Assets</h2><ul><li>Remove add-on packs you use for one widget. Each pack is another set of CSS and JavaScript on every page.</li><li>Turn on Elementor&#x27;s own performance options for asset loading, so a page loads only the widget code it uses.</li><li>Use inline SVG icons instead of loading a whole icon font for three glyphs.</li><li>Delay third-party scripts such as chat, maps and tag managers until the visitor interacts, or load them only on the pages that need them.</li></ul><h2 id="step-3-fix-images-and-fonts">Step 3: Fix Images and Fonts</h2><ul><li>Serve WebP or AVIF at the size the layout shows, with <code>width</code> and <code>height</code> set, so nothing shifts while loading.</li><li>Lazy-load images below the fold, but never the hero image. Give the hero <code>fetchpriority=&quot;high&quot;</code> instead: it is usually the LCP element.</li><li>Host fonts yourself, limit them to the weights you use, and set <code>font-display: swap</code>.</li><li>Background images set in the editor are invisible to lazy loading; keep them small or turn them into real image elements.</li></ul><h2 id="step-4-cache-then-cache-at-the-edge">Step 4: Cache, Then Cache at the Edge</h2><p>Page caching turns a PHP request into a static file. A CDN in front of it serves that file from a location near the visitor. For logged-in or dynamic parts, an object cache such as Redis keeps the database quiet. I add these last, on purpose: a cache makes a heavy page arrive sooner, but the browser still has to parse all of it.</p><h2 id="step-5-measure-with-field-data">Step 5: Measure with Field Data</h2><p>A lab score describes one run on one machine. Core Web Vitals describe what real visitors had: LCP at or under 2.5 seconds, INP at or under 200 milliseconds and CLS at or under 0.1, each at the 75th percentile. I check the field data after every change and wait for it to move before I call a problem fixed. <a href="https://mehmetaksoy.dev/blog/core-web-vitals-inp/">What INP measures and how to fix it</a> has its own post.</p><section class="article-faq" data-block="faq" aria-labelledby="article-faq"><h2 id="article-faq">Questions and Answers</h2><h3>Is Elementor Bad for Performance?</h3><p>No. Elementor adds weight, and that weight can be managed. A page built with containers, a short plugin list, sized images and a cache can pass Core Web Vitals.</p><h3>Which Caching Plugin Should I Use with Elementor?</h3><p>The one your host supports best. What matters is that full-page caching is on, that CSS files are regenerated after an Elementor update, and that the cache is cleared when a template changes.</p><h3>Should I Switch from Sections to Containers on an Old Site?</h3><p>Only page by page, and starting with the pages that get the most visits. The conversion changes markup, so check each page afterwards.</p></section>]]></content:encoded>
    </item>
    <item>
      <title>Laravel and Inertia in Practice: SPA Feel Without an API</title>
      <link>https://mehmetaksoy.dev/blog/laravel-inertia-in-practice/</link>
      <guid>https://mehmetaksoy.dev/blog/laravel-inertia-in-practice/</guid>
      <pubDate>Wed, 05 Feb 2025 00:00:00 GMT</pubDate>
      <description>Inertia lets a Laravel app behave like a single-page app without a separate API: how it works, how I structure it, and when not to use it.</description>
      <content:encoded><![CDATA[<p class="lede">Inertia lets a Laravel app behave like a single-page app without a separate API: how it works, how I structure it, and when not to use it.</p><section class="article-summary" data-block="summary" aria-labelledby="article-summary"><h2 id="article-summary"><span class="icon " data-icon="" aria-hidden="true"><span class="inline-flex items-center justify-center" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M13 5h8" style="transform-box:view-box;transform:none;transform-origin:13px 5px 0"></path><path d="M13 12h8" style="transform-box:view-box;transform:none;transform-origin:13px 12px 0"></path><path d="M13 19h8" style="transform-box:view-box;transform:none;transform-origin:13px 19px 0"></path><path d="m3 17 2 2 4-4" stroke-dasharray="9" stroke-dashoffset="0" style="opacity:1"></path><path d="m3 7 2 2 4-4" stroke-dasharray="9" stroke-dashoffset="0" style="opacity:1"></path></svg></span></span>In Short</h2><ul><li>Inertia is a thin layer between Laravel and a client framework such as React or Vue. Controllers return page components with props instead of JSON from an API.</li><li>You keep server-side routing, validation, sessions and policies, and still get navigation without full page reloads.</li><li>It fits apps where one team owns both sides. It does not fit when other clients need a public API.</li></ul></section><h2 id="what-is-inertia">What Is Inertia?</h2><p>Inertia.js is a protocol and a small set of adapters that connect a server-side framework to a client-side one. In a Laravel app, a controller ends with <code>Inertia::render(&#x27;Invoices/Index&#x27;, [...])</code> instead of returning a Blade view or a JSON resource. The named page is a React, Vue or Svelte component, and the array becomes its props. There is no REST or GraphQL layer to design, version and secure.</p><h2 id="how-does-inertia-work">How Does Inertia Work?</h2><ol><li>The first request returns a full HTML document with the page component&#x27;s name and props embedded.</li><li>After that, links are intercepted. The client requests the next URL with an <code>X-Inertia</code> header and the server answers with JSON: component name, props, URL and asset version.</li><li>The client swaps the component and updates the browser history. The address bar, the back button and deep links behave as they do on a classic site.</li><li>When the asset version changes after a deploy, Inertia forces a full reload so nobody runs stale JavaScript.</li></ol><h2 id="how-i-structure-pages">How I Structure Pages</h2><ul><li>One folder per resource under <code>Pages/</code>, mirroring the routes: <code>Invoices/Index</code>, <code>Invoices/Show</code>, <code>Invoices/Edit</code>.</li><li>Persistent layouts for the shell, so the sidebar and its state survive navigation.</li><li>Controllers send only what the page renders. An Eloquent model passed whole exposes every column to the browser, so I map to arrays or API resources first.</li><li>Authorization stays in policies on the server. The props carry simple flags such as <code>can.update</code>; the client only decides what to show.</li></ul><h2 id="forms-and-validation">Forms and Validation</h2><p>Inertia&#x27;s form helper keeps the form state, the processing flag and the errors together. I submit with it, validate with a Laravel form request, and when validation fails Laravel redirects back and the errors arrive as props, exactly as in a Blade app. There is no hand-written error mapping and no second set of validation rules in JavaScript.</p><h2 id="shared-data-partial-reloads-and-deferred-props">Shared Data, Partial Reloads and Deferred Props</h2><ul><li><strong>Shared data.</strong> The <code>HandleInertiaRequests</code> middleware shares what every page needs: the signed-in user, flash messages, permissions. Keep it small, because it travels with every response.</li><li><strong>Partial reloads.</strong> A filter or a pagination link can ask for only the props that change.</li><li><strong>Lazy and deferred props.</strong> Expensive data can be left out of the first response and loaded right after the page renders.</li></ul><h2 id="when-not-to-use-inertia">When Not to Use Inertia</h2><ul><li>A mobile app or third parties need the same data: build the API, and let the web client use it too.</li><li>The public pages depend on search traffic and you do not want to run server-side rendering for them. Blade, or a prerendered site like this one, is simpler.</li><li>The front end and the back end are owned by separate teams with separate release cycles.</li></ul><p>For the admin panels and client portals that make up much of agency work, none of those apply, and that is where I reach for Laravel with Inertia first.</p><section class="article-faq" data-block="faq" aria-labelledby="article-faq"><h2 id="article-faq">Questions and Answers</h2><h3>Is Inertia a Framework?</h3><p>No. It is the glue between a server framework and a client framework. Routing, controllers and data access stay in Laravel.</p><h3>Does Inertia Need an API?</h3><p>No. Controllers return page props directly; authentication uses the normal Laravel session.</p><h3>Is Inertia Good for SEO?</h3><p>Pages are rendered in the browser unless you enable server-side rendering. For content that has to rank, turn SSR on or serve those pages another way.</p></section>]]></content:encoded>
    </item>
    <item>
      <title>ACF Block Architecture: Blocks Editors Can Use Without Breaking the Page</title>
      <link>https://mehmetaksoy.dev/blog/acf-block-architecture/</link>
      <guid>https://mehmetaksoy.dev/blog/acf-block-architecture/</guid>
      <pubDate>Wed, 22 Jan 2025 00:00:00 GMT</pubDate>
      <description>A small ACF Pro block library lets clients edit everything without breaking anything: block.json, field naming, version control and limits.</description>
      <content:encoded><![CDATA[<p class="lede">A small ACF Pro block library lets clients edit everything without breaking anything: block.json, field naming, version control and limits.</p><section class="article-summary" data-block="summary" aria-labelledby="article-summary"><h2 id="article-summary"><span class="icon " data-icon="" aria-hidden="true"><span class="inline-flex items-center justify-center" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M13 5h8" style="transform-box:view-box;transform:none;transform-origin:13px 5px 0"></path><path d="M13 12h8" style="transform-box:view-box;transform:none;transform-origin:13px 12px 0"></path><path d="M13 19h8" style="transform-box:view-box;transform:none;transform-origin:13px 19px 0"></path><path d="m3 17 2 2 4-4" stroke-dasharray="9" stroke-dashoffset="0" style="opacity:1"></path><path d="m3 7 2 2 4-4" stroke-dasharray="9" stroke-dashoffset="0" style="opacity:1"></path></svg></span></span>In Short</h2><ul><li>An ACF block is a Gutenberg block whose fields are defined with Advanced Custom Fields Pro and whose markup is a PHP template.</li><li>A good library is small: around a dozen blocks, each doing one job, with few options.</li><li>Register with <code>block.json</code>, keep field groups in version control, and restrict what editors can insert.</li></ul></section><h2 id="what-is-an-acf-block">What Is an ACF Block?</h2><p>An ACF block is a block for the WordPress editor built with Advanced Custom Fields Pro instead of React. You describe the block in a <code>block.json</code> file, define its fields in ACF, and render it with a PHP template that reads those fields. The editor sees a form and a live preview; the developer writes the markup once and owns it. For client sites that matters more than anything else: the layout cannot be dragged out of shape.</p><h2 id="why-a-small-library-beats-a-page-builder-for-some-sites">Why a Small Library Beats a Page Builder for Some Sites</h2><p>Page builders give editors every option, and every option is a way to make page forty look different from page four. A block library gives them the decisions that are theirs to make: the words, the image, the order of sections. Spacing, type sizes and colours come from the theme. Fewer choices is not a restriction for most content teams; it is the reason they stop asking for help.</p><h2 id="how-i-structure-a-block">How I Structure a Block</h2><ul><li>One folder per block: <code>blocks/hero/block.json</code>, <code>hero.php</code>, <code>hero.css</code>. Nothing about the block lives elsewhere.</li><li><code>block.json</code> carries the name, title, category, icon, supported features and the ACF render template. WordPress loads the block&#x27;s stylesheet only on pages that use it.</li><li>Field names are prefixed with the block name (<code>hero_title</code>, <code>hero_image</code>), so a search across the project finds every use.</li><li>The template escapes on output and returns early when a required field is empty, so a half-filled block never prints broken markup.</li><li>Inner blocks are allowed only where an editor really needs free content, and then with a fixed list of allowed blocks.</li></ul><h2 id="keep-field-groups-in-version-control">Keep Field Groups in Version Control</h2><p>ACF can save every field group as a JSON file in the theme&#x27;s <code>acf-json</code> folder and load it from there. I turn that on in every project. Field changes then travel through Git with the code that depends on them, a deploy cannot leave the database and the templates out of step, and reviewing a change to a field is as easy as reviewing a change to a template.</p><h2 id="limit-what-editors-can-insert">Limit What Editors Can Insert</h2><ul><li>Allow only the library&#x27;s blocks and a few core ones (paragraph, heading, list, image) with the <code>allowed_block_types_all</code> filter.</li><li>Turn off the features a design does not use in <code>theme.json</code>: custom colours, custom font sizes, arbitrary spacing.</li><li>Lock the structure of templates that must not change, such as a landing page with a fixed section order.</li><li>Give each block a short description and a sensible preview state, so the inserter explains itself.</li></ul><h2 id="what-goes-wrong">What Goes Wrong</h2><ul><li><strong>Too many options.</strong> A block with twelve toggles is a page builder again. Split it into two blocks.</li><li><strong>One giant &quot;flexible content&quot; field.</strong> It works, but the editor loses the block inserter, patterns and reordering. Real blocks age better.</li><li><strong>Preview that differs from the front end.</strong> Load the same stylesheet in the editor, or editors stop trusting the preview.</li></ul><section class="article-faq" data-block="faq" aria-labelledby="article-faq"><h2 id="article-faq">Questions and Answers</h2><h3>Do ACF Blocks Need ACF Pro?</h3><p>Yes. Block registration is a Pro feature of Advanced Custom Fields.</p><h3>Are ACF Blocks Slower Than Native Blocks?</h3><p>They render on the server with PHP, like dynamic native blocks. With page caching in front, visitors receive static HTML either way.</p><h3>Can ACF Blocks and Elementor Live on the Same Site?</h3><p>Yes, on different templates. I keep content pages on blocks and avoid mixing both in one page.</p></section>]]></content:encoded>
    </item>
    <item>
      <title>Core Web Vitals and INP: What Actually Fixes a Slow Interaction</title>
      <link>https://mehmetaksoy.dev/blog/core-web-vitals-inp/</link>
      <guid>https://mehmetaksoy.dev/blog/core-web-vitals-inp/</guid>
      <pubDate>Fri, 10 Jan 2025 00:00:00 GMT</pubDate>
      <description>INP replaced FID as a Core Web Vital in March 2024. What it measures, the 200 ms threshold, and the fixes that move it: shorter tasks and less JavaScript.</description>
      <content:encoded><![CDATA[<p class="lede">INP replaced FID as a Core Web Vital in March 2024. What it measures, the 200 ms threshold, and the fixes that move it: shorter tasks and less JavaScript.</p><section class="article-summary" data-block="summary" aria-labelledby="article-summary"><h2 id="article-summary"><span class="icon " data-icon="" aria-hidden="true"><span class="inline-flex items-center justify-center" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M13 5h8" style="transform-box:view-box;transform:none;transform-origin:13px 5px 0"></path><path d="M13 12h8" style="transform-box:view-box;transform:none;transform-origin:13px 12px 0"></path><path d="M13 19h8" style="transform-box:view-box;transform:none;transform-origin:13px 19px 0"></path><path d="m3 17 2 2 4-4" stroke-dasharray="9" stroke-dashoffset="0" style="opacity:1"></path><path d="m3 7 2 2 4-4" stroke-dasharray="9" stroke-dashoffset="0" style="opacity:1"></path></svg></span></span>In Short</h2><ul><li>INP (Interaction to Next Paint) measures how long a page takes to show a visual response after a tap, click or key press.</li><li>Good is 200 milliseconds or less, measured on real visits at the 75th percentile.</li><li>Two fixes do most of the work: break up long tasks, and ship less JavaScript.</li></ul></section><h2 id="what-is-inp">What Is INP?</h2><p>Interaction to Next Paint (INP) is the Core Web Vital that measures responsiveness. It observes the clicks, taps and key presses during a visit and reports how long the page took, from the input to the next frame the browser painted. INP replaced First Input Delay (FID) in March 2024. FID only measured the wait before the first input was handled; INP also counts the handler&#x27;s own run time and the rendering after it, for every interaction.</p><h2 id="what-is-a-good-inp">What Is a Good INP?</h2><ul><li>Good: 200 milliseconds or less.</li><li>Needs improvement: above 200 and up to 500 milliseconds.</li><li>Poor: above 500 milliseconds.</li></ul><p>The verdict comes from field data at the 75th percentile of real visits, not from a fast laptop with a warm cache. The other two vitals stand beside it: LCP is good at 2.5 seconds or less, CLS at 0.1 or less.</p><h2 id="why-do-pages-fail-inp">Why Do Pages Fail INP?</h2><p>A page fails INP when the main thread is busy at the moment someone interacts. The first click can be instant and the fourth one slow, because it landed in the middle of a long task. That is why INP problems are usually found in the field rather than in the lab, and why the cause is so often a script the page does not own: a tag, a chat widget, an A/B testing snippet.</p><h2 id="how-do-you-find-the-slow-interaction">How Do You Find the Slow Interaction?</h2><ol><li>Start with field data. It shows which pages, and which kind of interaction, are slow for real visitors.</li><li>Reproduce it in the lab with CPU throttling and record a performance profile.</li><li>Read the long tasks behind the interaction. The Long Animation Frames API attributes the blocking work to specific scripts.</li></ol><h2 id="how-do-you-fix-inp">How Do You Fix INP?</h2><ul><li><strong>Break up long tasks.</strong> Yield to the main thread between chunks of work, with <code>scheduler.yield()</code> where it is supported and a <code>setTimeout</code> fallback elsewhere.</li><li><strong>Move heavy work off the main thread.</strong> Parsing, sorting and other computation that needs no DOM can run in a Web Worker.</li><li><strong>Ship less JavaScript.</strong> Split code by route, defer what sits below the fold, and audit every third-party tag.</li><li><strong>Keep handlers thin.</strong> Read the event, give visual feedback at once, schedule the rest.</li><li><strong>Render less.</strong> A large DOM makes every style and layout pass slower, so a small change can still paint late.</li></ul><h2 id="do-not-lose-lcp-and-cls-while-chasing-inp">Do Not Lose LCP and CLS While Chasing INP</h2><p>LCP at or under 2.5 seconds mostly comes from preloading the hero image and not blocking rendering with late CSS or fonts. CLS at or under 0.1 comes from reserving space for images, embeds and banners before they load. A cookie banner injected late can damage both. On page-builder sites the same discipline applies; my <a href="https://mehmetaksoy.dev/blog/elementor-performance-checklist/">Elementor performance checklist</a> covers it.</p><h2 id="treat-the-vitals-as-monitoring">Treat the Vitals as Monitoring</h2><p>Field data reflects a rolling window of real visits, so a regression can hide for weeks. Measuring continuously is the only way to know whether a change helped. This site follows the same rule on a small scale: every page is prerendered and each one stays within a 170 KB budget of compressed JavaScript.</p><section class="article-faq" data-block="faq" aria-labelledby="article-faq"><h2 id="article-faq">Questions and Answers</h2><h3>Is INP a Ranking Factor?</h3><p>Core Web Vitals are part of Google&#x27;s page experience signals. They help when relevance is otherwise similar; they do not replace relevant content.</p><h3>Does a Single Slow Interaction Ruin INP?</h3><p>On pages with many interactions the very worst ones are discounted, but a pattern of slow responses will show at the 75th percentile.</p><h3>Can I Measure INP in the Lab?</h3><p>Only for the interactions you perform yourself. The lab is for reproducing and fixing; the field decides whether it is fixed.</p></section>]]></content:encoded>
    </item>
    <item>
      <title>From Freelancer to Agency: Five Things the Road Taught Me</title>
      <link>https://mehmetaksoy.dev/blog/from-freelancer-to-agency/</link>
      <guid>https://mehmetaksoy.dev/blog/from-freelancer-to-agency/</guid>
      <pubDate>Wed, 01 Jan 2025 00:00:00 GMT</pubDate>
      <description>From a childhood hobby to two agencies and five products: five lessons about learning, maintenance, systems, partners and access.</description>
      <content:encoded><![CDATA[<p class="lede">From a childhood hobby to two agencies and five products: five lessons about learning, maintenance, systems, partners and access.</p><section class="article-summary" data-block="summary" aria-labelledby="article-summary"><h2 id="article-summary"><span class="icon " data-icon="" aria-hidden="true"><span class="inline-flex items-center justify-center" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M13 5h8" style="transform-box:view-box;transform:none;transform-origin:13px 5px 0"></path><path d="M13 12h8" style="transform-box:view-box;transform:none;transform-origin:13px 12px 0"></path><path d="M13 19h8" style="transform-box:view-box;transform:none;transform-origin:13px 19px 0"></path><path d="m3 17 2 2 4-4" stroke-dasharray="9" stroke-dashoffset="0" style="opacity:1"></path><path d="m3 7 2 2 4-4" stroke-dasharray="9" stroke-dashoffset="0" style="opacity:1"></path></svg></span></span>In Short</h2><ul><li>Choose the work that teaches you over the work that pays most, early on.</li><li>Maintenance is the real product: launches end, looking after things does not.</li><li>Selling hours has a ceiling. Turn what you know into systems, split roles by real strengths, and treat every credential as a liability.</li></ul></section><p>Writing software started as a childhood hobby for me, long before it was a job. It turned into 8+ years of professional work in advertising, media and software, and along the way into two agencies and five products. This is not a success story with a formula attached. It is a short list of things I wish I had understood earlier.</p><h2 id="1-choose-the-work-that-teaches-you">1. Choose the Work That Teaches You</h2><p>Early on, the project that teaches you something is worth more than the one that pays a little better. What you learn widens the set of problems you can say yes to next year; a slightly better fee does not. Curiosity kept alive since childhood is a professional advantage for the same reason: it makes hard problems feel like play, and you stay with them longer.</p><h2 id="2-maintenance-is-the-real-product">2. Maintenance Is the Real Product</h2><p>I have taken part in 800+ projects, and for 500+ of them I still run the infrastructure, the servers, access and security. Nothing taught me more about operations, backups and discipline than that standing responsibility. A launch is one day. The years after it are where a client decides whether you were worth it, and where a reputation is made.</p><h2 id="3-hours-do-not-scale-systems-do">3. Hours Do Not Scale, Systems Do</h2><p>Freelancing grows until it suddenly stops. When you sell hours, every step of growth uses the same scarce resource, you, and the ceiling arrives as tiredness rather than as a number on a chart. Moving to an agency only works if what you know becomes a system: checklists, runbooks and rules that still hold when you are away. The point is not paperwork. The point is that quality should not depend on anyone&#x27;s mood.</p><h2 id="4-split-roles-by-real-strengths">4. Split Roles by Real Strengths</h2><p>Nobody is good at everything. Founding WOOW Digital and co-founding VOX Medya worked because the roles followed what each person was actually good at, not what looked right on a card. A partner whose strengths cover your blind spots is worth more than any tool you will buy.</p><h2 id="5-treat-every-credential-as-a-liability">5. Treat Every Credential as a Liability</h2><p>Looking after access and security for 500+ projects taught me this one. Every password, key and admin account is something that can go wrong. Give each person the least access the job needs, keep shared secrets in a password manager, use two-factor sign-in everywhere, and keep a record of who can reach what. Remove access on the day someone stops needing it. These habits are boring, and they are the difference between a bad night and a bad month.</p><h2 id="what-the-lessons-turned-into">What the Lessons Turned Into</h2><p>Two of them became products. <a href="https://mehmetaksoy.dev/projects/conbridge/">ConBridge</a> comes from the second and fifth lessons: it finds known vulnerabilities on the systems you own and lets an AI app fix them only after you approve. <a href="https://mehmetaksoy.dev/projects/defter-pro/">Defter Pro</a> comes from the third: quotes, invoices, payments and tasks for freelancers and agencies, in one place.</p><p>What has not changed since the hobby is the reason for all of it. I still like understanding how things work and making them work better. The difference is that people, clients and servers now depend on the answer.</p><section class="article-faq" data-block="faq" aria-labelledby="article-faq"><h2 id="article-faq">Questions and Answers</h2><h3>When Should a Freelancer Start an Agency?</h3><p>When the work you turn down, or do tired, is more than one person can fix. If the problem is price rather than hours, raise the price first.</p><h3>What Is the Hardest Part of the Move?</h3><p>Letting the system do what you used to do yourself, and accepting that written-down steps beat memory.</p></section>]]></content:encoded>
    </item>
    <item>
      <title>WordPress Multilingual Strategy: Polylang, WPML or a Custom Build</title>
      <link>https://mehmetaksoy.dev/blog/wordpress-multilingual-strategy/</link>
      <guid>https://mehmetaksoy.dev/blog/wordpress-multilingual-strategy/</guid>
      <pubDate>Sun, 15 Dec 2024 00:00:00 GMT</pubDate>
      <description>Polylang, WPML, multisite or custom: a WordPress multilingual strategy starts with URLs, hreflang and the editing workflow, and only then with the plugin.</description>
      <content:encoded><![CDATA[<p class="lede">Polylang, WPML, multisite or custom: a WordPress multilingual strategy starts with URLs, hreflang and the editing workflow, and only then with the plugin.</p><section class="article-summary" data-block="summary" aria-labelledby="article-summary"><h2 id="article-summary"><span class="icon " data-icon="" aria-hidden="true"><span class="inline-flex items-center justify-center" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M13 5h8" style="transform-box:view-box;transform:none;transform-origin:13px 5px 0"></path><path d="M13 12h8" style="transform-box:view-box;transform:none;transform-origin:13px 12px 0"></path><path d="M13 19h8" style="transform-box:view-box;transform:none;transform-origin:13px 19px 0"></path><path d="m3 17 2 2 4-4" stroke-dasharray="9" stroke-dashoffset="0" style="opacity:1"></path><path d="m3 7 2 2 4-4" stroke-dasharray="9" stroke-dashoffset="0" style="opacity:1"></path></svg></span></span>In Short</h2><ul><li>Decide three things before the plugin: the URL structure, who translates and how, and what must be translatable beyond posts.</li><li>Polylang suits content sites with a few languages; WPML suits shops and teams that need translation management; multisite suits languages that are really separate sites.</li><li>Whatever you pick, every page needs reciprocal hreflang tags and no automatic redirect by browser language.</li></ul></section><h2 id="what-does-a-wordpress-multilingual-strategy-have-to-decide">What Does a WordPress Multilingual Strategy Have to Decide?</h2><p>A multilingual strategy is the set of decisions about URLs, translation workflow and scope that a site makes before it installs anything. The plugin only implements them. Sites that start from the plugin end up with half-translated menus, slugs in the wrong language and a second language nobody maintains.</p><h2 id="step-1-choose-the-url-structure">Step 1: Choose the URL Structure</h2><ul><li><strong>Subdirectories</strong> (<code>example.org/tr/</code>) keep everything on one domain and are the simplest to run. This is my default.</li><li><strong>Subdomains</strong> (<code>tr.example.org</code>) fit when a language needs its own hosting or team.</li><li><strong>Separate domains</strong> (<code>example.tr</code>) send the strongest country signal and cost the most to maintain.</li></ul><p>Translate the slugs as well. <code>/tr/hakkimda/</code> tells a Turkish reader, and a search engine, more than <code>/tr/about/</code>.</p><h2 id="step-2-get-hreflang-right">Step 2: Get Hreflang Right</h2><ul><li>Every page lists all its language versions, including itself.</li><li>The references are reciprocal: if the English page points to the Turkish one, the Turkish one points back.</li><li>The hreflang URL equals the canonical URL, down to the trailing slash.</li><li>An <code>x-default</code> names the version for everyone else.</li><li>Do not redirect by IP address or browser language. Offer a visible language switch instead; crawlers and shared links need stable URLs.</li></ul><h2 id="step-3-pick-the-tool">Step 3: Pick the Tool</h2><ul><li><strong>Polylang</strong> stores each translation as its own post and links the versions. It is light, its core is free, and it fits content sites with two or three languages.</li><li><strong>WPML</strong> adds translation management, string translation and a WooCommerce layer. It fits shops and teams that send content to translators.</li><li><strong>Multisite</strong> (one site per language, linked by a plugin) fits when languages differ in content, design or ownership. It also multiplies maintenance.</li><li><strong>Custom</strong>, without a plugin, fits small sites with a fixed set of templates, or sites that are not WordPress at all.</li></ul><h2 id="step-4-list-what-must-be-translatable">Step 4: List What Must Be Translatable</h2><p>Posts and pages are the easy part. The list that decides the tool is everything else: menus, widgets, theme strings, custom fields, taxonomy terms, e‑mail templates, form messages, SEO titles and descriptions, image alt texts and, in a shop, products, attributes and checkout texts. I write that list first and test the candidate plugin against it on a staging copy.</p><h2 id="step-5-plan-the-workflow">Step 5: Plan the Workflow</h2><ul><li>Decide what happens when the source text changes: is the translation flagged, or silently left behind?</li><li>Publish a language only when its core pages are complete. A switch that leads to a missing page is worse than no switch.</li><li>Keep one person responsible for each language.</li></ul><h2 id="how-this-site-does-it">How This Site Does It</h2><p>This site is not WordPress, but it follows the same plan. English lives at the root and Turkish under <code>/tr/</code> with Turkish slugs. Every page is prerendered in both languages, carries reciprocal hreflang tags with <code>x-default</code> pointing to English, and the language switch is a normal link to the same page in the other language. A build check fails when the two languages do not have the same set of content keys.</p><section class="article-faq" data-block="faq" aria-labelledby="article-faq"><h2 id="article-faq">Questions and Answers</h2><h3>Is Polylang or WPML Better?</h3><p>Polylang for a content site with a few languages and one editor; WPML for WooCommerce or when translators work through a managed workflow.</p><h3>Do I Need Hreflang If I Have a Language Switch?</h3><p>Yes. The switch is for people; hreflang tells search engines which URL is the equivalent in each language.</p><h3>Should I Auto-translate with AI?</h3><p>As a first draft it saves time. A person who knows the language should still read every page before it is published.</p></section>]]></content:encoded>
    </item>
  </channel>
</rss>
