Tuesday, January 16, 2018

SEO

A place for posts about search engine optimisation

Domain Trust Ranking Sites Without Backlinks Or Social Network Indicators?

For the last decade or more the SEO community has been obsessed with backlinks. Whether it be filling out profiles to get a quick link such as the famed Angela and...

The future of MFA (Made for Adsense) sites after the Google panda update

The big content directories such as ezinearticles, hubpages, articlesbase etc. All took a big hit with the Google panda update. It seems Google targeted low quality article databases with heavy blocks...

Facebook Share button more effective than Likes?

A recent post at SEOMoz suggested that their research has found a better correlation between facebook shares than Facebook likes. The full post is here and makes for an interesting read....

Custom wordpress 404 page for SEO

We have recently been purchasing used domain names from Godaddy auctions and Dropday. When we get the domains the first thing we do is look at what traffic they were pulling...

Setting up twitter feed to post to Twitter and Facebook accounts

If you don't already have a facebook and twitter account for your company they are really easy to setup. On facebook remember to click the "Create a Page for a celebrity,...

Setting up custom facebook and twitter buttons using php

The canonical tag has been a god send for us helping to get pages indexed and clean up site structures. In many sites we use the same php variable for our...

Perfect Site Structure

It is widely accepted that Google places the most weight on the first 100 links it finds on a web page. With that in mind we can design a website that...

Two php functions for scraping content and extracting links

////// Grab webpage ////// function webFetcher($url) { $crawl = curl_init(); curl_setopt ($crawl, CURLOPT_URL, $url); curl_setopt($crawl, CURLOPT_RETURNTRANSFER, 1); $resulting = $resulting.curl_exec($crawl); curl_close($crawl); return $result = $resulting; } //////////////////////////////// //// extract links //// function extract_links($text) { preg_match_all('/<s*a*?href=?(*)?*>(.*?)</a>/si', $text, $match_array, PREG_SET_ORDER); $return = array() ; foreach ($match_array as $serp) { $full_anchor = $serp; $href...