Succesvolle Magento Shop door zoekmachines op te voeden

A presentation at Meet Magento 2014 in May 2014 in Utrecht, Netherlands by Hans Kuijpers

Slide 1

Slide 1

Tips for a successful Magento site 22 MEI 2014 - UTRECHT Hans Kuijpers hans2103 22 May 2014

Slide 2

Slide 2

Tips for a successful Magento site zoekmachines opvoeden Hans Kuijpers hans2103 22 May 2014

Slide 3

Slide 3

Tips for a successful Magento site zoekmachines opvoeden Hans Kuijpers http://slideshare.net/hans2103 hans2103 22 May 2014

Slide 4

Slide 4

ik ben Hans Kuijpers Front-end developer Site Performance Expert Joomla! en Magento trainer Blogger Liefhebber van lekker eten Gezelligheidsdier Saxofonist hans2103 22 May 2014

Slide 5

Slide 5

ik deel graag mijn kennis #jd14nl Joomladagen #jwc13 Joomla World Conference #jug073 Joomla Gebruikersgroep ’s-Hertogenbosch #mug073 Magento User Group ’s-Hertogenbosch #mm14nl Meet Magento ! blogposts voor byte.nl/blog blogposts voor dutchento.org ! Social Media via user = hans2103 hans2103 22 May 2014

Slide 6

Slide 6

hans2103 22 May 2014

Slide 7

Slide 7

Wat is zoekmachine optimalisatie? hans2103 22 May 2014

Slide 8

Slide 8

betaalde zoekresultaten SEA hans2103 22 May 2014

Slide 9

Slide 9

organische zoekresultaten SEO hans2103 22 May 2014

Slide 10

Slide 10

Google zoekmachine veruit meest gebruikt april 2014 93,48% Google bron: http://gs.statcounter.com/#search_engine-NL-monthly-200807-201404 hans2103 22 May 2014

Slide 11

Slide 11

tweetosties.nl = Magento speelbak hans2103 22 May 2014

Slide 12

Slide 12

Hoeveel zit er al in Google index? hans2103 22 May 2014

Slide 13

Slide 13

veel overbodige weblinks hans2103 22 May 2014

Slide 14

Slide 14

Duplicate Content Categorie URLs • • • http://www.tweetosties.nl/index.php/apparel.html • http://www.tweetosties.nl/index.php/apparel.html? ___from_store=default&___store=french&cat=5&mode=grid http://www.tweetosties.nl/index.php/apparel.html?cat=4 http://www.tweetosties.nl/index.php/apparel.html? ___store=french&mode=list&___from_store=default gewenste resultaat: http://tweetosties.nl/apparel hans2103 15 May 2014

Slide 15

Slide 15

Duplicate Content Product URLs • http://tweetosties.nl/index.php/nine-west-women-s-luceropump.html • http://tweetosties.nl/index.php/apparel/shoes/nine-westwomen-s-lucero-pump.html • http://tweetosties.nl/index.php/catalog/product/view/id/108 gewenste resultaat: http://tweetosties.nl/nine-west-women-s-lucero-pump hans2103 15 May 2014

Slide 16

Slide 16

voorkom duplicate content ! herschrijf de URL hans2103 22 May 2014

Slide 17

Slide 17

www naar non-www System > Configuration > General > Web > Unsecure / Secure > Base URL without www hans2103 22 May 2014

Slide 18

Slide 18

verwijder index.php System > Configuration > General > Web > Search Engine Optimization > Use Web Server Rewrites = Yes hans2103 22 May 2014

Slide 19

Slide 19

verwijder .html System Configuration > Catalog > Catalog > Search Engine Optimizations > Product URL Suffix = empty System Configuration > Catalog > Catalog > Search Engine Optimizations > Category URL Suffix = empty hans2103 22 May 2014

Slide 20

Slide 20

verwijder categorie pad System Configuration > Catalog > Catalog > Search Engine Optimizations > Use Categories Path for Product URLs = No hans2103 22 May 2014

Slide 21

Slide 21

http://tweetosties.nl/nine-west-women-s-lucero-pump hans2103 22 May 2014

Slide 22

Slide 22

Google index opschonen hans2103 22 May 2014

Slide 23

Slide 23

Zorg voor een /sitemap.xml Ook in een multi-store Magento hans2103 15 May 2014

Slide 24

Slide 24

elke sitemap in een apart mapje hans2103 22 May 2014

Slide 25

Slide 25

.htaccess om sitemap.xml door te sturen RewriteEngine on ! # RewriteRule voor sitemap.xml RewriteRule ^sitemap.xml$ sitemap/%{HTTP_HOST}/sitemap.xml [L] hans2103 22 May 2014

Slide 26

Slide 26

zorg voor een /robots.txt ook voor een multi store Magento hans2103 15 May 2014

Slide 27

Slide 27

elke robots.txt in een apart mapje robots.txt /robots

/shop.byte.nl

robots.txt

/tweetosties.nl

robots.txt

/waterfiets.nl

robots.txt hans2103 22 May 2014

Slide 28

Slide 28

.htaccess om robots.txt door te sturen RewriteEngine on ! # RewriteRule voor robots.txt RewriteRule ^robots.txt$ robots/%{HTTP_HOST}/robots.txt [L] hans2103 22 May 2014

Slide 29

Slide 29

Google Webmaster’s URL parameters robots.txt is last resort hans2103 15 May 2014

Slide 30

Slide 30

robots.txt hans2103 22 May 2014

Slide 31

Slide 31

http://tweetosties.nl/apparel?limit=5 hans2103 22 May 2014

Slide 32

Slide 32

gebruik Canonical URL hans2103 22 May 2014

Slide 33

Slide 33

http://tweetosties.nl/nine-west-women-s-lucero-pump hans2103 22 May 2014

Slide 34

Slide 34

http://tweetosties.nl/nine-west-women-s-lucero-pump? ___store=french&___from_store=german hans2103 22 May 2014

Slide 35

Slide 35

http://tweetosties.nl/index.php/catalog/product/view/ id/108 hans2103 22 May 2014

Slide 36

Slide 36

leg relaties tussen pagina’s aan rel=“next” en rel=“prev” hans2103 15 May 2014

Slide 37

Slide 37

public function createLinks() { $pager = $this->_getPager(); $numPages = count($pager->getPages()); ! //Need this to add the links to later on $headBlock = Mage::app()->getLayout()->getBlock(‘head’); //Determine exactly what needs to be output and //add to the head block if (!$pager->isFirstPage() && !$pager->isLastPage() && $numPage $headBlock->addLinkRel(‘prev’, $pager->getPreviousPageUrl() $headBlock->addLinkRel(‘next’, $pager->getNextPageUrl()); } elseif($pager->isFirstPage() && $numPages > 1) { $headBlock->addLinkRel(‘next’, $pager->getNextPageUrl()); } elseif($pager->isLastPage() && $numPages > 1) { $headBlock->addLinkRel(‘prev’, $pager->getPreviousPageUrl() } https:/ /github.com/drewhunter/SeoPagination return $this; } hans2103 22 May 2014

Slide 38

Slide 38

Wat ziet Google? hans2103 22 May 2014

Slide 39

Slide 39

example search results hans2103 22 May 2014

Slide 40

Slide 40

hans2103 22 May 2014

Slide 41

Slide 41

add to local.xml in your theme <catalogsearch_result_index> <reference name=”head”> <action method=”setRobots”><meta>NOINDEX,FOLLOW</meta></action> </reference> </catalogsearch_result_index> <catalogsearch_advanced_result> <reference name=”head”> <action method=”setRobots”><meta>NOINDEX,FOLLOW</meta></action> </reference> </catalogsearch_advanced_result> <catalogsearch_advanced_index> <reference name=”head”> <action method=”setRobots”><meta>NOINDEX,FOLLOW</meta></action> </reference> </catalogsearch_advanced_index> http://www.slideshare.net/hans2103/magento-theme-set-the-basics-right-mm12nl hans2103 22 May 2014

Slide 42

Slide 42

hans2103 22 May 2014

Slide 43

Slide 43

uit Google index verwijderen hans2103 22 May 2014

Slide 44

Slide 44

hans2103 22 May 2014

Slide 45

Slide 45

Rich Snippets opvallen in de zoekresultaten hans2103 15 May 2014

Slide 46

Slide 46

#MM13NL had je bij moeten zijn http://www.slideshare.net/hans2103/rich-snippetsin-magento-product-page hans2103 22 May 2014

Slide 47

Slide 47

byte.nl/blog http://www.byte.nl/blog/magento-rich-snippetsmade-easy/ hans2103 22 May 2014

Slide 48

Slide 48

http://www.byte.nl/blog/magento-rich-snippetsmade-easy/ hans2103 22 May 2014

Slide 49

Slide 49

nu jij! have fun hans2103 22 May 2014

Slide 50

Slide 50

thank your for your time http://about.me/hans2103 hans2103 http://slideshare.net/hans2103 hans2103 22 May 2014 http://www.flickr.com/photos/trasimac/1217071176