The Complete Best Practice Magento SEO Guide

Magento SEO guide

Download Magento SEO Guide (Plus Bonus Tips)

If you have a website, you will want to attract natural and organic traffic.

And as e-commerce platforms go, Magento is one of the best out-of-the-box solutions you will find for how to optimize your website for search engines.

To make the most out of your visibility in search engines, there are a number of search engine optimization (SEO) techniques within the Magento admin you can do to increase the potential of buyers finding your site and making a purchase. During the last five months, I’ve worked with a brand that has five websites in five different languages.

The following Magento SEO guide explains how several improvements lead to an increase in organic traffic from 4,200 visits to 28,800 visits and an increase in organic revenue from $57,000 to $395,000. organic traffic increase

Register your website with Google and Bing Webmaster Tools

Webmaster Tools provides insight into how Google and Bing see your site and if you have problems with it when they crawl your pages. Register your website in both Google Webmaster Tools and Bing Webmaster Tools  – Google will provide you with a ‘Google site verification’ tag and Bing will provide a ‘msvalidate’ tag. Copy and paste the HTML tag into the Magento admin. You can find this under System > Configuration > Design > Miscellaneous Scripts. webmaster tools field

Auto redirect base-URL to canonicalize your domain

It’s important that Google only find and index one version of your home page. If both http://www.example.com and http://example.com  can be accessed, your website will be penalized for site-wide duplicate content. You will need to redirect one to the other in Magento. The default setting in Magento is set at a 302 temporary redirect. A 302 temporary redirect will not pass on any link juice so you need to change this to a 301 permanent redirect. You can change this under System > Configuration > General > Web > URL Options and set “Auto-redirect to Base URL” to “Yes (301 Moved Permanently)”. autobase redirect url

Enable web server rewrites for user-friendly URLs

Having a user-friendly URL structure is important for both search engines and usability.In order to make sure your URL’s are user-friendly, visit System > Configuration > General > Web > Search Engine Optimization and set “Use Web Server Rewrites” to ‘Yes’. web server rewrite The difference in having a user-friendly URL structure compared to session based/ dynamic URLs can be seen below when we turned on the “Use Web Server Rewrites” setting, with the number of impressions in Google increasing immediately. search impressions In 2012, Atoll Paradise updated their URL structure to be more user-friendly and organic traffic increased by 350%. Over the course of twelve months this mean more than 420,000 visitors.

Prevent duplicate content by disabling category URLs

By default, Magento will use the category structure in the product URL. For example, a home furniture store may have a page URL www.mywebsite.com/bedroom/candles. However, you may have products that exist in multiple categories. For example,

The best URL structure here would be www.mywebsite.com/candles.This removes the category in the URL. To change the URL structure visit System > Configuration > General > Catalog > Catalog > Search Engine Optimization. You can then change the setting “Use Categories Path for Product URLs” to “No”. category path If you haven’t done so already, you can edit two further settings under “Search engine optimization”. Make sure that the following fields are set to “Yes”:

    • Create Permanent Redirect for old URLs if Url key changed
    • Use Canonical Link Meta Tag For Categories
    • Use Canonical Link Meta Tag For Products

Using the rel=canonical tag will stop your website being penalized for duplicate content. rel-canonical

Create and upload robots.txt file

A robots.txt file is a text file that help search engines determine which information on your site to index. As a default, there is no robots.txt file in Magento so you will need to create the robots.txt file yourself. By having a robots.txt file, you can prevent duplicate content issues and hide pages from search engines that you do not want indexed, such as CMS login, reports and files. A robots.txt file is set up for one domain. In order to install it, create a new text file in Notepad and save it as a robots and a “.txt” file. You can then upload the file to the web root of your server (ex, www.mywebsite.com/robots.txt). Here as an example of a standard Magento CMS based robots.txt file: robots txt file Simply copy the above and upload to the web root of your server.

Enable “Index, follow” to get your website found in search engines

It’s common that when you’re testing your website before launching, you hide the site from search engines so you enable “no index, nofollow”. But it’s also common that when you go live with your new website, you can forget to change it to “index, follow” or any other option that prevents your site being found in search. To ensure that your website is being indexed and links are followed, visit System > Configuration > General > Design > HTML Head > Default robots “Index, follow”. index follow

Create default Meta data to avoid duplicate content

As a default setting, Magento will leave your “default description” field blank, which means that both the default title tag and Meta description is missing. By leaving them blank, you may end up with hundreds or thousands of duplicate content issues on your site and Google will struggle to index certain pages. In order to set a default title tag and Meta description for pages that have yet to be optimized, you can visit System > Configuration > General > Design > HTML Head > Default description. default meta content

Using Rel=alternate hreflang for International rankings

For International websites, you will most likely have similar versions of your website in multiple languages. Google has provided a way for webmasters to not be penalized for duplicate content by creating the rel=alternate hreflang=X link attribute. By implementing this snippet into the <head> section of your website for each page that exists in a different language/ website, Google will be able to show the correct language and page in the search results. For example, if you have German websites for both www.mywebsite.de and www.mywebsite.at, you would implement the following snippet in the <head> section on both websites.

In order to get the most out of your International website, this should be implemented at page level site wide. For example, your product page would include a similar snippet:

By implementing these snippets, Google will then be able to show the Austrian page to searchers in Austria and the German page for searchers in Germany. To implement the rel=”alternate” hreflang snippet in Mangento, visit System > Configuration > General > Design > HTML Head > Miscellaneous Scripts. href lang At nameOn, we saw that the Norwegian website, which had the highest domain authority, was being ranked first in Google for branded searches. nameon SERP 1 Once we were able to implement rel=”alternate” hreflang on both the German and Norwegian websites, the German website was immediately positioned in the first spot, which has helped organic traffic grow in Germany. nameon SERP 2

Implement Google Analytics tracking code

Although not entirely related to SEO, tracking website visitors and site behavior is crucial to your businesses success. You will able to track which marketing activity generates revenue and from which country. Your Google Analytics profile ID will start with “UA” and be followed by several numbers. For example, UA-3465789-9. Paste your Google Analytics profile ID into the field and tracking will begin immediately. It’s easy to get started with Google Analytics and once you have created an account, you can visit System > Configuration > Sales > Google API > Google Analytics. google analyticsgoogle analytics For International websites, it is recommended that you implement cross-domain tracking so that you can avoid having your websites appear as sources under the referral traffic report. cross domain tracking

Default home page title tag

Another default setting in Magento will be the homepage title tag, which is set to “home”. You will need to edit this into a natural title tag that summarizes what your website is/ or does. To edit the home page title tag, visit CMS > Pages and once you find your home page, edit the “Page Title” field. default title tag In addition, you can edit the Meta Data tab (on the left) and update your home page Meta description. default meta description

Create an XML Sitemap and submit it to Webmaster Tools

Creating an XML sitemap allows Google and other search engines to find products, categories and pages on your website. It’s up to Google to determine whether or not your page belongs in the index but an XML sitemap will speed up the process of being indexed/ crawled. To set up an XML sitemap, visit www.xml-sitemaps.com. Once you have your XML sitemap upload it to the root of your website (for example, www.mysite.com/sitemap.xml), and submit the sitemap under “Catalog > Google sitemap” in Magento. xml sitemap You can also submit your XML sitemap to Google Webmaster tools and best practice is to include the XML sitemap in your robots.txt file too. Here is an example of how we included it at nameOn. xml sitemap robots txt When adding the XML sitemap to Google Webmaster Tools, we saw an immediate impact in the number of pages crawled by Google. crawl rate

Conclusion

No CMS is fully optimized for search engines and you will always need to further optimize your site to increase its visibility.

SEO is an ongoing process but the SEO tips used above only need to be addressed one time, which means you can instead focus your efforts on building your social media presence, creating content and optimizing conversion rates.

By following the Magento SEO tips above, more people will find your website in search engines and this will lead to an increase in visits and higher organic sales.

Looking for help with Magento? Visit the Magento blog for eCommerce tips and more.

Bonus section

Now that you have these Magento SEO tips set up to dominate the search engine results pages, it’s time to take your search engine optimization knowledge one step further. I’ve created a proven model that will boost your SEO traffic and revenue.

The three tier keyword conversion model helps you identify a wealth of keyword opportunities. I don’t always share my secrets; this is an exception.

Are you interested? (click the link below).

Organic Keyword Conversion Tracking in Google Analytics

Tracking revenue generated from each organic keyword is a common report ran by SEO’s for e-commerce stores. Google Analytics E-Commerce Tracking is a powerful report that makes budget allocation a lot easier as you can see which channels generate revenue.

Lead generation websites are different.

There is no on-site sale, no e-commerce tracking so therefore SEO’s need to be able to report the number of leads generated from their search efforts. The basic report in Google Analytics allows you to track conversion rate for any given keyword, but SEO’s also need to see which keyword generates the most leads by number, not a percentage.

The following explains how to set-up a custom Organic Keyword Conversion Tracking Report that provides data on visits, organic searches, goal completions and goal conversion rate.

1. Goal Tracking In Google Analytics

Before creating this report, it is important to have goal tracking implemented. Without website goals, your analytics loses purpose. Whether your websites goals are sales, to capture leads or download a PDF product sheet, the goals of your website should reflect your overall business goals. Setting up goals will show you exactly how many goals were achieved but also how they were achieved and through which channels.

To create a filter, you can visit Admin > Account List > Analytics profile > Goals

Google analytics goals

The most common goal is URL destination. For example, if you want to track the number of newsletter sign-ups on your website, once the newsletter form is submitted, the “thank you” page URL is usually www.domain.com/thank-you. In this case, you would enter /thank-you and click save.

2. Setting Up The Keyword Conversion Tracking Report

To create the Organic Keyword Conversion report, you will need to visit Traffic Sources > Search > Organic and click Customize:

customize

To create the report, you will need to add metrics to Report Content. The metrics you need to add are:

  • Visits
  • Goal Completions
  • Goal Conversion Rate
  • Organic Searches

Note: If you do not add ‘organic searches’, the report will include keywords from your paid search campaigns.

You will then need to add ‘keywords’ to the Dimension Drilldowns section (you can ignore ‘filters’).

Custom report

You can now apply the Organic Keyword Conversion Tracking report to all profiles within your Google Analytics account and then click save.

3. Getting The Keyword Conversion Tracking Report Data

Once the report has been saved, the data will be presented.

Keyword tracking data

The report will show keywords based on visits to the website. You can filter by goal completions and to view all keywords that convert, change rows from ‘10’ to ‘100’ found at the bottom of the page.  As per usual, the report will automatically show data for the last 30 days.

Goal filtering

4. Exporting The Keyword Conversion Tracking Report Into Excel

Once you have the data, you can then export the Keyword Conversion Tracking Report to Excel and filter the report by branded and non-branded converting keywords. You can also use this data to find any increases in organic leads and view the progress of your SEO efforts.

The Keyword Conversion Tracking Report is a simple yet powerful report you can create to showcase your SEO investment is paying off.

Bonus: Convert more organic visitors

I want to help you increase your website conversion rates, so I’ve developed a keyword strategy that you can use to grow organic sales.

  • First: I’ve created a secret keyword strategy that will send your organic conversions through the roof
  • Second: This strategy is yours to download as a PDF (or for you to save it and print it out)
  • Third: I’m giving my strategy away, for free.

Does this sound good?

 

The four week SEO workout plan

In any organization, the basics are often overlooked. It’s much more fun to work on exciting projects such as launching a new website, instead of solving system issues such as reporting accurate data.

During the last six months, I have worked on five SEO audits and each organization has the same problem – The basics of SEO are overlooked (and ignored). Each audit, I approach the same way; I collect the data:

Each tools provides valuable data. In webmaster tools, there are usually a high amount of crawl errors found.

Crawl errors

Instead of having a team that addresses these problems, resources are instead used for link-building, content creation and web design. While all important factors in SEO, yet if Google is specifically telling you it has problems crawling your site, why is there so little focus? If Google has problems finding your site, then chances are so do your potential customers.

Of the three site audits I have performed during the last two months, only one site has been quick enough to take action and addres the issues.. The audits usually have the same outcome; duplicate content issues, URL parameters and session IDs, crawl errors, etc. The site audit is filled with recommendations and suggested next  steps.

The following screenshots are taken from Google Analytics Organic Traffic report between July 1st to July 30th. Can you guess which site implemented the findings from the SEO audit?

Site 1

Site 1

Organic traffic decrease of 13% compared with June 2012

Site 2

Site 2

Organic traffic increase of 10% compared with June 2012

Site 3

Site 3

Organic traffic increase of 350% compared with June 2012

Congrats! You guessed it, it’s site 3.

I’ve made a note in Google Analytics for each improvement made using Annotations. Here is the list of improvements by date:

  • Jul 10, 2012        Redirect implemented for non-www to www
  • Jul 23, 2012        URL re-write, improved page titles and meta descriptions
  • Jul 24, 2012        New page titles added to home, and destination pages
  • Jul 24, 2012        /index redirected to /
  • Jul 25, 2012        New navigation menu launched
  • Jul 26, 2012        Google analytics goals implemented
  • Jul 27, 2012        Improved internal anchor text
  • Jul 27, 2012        Google analytics tracking script moved to top of the page
  • Jul 27, 2012        XML sitemap submitted
  • Jul 27, 2012        Crawl errors fixed – Reduced from 155 issues to 6 issues
  • Jul 30, 2012        New meta descriptions added for top destination pages
  • Jul 30, 2012        https pages now redirected to http
  • Jul 30, 2012        Google Analytics tracking script updated (only one per page)
  • Jul 30, 2012        New XML sitemap submitted for http URLs

In less than a month, organic traffic has increased by 350% (based on weekly traffic) and organic leads now account for 50% of total conversions, up from 3%. No link-building was involved and no content creation strategies implemented,  just fixing the basics reported that are reported in webmaster tools.

Has your organic traffic increased since fixing the crawl errors reported in webmaster tools? Feel free to comment below.