James Bachini

SEO for Fun and Profit

google pets penguin panda

SEO Summary

Search engine optimisation can be broken down into onsite and offsite factors.

Onsite Factors

  • Domain age
  • Domain relevance (Topics throughout site)
  • Domain name relevance (keyword.com)
  • Domain registration factors such as renewal date and private whois
  • Site speed, page load times
  • Site freshness, new daily content
  • Title relevancy
  • Keywords in meta description
  • H1 tag relevancy
  • Keyword relevancy to text content (think latent semantic indexing)
  • Text content length
  • Image relevancy (alt tags and actual image)
  • Content freshness, updated recently?
  • Duplicate content
  • Internal links to page
  • Sitewide external link quality (builds trust)
  • Site contains privacy policy, terms, about us, sitemaps
  • SSL sites using it get a slight boost in the SERPs
  • Mobile optimisation

Offsite Factors

  • Back links – the original and still most important part of SEO.
  • Pagerank – domain trust * link profile
  • Age of back link – older the better
  • Relevancy of links coming in
  • Site position of link, sidebar, in text, footer
  • Quality of backlinks, coming from high PR sites?
  • Diversity of backlinks, forums, blogs, social
  • Social signals tweets, facebook likes, google+1’s etc.
  • Social mentions domain name or associated brand
  • 301 redirects from authority sites, used to flow domain trust and page rank
  • Bounce rate, how many users search your page then return directly back to google to find what they were looking for elsewhere.
  • CTR how many users click on your page in the SERP’s
  • Pages & time per visit, users that like what they find stay longer
  • Returning visitors, are your visitors coming back for more?

Ideal SEO content in my opinion should be roughly 2000 words+. Longer content keeps the user on the page longer, is shared more, is linked to more and generally outperforms shorter texts. It should induce a user to link to the page or share, like, tweet. Infographics, funnies, generally good content will all improve social interaction. Target a keyword phrase based on medium competition high volume phrases. You can use google adwords ad planner to find some gems. Get the keyword in the title, description, h1 tags and a couple of times throughout the body of the text. Keep the on page text relevant. Update it as required to keep it top of the serps, comments are a great way to keep content “fresh”. If you need a boost link to the content from the home page or 301 redirect some relevant expired domains to build page rank, google love, domain trust or whatever you wish to call it. Take a note of what your SERP’s look like, would you use the same text for an adwords ad? Optimise with call to actions in the description to get the best click through rate possible. Improve site structure and quality to keep users on the site for as long as possible.

Here’s some coding tips you can use to improve SEO.

Note September 2020: There’s an updated SEO cheatsheet available at



URL Structure
Use this for index.php etc. to show key pages
<link href=”http://www.mydomain.com/” rel=”canonical” />

Can use keywords in domain, directory, file, parameters and anchors

On Page SEO

Title and Description
<title>60-80 Characters Max</title>
<meta name=”description” content=”155 Characters Max, influences click through rate”>

No follow
<a href=”http://externaldomain.com” rel=”nofollow”>Link</a>

Images can link keyword in file name and alt text
<img src=”keyword.gif” alt=”keyword” />

Page Pagination
<link rel=”prev” href=”http://mydomain.com/list.php”>
<link rel=”next” href=”http://mydomain.com/list.php?pg=3″>

Google+ Author and Publisher tags
<a href=”[profileURL]?rel=author”>Google</a>
<a href=”[profileURL]?rel=publisher”>Google</a>

International Traffic
Set language – Server location, domain and webmaster tools settings also carry weight
<html lang=”fr”>

For mobile devices
<link rel=”alternate” media=”only screen and (max-width: 800px)” href=”http://m.mydomain.com/”/>

Submit the Site
Sitemaps can be xml or just a plain text list of urls to crawl, submit via:

Offsite SEO

301 Aged/Expired domains which are relevant and have a good back link profile
header(“HTTP/1.1 301 Moved Permanently”);
header(“Location: http://newdomain.com”);

Can modify .htaccess to redirect certain pages to your main site. and everything else to /
RedirectMatch 301 ^/forum\.php$ http://newdomain.com/sales.php

RewriteEngine on
RewriteRule ^(.*)$ http://newdomain.com/$1 [R=301,L]
RewriteRule ^(.*)$ http://newdomain.com/$1 [R=301,L]

Private blog networks
Outsource, guest posts, strong content, various platforms, no foot print

NB. Avoid Google’s pets

google pets penguin panda

Get The Blockchain Sector Newsletter, binge the YouTube channel and connect with me on Twitter

The Blockchain Sector newsletter goes out a few times a month when there is breaking news or interesting developments to discuss. All the content I produce is free, if you’d like to help please share this content on social media.

Thank you.

James Bachini

Disclaimer: Not a financial advisor, not financial advice. The content I create is to document my journey and for educational and entertainment purposes only. It is not under any circumstances investment advice. I am not an investment or trading professional and am learning myself while still making plenty of mistakes along the way. Any code published is experimental and not production ready to be used for financial transactions. Do your own research and do not play with funds you do not want to lose.