SEO Cheatsheet

SEO Cheatsheet

Test website score.

  • Test with PageSpeed Insights:
  • Structure Data Testing:
  • Test Mobile Friendliness:
  • Think with Google Test:
  • Test Using Lighthouse: Chrome DevTools > Audits


  • Try using webp format fore images

To convert jpg/png images to webp, install webp converter, for Ubuntu type

sudo apt install webp

To convert all the jpg images in current folder use

for i in *.jpg                                                                           
cwebp $i -o "${i%.jpg}.webp"

then replace all the references in html.

  • Optimize all jpeg/jpg images
sudo apt install jpegoptim			# Translate according to your system

for i in *.jp*g 					# Be careful about wild card
	jpegoptim -s $i;				# WARNING: It will remove ICC profiles
  • Avoid PNG if possible
  • Optimize PNG images
sudo apt install optipng			# Translate according to your system

for i in *.png
	optipng -o7 $i;					# Be carefull it is 100 times slower than jpeg compression
  • If Server == Apache ? Use modspeed plug-in : do nothing
  • Use compression when supported by browser.
  • Use proper meta description
  • Use slugs instead id.
  • Use right keyword in images.
  • Use Google Keyword planner.
  • Use defer/async tag in scripts.
  • Avoid redundancy in content.
  • Use rich snippet.
  • Use DNS prefetching and pre connecting.
  • Set priority if number of images is large. [Hint: Search priority tag on Search engine]
  • Use caching (Service worker) [WARNING: Service workers may be confusing, always hire experienced people or you would end up breaking site for majority of people]
  • If possible reduce JS & CSS by compiling only essentials portions from framework code,
  • Make sure NPM scripts are using production environments.
  • Use CDN for serving vendor libraries.
  • Thumbnails should be thumbnails size images not large and heavy images.
  • Create Google business account.
  • Use localization for international content.
  • Ask people to write reviews on Google.
  • Avoid fake back-linking.
  • Avoid spelling mistakes.
  • Do not overkill with black SEO (To avoid blacklisting).
  • Keep your website upto date
  • Make sure your website is accessible to everyone .
  • Should be responsive (Use bootstrap, bulma, semantic-ui, media tags, whatever).
  • Use sitemap if possible.
  • Use HTTPS.
  • Add Jump to section by utilizing ids

Original:  Updated: