Guides › Technical
67 guides

Technical fix guides

Step-by-step guides to fix every Technical issue a website audit can find — with code you can copy, platform notes and how to check the fix worked.

How to Enable HTTPS and Redirect Your Site from HTTPYour site loads over plain HTTP. Install a free TLS certificate, force a 301 redirect to HTTPS, fix mixed content and confirm every page is secure.How to Fix the HTTP to HTTPS Redirect (301) on Your SiteMake every http:// URL 301-redirect to its https:// version in one hop, with fixes for Nginx, Apache, WordPress, Cloudflare and Next.js and a curl test.How to Fix Mixed Content Warnings on an HTTPS WebsiteFind and fix mixed content: replace http:// images, scripts, fonts and iframes on HTTPS pages so browsers stop blocking assets and showing security warnings.How to Fix SSL Certificate Expiry and Trust ErrorsRenew an expiring or untrusted SSL certificate, turn on automatic renewal and set up expiry alerts so your site always has 30+ days of valid HTTPS left.How to Fix a Missing HSTS Header (Strict-Transport-Security)No Strict-Transport-Security header on your homepage? Add HSTS with a one-year max-age on Nginx, Apache, WordPress, Next.js or Cloudflare, then verify it.How to Fix www vs non-www Duplicate Hostnames with 301sYour site loads on both www and non-www, splitting links and creating duplicates. Pick one hostname and 301-redirect the other with nginx, Apache or a CMS.How to Fix a Missing robots.txt File (Step-by-Step)Your site's /robots.txt returns 404 or an error. Create a valid robots.txt that allows crawling and lists your XML sitemap, on any platform, in 10 minutes.How to Fix robots.txt Blocking CSS, JS and Key PagesYour robots.txt blocks Googlebot from CSS, JavaScript or the whole site. Find the bad Disallow rules, fix them safely and confirm in Search Console.How to Fix a Missing XML Sitemap (and Get It Found)No XML sitemap found? Create one with your indexable URLs, publish it at /sitemap.xml, reference it in robots.txt and submit it in Google Search Console.How to Fix Non-200 URLs in Your XML SitemapFind and remove redirected, 404, 5xx and blocked URLs from your XML sitemap so every listed URL returns 200 OK and search engines trust your sitemap again.How to Fix Missing or Inaccurate Sitemap lastmod DatesYour XML sitemap has no <lastmod> dates, or they change on every build. Add accurate W3C-format lastmod values so Google and Bing recrawl updated pages sooner.How to Fix Broken Internal Links That Return 4xx ErrorsFind internal links pointing to 404, 410 or 403 pages, update or remove them, add 301 redirects where pages moved, and re-crawl to confirm every link resolves.How to Fix Server Errors (5xx) Found in Your Site AuditFind and fix 5xx server errors and timeouts: read server logs, repair crashing routes, tune timeouts and scale hosting so every page returns a 200 status.How to Fix Redirect Chains and Collapse Them to One 301Find URLs that pass through 2+ redirects, collapse each into a single 301 to the final URL, and update internal links so crawlers and users land in one hop.How to Fix Redirect Loops (ERR_TOO_MANY_REDIRECTS)Find and fix redirect loops that trigger ERR_TOO_MANY_REDIRECTS: trace the chain with curl, remove conflicting HTTPS, www and slash rules, and retest.How to Fix 302 Redirects Used for Permanent MovesFind 302 and 307 redirects on your site, switch permanent moves to 301 or 308 in Apache, Nginx, WordPress, Next.js or Cloudflare, and confirm the new status.How to Fix Soft 404 Pages and Return a Real 404 StatusUnknown URLs on your site return 200 or redirect instead of 404? Configure your server, CMS or framework to send a real 404 or 410 status for missing pages.How to Fix a Missing or Unhelpful Custom 404 PageYour 404 page has no links to search or the homepage. Build a custom 404 with a search box and popular links that still returns a real 404 status code.How to Fix a Slow Largest Contentful Paint (LCP) on MobileMobile LCP over 2.5s? Find your LCP element, cut server response time, preload and compress the hero image, and remove render-blocking code to pass.How to Fix Interaction to Next Paint (INP) Above 200msSlow INP makes taps and clicks feel laggy. Find the long JavaScript tasks behind it, defer third-party scripts and get INP under 200ms in field data.How to Fix Cumulative Layout Shift (CLS) on Your WebsiteFix Cumulative Layout Shift by reserving space for images, ads, embeds and fonts. Step-by-step guide to get CLS under 0.1 in PageSpeed Insights and CrUX.How to Fix Slow Time to First Byte (TTFB) on Your WebsiteSlow TTFB delays every page load. Learn how to diagnose server delay, add page caching and a CDN, and get median TTFB under 800ms across your whole site.How to Fix Total Page Weight: Get Your Homepage Under 2 MBYour homepage is too heavy? Cut total page weight below 2 MB by compressing images, trimming fonts and scripts, and enabling Brotli. Step-by-step guide.How to Fix Render-Blocking Resources on Your WebsiteFind the scripts and stylesheets that block first paint, defer non-critical JavaScript, inline critical CSS and load the rest async so pages render faster.How to Fix Unminified CSS and JavaScript Files on Your SiteFind the CSS and JS files your site serves unminified, turn on minification in your build tool or caching plugin, purge caches and confirm smaller file sizes.How to Enable Gzip or Brotli Compression on Your WebsiteHomepage HTML or CSS/JS served uncompressed? Turn on Brotli or Gzip on your server or CDN and confirm the Content-Encoding header in minutes.How to Fix Browser Caching Headers on Static AssetsStatic CSS, JS, images or fonts cached for under 7 days? Set Cache-Control max-age on versioned files so repeat visits load from the browser cache.How to Fix Next-Gen Image Formats: Serve WebP and AVIFHomepage images still served as JPEG, PNG or GIF? Convert them to WebP or AVIF, serve them with <picture> or your CDN, and cut image weight by 25-50%.How to Fix Oversized Images and Cut Homepage Image WeightFind homepage images over 300 KB, resize them to display dimensions, convert to WebP or AVIF, and add srcset so every image loads fast on mobile and desktop.How to Fix Missing Lazy-Loading on Offscreen ImagesAdd loading="lazy" to below-the-fold images without touching your hero image. Step-by-step fix for HTML, WordPress, Shopify, Webflow and Next.js.How to Fix Too Many HTTP Requests on Your Web PagesPages loading 100+ files? Learn how to cut HTTP requests by removing unused plugins, bundling CSS/JS, self-hosting fonts and deferring embeds, then verify it.How to Fix Unused JavaScript and Speed Up Mobile PagesCut the Reduce unused JavaScript savings in PageSpeed Insights below 300ms on mobile by finding dead code, removing old tags and code-splitting your bundles.How to Fix Third-Party Script Impact on Your HomepageCut the number of third-party script hosts on your homepage: remove dead tags, self-host libraries and delay chat widgets and trackers until user interaction.How to Fix Web Font Loading with font-display and PreloadFix slow, invisible web fonts: add font-display: swap to every @font-face, add display=swap to Google Fonts links, and preload your key WOFF2 files.How to Fix Mobile-Friendly Rendering and Horizontal ScrollFix pages that lack a responsive viewport tag or scroll sideways on phones. Add the right meta tag, find overflowing elements at 390px and test each template.How to Fix JavaScript-Dependent Content for Crawlers and AIMain text missing from raw HTML? Server-side render or pre-render content so Googlebot and AI crawlers can read your pages without running JavaScript.How to Fix Crawl Budget Waste from URL ParametersCut the share of internal links pointing to ?sort=, ?filter= and ?utm= URLs, then block or canonicalise what's left so crawlers spend time on real pages.How to Fix Duplicate URL Variants (Case, Slash, Index)Fix duplicate URL variants caused by trailing slashes, uppercase letters and index.html paths with 301 redirects and canonical tags so one URL gets indexed.How to Fix Canonical Tags Pointing to Non-200 URLsCanonical tags that point to redirects, 404s or server errors get ignored by Google. Find the broken targets and point every canonical to a live 200 URL.How to Fix Conflicting Canonical and Noindex TagsPages that are noindex and also canonicalize to another URL send search engines mixed signals. Learn how to pick one directive per page and clean up templates.How to Fix Index Coverage Gaps in Google Search ConsoleFind which of your important URLs Google hasn't indexed, why, and how to fix noindex, canonical, redirect and quality issues so your key pages show in search.How to Fix Structured Data Errors on Your WebsiteFind and fix invalid JSON-LD and missing required schema properties so your pages pass Google's Rich Results Test and stay eligible for rich results.How to Fix Missing Organization Schema (JSON-LD Guide)No Organization or LocalBusiness schema found? Add valid JSON-LD with name, logo, sameAs and contactPoint so search engines and AI tools identify your brand.How to Fix Missing WebSite Schema (JSON-LD Guide)No WebSite schema found? Add WebSite JSON-LD with your site name, URL and optional SearchAction so Google shows the right site name. Steps for every platform.How to Fix Missing Product and Article Schema (JSON-LD)Add Product and Article JSON-LD to your product and blog pages: price, availability, reviews, author and dates, then validate in Google's Rich Results Test.How to Fix Missing Security Headers (CSP, Referrer-Policy)Missing Content-Security-Policy, X-Content-Type-Options or Referrer-Policy? Add the three headers on Nginx, Apache, Next.js or Cloudflare and verify with curl.How to Fix Server Uptime: Monitor and Reach 99.9%+Set up external uptime monitoring, find what is taking your site offline, and get server uptime to 99.9% or better with caching, auto-restarts or a new host.How to Fix Slow DNS Response Time for Your WebsiteSlow DNS lookups delay every first visit. Learn how to measure DNS response time with dig, fix slow nameservers and CNAME chains, and get under 150ms.How to Enable HTTP/2 or HTTP/3 on Your Website or CDNYour server only offers HTTP/1.1. Enable HTTP/2 or HTTP/3 on Nginx, Apache, Cloudflare or your host, then confirm ALPN h2 and Alt-Svc h3 with curl.How to Fix Broken AMP Pages and rel="amphtml" Link ErrorsFind rel="amphtml" links that 404, redirect or error, then fix the AMP URLs so they return 200 or retire AMP cleanly with 301 redirects to canonical pages.How to Fix Uppercase Characters in URLs (and Redirect Them)Find URLs with uppercase letters, switch them to lowercase, 301-redirect the old versions and update internal links so each page has one consistent URL.How to Fix Underscores in URLs: Switch to Hyphens SafelyFind page URLs that use underscores, rename them with hyphens, add 301 redirects and update internal links so search engines read each word in your URLs.How to Fix Infinite Scroll Crawlability with Paginated URLsInfinite scroll hides products and posts from Googlebot and AI crawlers. Add paginated URLs, real links and History API updates so every item gets indexed.How to Check Googlebot Activity in Your Server LogsPull raw access logs, isolate verified Googlebot hits, and confirm Google crawls your priority sections instead of spending crawls on 404s and parameter URLs.How to Fix Low Text Contrast and Unlabeled Form Fields (WCAG)Fix WCAG contrast failures and missing form labels: raise text to 4.5:1, label every input, and clear the issue across all page templates on your site.How to Fix Excessive DOM Size: Trim Pages Under 1,500 NodesFind which templates create too many DOM nodes, cut duplicate menus, long lists and wrapper divs, and get every page under roughly 1,500 elements.How to Fix JavaScript Console Errors on Your WebsiteFind and fix JavaScript console errors that break rendering for users and Googlebot. Reproduce, trace, patch and verify with DevTools and a headless browser.How to Serve Your Website Through a CDN Near Your AudienceNo CDN detected in your response headers? Put your site behind Cloudflare, CloudFront or your host's CDN so pages load from edge servers near your visitors.How to Enable IndexNow So New Pages Are Submitted on PublishSet up IndexNow so Bing, Yandex, Seznam, Naver and Yep are notified the moment you publish, update or delete a page, then confirm submissions in Bing Webmaster Tools.How to Fix an Indexed Staging Site in Google and BingStaging or dev subdomain showing in Google? Find indexed test hosts, lock them with a password and noindex header, then remove them from search results fast.How to Fix Old URLs That Return 404 After a RedesignFind old URLs from the Internet Archive that now return 404 or 410 after a redesign, and 301-redirect them to their closest new pages to keep links and rankings.How to Fix Old URLs That Redirect to the HomepageOld URLs blanket-redirected to your homepage are treated as soft 404s. Map each one to its closest matching page with 301s and return 410 for the rest.How to Install Analytics on Every Page of Your SitePages without an analytics tag leave gaps in your traffic data. Add GA4, GTM or another tracker to your shared template so every crawled page is measured.How to Fix Duplicate Analytics Tags (Google Tag Loaded Twice)Find and remove duplicate gtag.js snippets so each GA4 or Google Ads measurement ID loads once per page, stopping double-counted pageviews and inflated traffic.How to Fix Legacy Universal Analytics (UA-) Tracking CodeFind and remove old Universal Analytics UA- tags from your site, keep a single working GA4 tag, and confirm the cleanup with a re-crawl and GA4 Realtime.How to Fix a Missing Cookie Consent Banner for Tracking TagsYour site loads GA4, GTM or Meta Pixel without a consent tool. Install a CMP, block tags until opt-in and set up Consent Mode v2 to meet GDPR and ePrivacy.How to Set Up Google Consent Mode v2 Defaults on Your SiteGoogle tags firing without a consent default? Add gtag('consent','default') before GA4 or GTM loads so Google respects visitor choices and keeps modeled data.

What do Technical fix guides cover?

Technical SEO guides fix how search engines crawl, render and index your site: redirects, status codes, robots.txt, XML sitemaps, canonicals, HTTPS, page speed and Core Web Vitals. They include server and platform configuration you can copy for Nginx, Apache, Cloudflare, WordPress, Shopify and more.

How to use these guides

Run an audit first so you know which of these issues affect your site, then open the guide linked from each issue in your report. Every guide lists what you need, the steps in order, code for common platforms and how to confirm the fix worked. After fixing, click Re-check on the issue to verify it in seconds.

Which of these affect your site? Run a free audit — ZORO finds the Technical issues on your pages and links to the right guide.

Run a free audit