How to Enable Gzip Compression and Browser Caching
Two short .htaccess blocks turn on gzip compression and browser caching. Copy the code, back up first, and check the headers in DevTools to confirm it works.
Two short .htaccess blocks turn on gzip compression and browser caching. Copy the code, back up first, and check the headers in DevTools to confirm it works.
Open Graph tags decide the picture, title and text people see when your link is shared. Copy the tags, use a 1200×630 image and test the card in minutes.
Google ranks www and non-www the same. What hurts is when both open your site. Pick one, redirect the other in one jump with .htaccess, and check HTTP/2.
A canonical tag tells Google which address is the main one when the same page loads at several URLs. Here is how to add it, what breaks it and how to check it.
Four simple habits fix most image problems: alt text, width and height, the right file size and WebP. Here is how to do each one and check it worked.
Find the http images, scripts and fonts on your https pages, change them in your theme, posts and database, add a 301 from http to https and keep the padlock.
Why Google shows a grey globe instead of your icon, the favicon rules from Google, how to add the link tag in HTML, WordPress or Bloghints CMS, and how to test it.
Add HSTS with one .htaccess line once HTTPS works everywhere, skip includeSubDomains and preload for now, and add nosniff, SAMEORIGIN and a referrer policy.