Wednesday, 3 June 2015

Rel Canonical - How To

What is the canonical tag?

First of all, we can't seem to agree on what to call it. Rest assured that 'rel canonical', 'rel=canonical', 'rel canonical tag', 'canonical url tag', 'link canonical tag' and simply 'canonical tag' all refer to the same thing.

The canonical tag is a page level meta tag that is placed in the HTML header of a webpage. It tells the search engines which URL is the canonical  version of the page being displayed. It's purpose is to keep duplicate content out of the search engine index while consolidating your page’s strength into one ‘canonical’ page.

Lets look at a list of common duplicate content URLs.

http://example.com/quality-wrenches.htm (the main page)
http://www.example.com/quality-wrenches.htm
http://example.com/quality-wrenches.htm?ref=crazy-blog-lady
http://example.com/quality-wrenches.htm/print

How is it implemented?

The canonical tag is part of the HTML header on a webpage. This is the same place like the title tag. The code, as in my example above, would look like this.

<link rel="canonical" href="http://example.com/quality-wrenches.htm"/>

There is usually a better solution

The canonical tag is not a replacement for a solid site architecture that doesn’t create duplicate content in the first place.
Lets go through some of the URL examples I provided above, this time we'll talk about how to fix them without the canonical tag.

Example 1: http://www.example.com/quality-wrenches.htm

Common mistakes with rel=canonical

Mistake 1: rel=canonical to the first page of a paginated series

Imagine that you have an article that spans several pages:
example.com/article?story=cupcake-news&page=1
example.com/article?story=cupcake-news&page=2
and so on
Specifying a rel=canonical from page 2 (or any later page) to page 1 is not correct use of rel=canonical, as these are not duplicate pages. Using rel=canonical in this instance would result in the content on pages 2 and beyond not being indexed at all.

Mistake 2: Absolute URLs mistakenly written as relative URLs

The <link> tag, like many HTML tags, accepts both relative and absolute URLs. Relative URLs include a path “relative” to the current page. For example, “images/cupcake.png” means “from the current directory go to the “images” subdirectory, then to cupcake.png.”

Mistake 3: Unintended or multiple declarations of rel=canonical

Occasionally, we see rel=canonical designations that we believe are unintentional.

Mistake 4: Category or landing page specifies rel=canonical to a featured article
if you want users to be able to find both the category page and featured article, it’s best to only have a self-referential rel=canonical on the category page, or none at all.

Mistake 5: rel=canonical in the <body>

The rel=canonical link tag should only appear in the <head> of an HTML document. Additionally, to avoid HTML parsing issues, it’s good to include the rel=canonical as early as possible in the <head>. When we encounter a rel=canonical designation in the <body>, it’s disregarded.

Why Your Site Might Not Get Indexed

Typically these kinds of issues are caused by one or more of the following reasons:


  • Robots.txt - This text file which sits in the root of your website's folder communicates a certain number of guidelines to search engine crawlers. For instance, if your robots.txt file has this line in it; User-agent: * Disallow: / it's basically telling every crawler on the web to take a hike and not index ANY of your site's content.
  • .htaccess - This is an invisible file which also resides in your WWW or public_html folder. You can toggle visibility in most modern text editors and FTP clients. A badly configured htaccess can do nasty stuff like infinite loops, which will never let your site load.
  • Meta Tags - Make sure that the page(s) that's not getting indexed doesn't have these meta tags in the source code: <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
  • Sitemaps- Your sitemap isn't updating for some reason, and you keep feeding the old/broken one in Webmaster Tools. Always check, after you have addressed the issues that were pointed out to you in the webmaster tools dashboard, that you've run a fresh sitemap and re-submit that.
  • URL Parameters - Within the Webmaster Tools there's a section where you can set URL parameters which tells Google what dynamic links you do not want to get indexed. However, this comes with a warning from Google: "Incorrectly configuring parameters can result in pages from your site being dropped from our index, so we don't recommend you use this tool unless necessary."
  • You don't have enough Pagerank - The number of pages Google crawls is roughly proportional to your pagerank.
  • Connectivity or DNS issues - It might happen that for whatever reason Google's spiders cannot reach your server when they try and crawl. Perhaps your host is doing maintenance on their network, or you've just moved your site to a new home, in which case the DNS delegation can stuff up the crawlers access.
  • Inherited issues - You might have registered a domain which had a life before you. I've had a client who got a new domain and did everything by the book, but Google refused to index them, even though it accepted their sitemap. After some investigating, it turned out that the domain was used several years before that, and part of a big linkspam farm. We had to file a reconsideration request with Google.

Tuesday, 26 May 2015

How to move to a new domain without hurting SEO

Why move to a new domain?

If the domain you have now is not the one you wanted – if it’s long, with hyphens and says nothing about your brand – then you might consider registering a new web address that’s not only catchier but also more relevant to your brand.

1. Register your new domain

2. Upload a “coming soon” page

Create a ‘coming soon’ page on your new domain a few weeks before moving everything from your old domain to the new one to allow search engines to crawl and index your new website.

3. Upload your pages to the new domain

Now you need to upload all the files from your old website to your new one.

4.  301 Redirect to keep rankings

A search engine friendly 301 Redirect (Moved Permanently) will not only send visitors to the correct page but will also tell search engines that the page has permanently moved. A 301 direct will thus transfer domain authority, visitors and also your rankings in Google, and can be used to consolidate link equity content within a site to provide a better end user experience.

These 301 redirects should be done for individual pages meaning that each page on the old site should be redirected to the new URL on the new domain.

5. Tell Google you moved

Another important thing you need to do is let Google know that your old website has been transferred to a new web address. To do that, you can use the Change of Address tool in Google Webmaster Console. This works at site level, letting Google know that you’ve transferred the entire domain and not just certain pages.

After you’ve moved to a new gTLD, you need to monitor everything to ensure you’ve redirected everything properly so you don’t lose any referring traffic or PageRank that’s coming from old backlinks. Keep checking google webmaster tools for any missed redirect pages.

Wednesday, 20 May 2015

Pagination for SEO

with rel=“next” and rel=“prev”

From an SEO perspective, pagination can cause serious issues with Google’s ability to index your site’s content.

To ease things when a robot read your page2, you may mention page 1 & 3 using below tags in head.

<link rel="prev" href="http://www.site.com/page1.html">
<link rel="next" href="http://www.site.com/page3.html">

Detailed info

Wednesday, 6 May 2015

SMO = Social Media Optimization

Social media optimization is becoming an increasingly important factor in search engine optimization, as search engines are increasingly utilizing the recommendations of users of social networks such as Reddit, Facebook, Tumblr, Twitter, YouTube, and Google+ to rank pages in the search engine result pages. The implication is that when a webpage is shared or "liked" by a user on a social network, it counts as a "vote" for that webpage's quality.

When used effectively social media can be one of your greatest assets for improving your site’s organic search results. By connecting with people in various online venues, you extend the reach of your business and increase opportunities for people to link to your main business page. Social media optimization helps connect all of your social media accounts in a cohesive, consistently branded network that points your potential customers where you want them to go.

Rules Of Social Media Optimization:


  • Focus audience - Checking your analytics to see what days and times your fans are most likely to read and interact with your posts. Focusing on using post formats your audience prefers, such as images versus videos.
  • Create shareable content – The better your content is, the more people will want to share it with their entire social networks whether they link it, like it or share it.
  • Make sharing easy – Once you have shareable content, it has to be one-button-easy so people will do it with minimal effort or thinking.
  • Reward engagement – Today the real goal is around conversation or engagement – this is the behaviour that matters most in the social web and the one that we should all focus on rewarding when it happens.

Here are  social media and SEO tools you might find useful:


  1. howsociable.com – Social visibility score
  2. knowem.com – Profile building tool
  3. Social Media for Firefox – Build a powerful social profile on social news & bookmarking sites
  4. semrush.com – Find competitor organic search rankings
  5. Google Insights – Keyword demand trends
  6. Page Inlink Analyzer – Analyze inbound links, their Delicious bookmarks & keyword tags
  7. majesticseo.com – Historical back-link tracking
  8. socialmention.com – Real-time social search & scoring, social keyword research
  9. bit.ly – Search friendly URL shortening with analytics
  10. analytics.postrank.com – Track social engagement with combined Google & social analytics

Wednesday, 22 April 2015

How remarketing works

Remarketing can help you reach people who have previously visited your website. You can even show these previous visitors ads that are tailored to them based on which sections of your site they visited. Your ads could appear to them as they browse other sites that are part of the Google Display Network or as they search for terms related to your products on Google.

How remarketing works
Create a remarketing list

Tuesday, 21 April 2015

Google Mobilegeddon

Google is launching an algorithm to favor sites that are "mobile-friendly." This means that people who use Google to search on their smartphone may not find many of their favorite sites at the top of the rankings. Sites that haven't updated could find themselves ranked way lower, which in turn could mean a huge loss of business.

"Mobile-Friendly" test page

Some bugs you may expect:
bugs1


Read more: