THE ADVANCED GUIDE TO

BY NEIL PA TEL AND SUJAN PA TEL

SEO

THE MOST EXTENSIVE AND DETAILED GUIDE OF ADVANCED SEO TECHNIQUES THAT EXISTS TODAY

INTRODUCTION
Why Did I Write This Guide?
T o my readers, I wanted to give you the most ex tensive and detailed guide of advanced SE O techniq ues that ex ists today. T his resource is piled to the top with tactile, immediately actionable things you can do to your website, to improve rankings, performance and traffic. E verything from schema.org to mobile search to link building and site speed. I want you to all be insanely successful and prosperous on the web!

Who Is This Guide For?
If you’ ve read SE O moz’ s B eginner’ s G uide to SE O and want more, or you’ ve read my other basic guides to SE O and want more - this A dvanced G uide T o SE O is for you. If you’ ve already mastered the basics of SE O like writing title tags, the basics of link building or data research on the web and want more - this guide is for you! It’ s for anyone looking to take their success on the web to the nex t level; bloggers, business owners, eCommerce and even affiliate marketers. T his guide provides you with dozens and dozens of things you can sit down and do right now to improve your traffic from organic search on the web.

How Much Of This Guide Should I Read?
I would suggest reading the whole thing! W hile you may not t have to apply every section to your site, you will gain an understanding of the concepts in each part. SE O can be broken ken into pieces, but it definitely fits together as one big picture, you you’ ll want to read it all.

CHAPTER ONE INDEXATION & ACCESSIBILITY
You could have the best content in the world, the most amazing audience and even traffic coming from all kinds of places like social media and referrals. B ut if the search engines can’ t properly access, crawl and index your site none of that matters for SE O . T hat is why in this section you’ re going to learn how to look at your website from the search engine’ s point of view. You’ re going to be able to do a full crawl of your own site, handle migrations, redesigns and much more.

CHAPTER TWO SITE SPEED & PERFORMANCE
It is well known by now that G oogle has said site speed is a small ranking factor ( about 1 % ) . T his is tiny, but it’ s rare for G oogle to say that anything has a definite effect on rankings. So it makes so much sense to follow this advice. P lus, user low fast and responsive sites. T hey will feel more in control of their ex perience, consume your amazing content more efficiently and convert better. A nd after section one, the engines are index ing your site better, so let’ s take it to the nex t level. T his section will teach you how to measure and analyze your site’ s speed and performance, as well as give some advanced actionable ways to improve.

CHAPTER THREE NEW SEARCH
SE O is growing fast and changing everyday. It’ s way more than j ust title tags and some back links. You have to have a semantically relevant site. O ne in which the engines ( and people! ) understand what the page is about in relation to real world things - like the concept of actors relating to movies or people having a birthday. R ead this section to stay ahead of the new search frontiers.

CHAPTER FOUR WORDPRESS
T he maj ority of new websites created today are built upon W ordP ress. Q uickSprout.com is built on W ordP ress and most of my readers have site using this popular CM S. I find most people get the basics pretty good for W ordP ress and SE O , but we’ re going to take things a bit further in this section. You’ ll find a detailed walkthrough of setting up the SE O for W ordP ress plugin, improving your W ordP ress speed and performance, creating a custom author page and more.

CHAPTER FIVE

ADVANCED DATA RESEARCH
P art of what makes SE O uniq ue, fun and challenging is that we get to be like detectives on the web. W e have to be good at pulling data from different places and getting that data no matter what it takes sometimes. Some new ways have come about lately for doing so. W e’ re going to walk step by step through nine specific ways you can collect data more effectively.

CHAPTER SIX KEYWORD RESEARCH
I’ m sure you’ ve all used the adwords keyword tool a lot, but what about other keyword research tools and techniq ues? T hat’ s what this section will cover. W e’ re going to go beyond j ust the data G oogle has and use other keyword tools, search suggest scraping, internal site search and more.

CHAPTER SEVEN LINK BUILDING WITH CONTENT
Since P enguin and P anda, it’ s harder and harder to build links the old way; through directories, email blasts, commenting, or black hat ways like blog networks and spinning. T his section will give you some solid ways to build some content that is link worthy and valuable to your visitors and will keep people coming back time and time again.

CHAPTER EIGHT LINK BUILDING TECHNIQUES
A lthough panda and penguin make it harder to build links like we used to, once you have ex ceptional content you still need to employ some killer techniq ues to get that content out there, get it in front of the eyes that matter, and get people to link back to that content. T his section has fifteen in depth and actionable ways you can start building links to that content immediately. E verything from obtaining a link worthy domain, to using alerts like IF T T T and more.

CHAPTER NINE SEARCH VERTICALS
You might conq uer the rankings in universal search for your article, post or product. B ut what about photo? W hat about mobile and local search? H ere I give you some techniq ues for optimizing search verticals to perform even better on the web.

SIMPLY PUT; USE THIS GUIDE TO TAKE YOUR SEO TO THE NEXT LEVEL.

TAKE ME TO

CHAPTER ONE

THE ADVANCED GUIDE TO

BY NEIL PATEL AND SUJAN PATEL

SEO

CHAPTER 01
W elcome to the first chapter of my guide to A dvanced SE O . In this section you’ re going to learn some advanced techniq ues for evaluation and optimization your website for index ation and accessibility. T his doesn’ t j ust mean accessibility for the search engines but accessibility for humans too. T hat’ s why this section covers best practices for both engines and users - with this like installing G oogle translate to making A J A X crawlable. A fter applying to techniq ues in this section to your website where most applicable, you should have an ex ceptionally crawlable and accessible website.

INDEXATION & ACCESSIBILITY

01

NO 1
W

BROWSE YOUR SITE LIKE A SEARCH ENGINE

hen optimizing your site for SE O , wouldn’ t it make sense to put yourself in the shoes of the search engine? A nd “ see” your site like a search engine does? N ow you all know you can simply “ view source” to see the H T M L source code from any browser. B ut I’ ve got a killer method that will really put you in their shoes and reveal possible holes in your technical SE O you can easily plug up.

STEP ONE

I nstall the Plugins

You’ re going to want to use F ireF ox to do this. H ere’ s the plugins:
https://addon s.moz il l a.org/e n - U S /fire fox /addon /we b - de v e l ope r/

W

eb D eveloper

User A gent S witcher

https://addon s.moz il l a.org/e n - U S /fire fox /addon /u se r- age n t- switche r/

W e do this because items like menus. Help S et User. Default User Agent Internet Explorer Search Robots iPhone 3.1 Msnbot 1..STEP TWO D isable J avaS cript in FireFox G o to “ preferences” and “ content” and uncheck “ E nable J avaScript” .1 Yahoo Slurp STEP FIVE Fire up your website and browse! W hat does Q uickS prout look like to G ooglebot? T his is j ust the top ( because otherwise the whole page is really L O N G ) . V iew your site this way and you may be surprised what you find! quicksprout. T he CSS styling can sometimes obscure the order of your content.0 Edit User Agents..A gent to G ooglebot STEP FOUR Rank Checker Default User Agent Web Developer Web Developer Page Info Start Private Browsing Clear Recent History.. Edit CSS Use Border Box Model All Styles Browser Default Styles Embedded Styles Inline Styles Linked Style Sheets Print Styles Individual Style Sheet Tools Window Web Search Downloads Add-ons Set Up Sync.. User Agent Switcher Googlebot 2. Disable Styles Display CSS By Media Type View CSS View Style Information Add User Style Sheet. and none of the other tex t and links are hidden from G ooglebot. B ut you can see that the menu appears as clickable links.. links and drop downs need to be available to G ooglebot without J avaScript.com . If they are buried within your J S than G oogle can not crawl them! MAIN TABS CONTENT APPLICATIONS PRIVACY ADVANCED Block popup windows Load images automatically Enable JavaScript Enable Java FONTS & COLOURS Default Font Default Font Size: 16 EXCEPTIONS EXCEPTIONS ADVANCED ADVANCED COLOURS LANGUAGES Choose your preferred language for displaying pages CHOOSE CANCEL HELP OKAY D isable C S S with the W W eb D eveloper Plugin STEP THREE hy disable CSS? G ooglebot crawls the content in the order of the H T M L ....

Here’ s an ex ample of a site with an issue.site inspection from the point of view of a search engine. b u t it shou l dn ’ t b e the re . O nce doing an on. and its j ust as important for internal links.S ome things to check for: Can you see all of your menu links ( drop down s too! ) ? D o all of the menu items and links appear as plain tex t? A re all the links clickable? D oes this reveal any tex t that was previously hidden? ( H idde n te x t can se n d a re d fl ag to G oogl e b ot. I t might n ot al way s b e the re mal iciou sl y . T he problem with this site is that the menu tex t is not real tex t. Finally. T his is more important the bigger the site is. none of the inner pages are receive the full value of link j uice flowing into them from the homepage. its images. . W hat does this mean? T here is no anchor tex t signal given to G ooglebot. you may be ready to crawl the site with a web spider. your most important links and content should be at the top of the H T M L . You all know how important anchor tex t is for back. O n the above website.links.) Is your sidebar or widgets content all the way at the top? R emember.

B U T do y ou wan t a se cre t workarou n d for this? I thou ght so! Y ou can e n te r su b dire ctorie s to crawl . F or b igge r site s y ou wil l n e e d to pu rchase an an n u al l ice n se . B ut this way you’ ll have a crawl record of your site from this date. http://www. j u st in pie ce s.scre amin gfrog.com/2 0 1 2 / wil l giv e me on l y the posts from 2 0 1 2 . D o this for more mu l tipl e su b dire ctorie s an d y ou can stil l crawl the e n tire site . A s you’ ll see.. Find & Fix L ong D escriptions STEP SEVEN L ook at I ndex ation S ettings BONUS How To Find A ll Pages W ith A ny HTM L STEP ONE C rawl The S ite F ire up Screaming F rog and run the first crawl on your site. STEP TWO S ave Your C rawl Save As: SAVE quicksprout-crawl. you will certainly gain a new perspective on how your site looks in the nex t few minutes! T his being a hands on technical guide. T his way you won’ t have to run the crawl again in case you close the program or want to review it again later.co.N 2 O CRAWL YOUR SITE WITH SCREAMING FROG STEP ONE C rawl The S ite STEP TWO W hat I s S creaming Frog? S ave Your C rawl STEP THREE Screaming F rog SE O Spider allows you to crawl your website and gain valuable insight into how its put together much more easily and faster than you ever could j ust by looking at it. R emember though.q u icksprou t. D epending upon how large your site is.seospider file format. this can take anywhere from 2 to 2 0 minutes.seospider Crawls Name Date Modified You should save the crawl of your site in the . if you make maj or changes to the site you should crawl it again anyway.u k/se o.spide r/ C heck Page L evels STEP FOUR C heck for C rawl Errors STEP FIVE Find & Fix L ong Titles STEP SIX Note: S cre amin g F rog is fre e for y ou to crawl u p to 5 0 0 page s at a time . if you’ d like more details on the benefits of using your own web spider you can read Screaming F rog’ s documentation at.. CANCEL SAVE . File Format: SEOSpider (Screaming Fr.l ike http://www.

org/e x te n d/pl u gin s/cross.rich anchor tex t.linking. A fter your crawl. . STEP FOUR C heck for C rawl Errors N ow we’ ll begin ex ploring some of the different menus at the top. this is not good for users or your SE O . useful and use descriptive keyword. and you’ ve got a nice prioritized list of pages to be sure to link back to when writing new posts. Scroll back to the left. you’ ll be on the main “ internal” page showing you all the data gathered internal to your site.l in k e r/ which can he l p y ou al way s in te rn al l y l in k an d cross l in k y ou r posts. be sure the references are relevant. So we’ re going to focus on getting information out of Screaming F rog that you can then go and apply to your site. W e’ re going to find those pages easily with Screaming F rog and get them into a list for you to take action on. If you have pages that are buried too deep within your website. actionable list of UR L s to link back to from newer posts. A nd of course when back. N ow you’ ve got a great. this is a technical guide so that you can make real changes to your website that will bring you definite SE O improvement. right in E x cel.STEP THREE C heck Page L evels R emember.7 levels deep. S ide Note : Y ou might wan t to con side r a pl u gin for W ordP re ss l ike crossl in ke r http://wordpre ss. SELECT HTML SCROLL RIGHT (ALL THE WAY) SORT PAGES BY LEVEL SCROLL BACK EXPORT TO CSV E ven Q uickSprout has some older blog posts that have ended up 4 .

[1] C lick on “ R esponse C odes” [2] S elect “ C lient Error 4x x ” from the filter drop down menu [3] Ex port as C S V T his gives you a list of only the pages which returned some sort of 4 0 0 level error ( usually 4 0 4 s) . NEW FOLDER CANCEL otherwise.. Find & Fix L ong Titles STEP FIVE You all may know that title tags and meta descriptions have a recommended length. SAVE Save As: page_titles_over_70_characters. but you have to know how to find them . T here are a lot of hidden gems in Screaming F rog. P L US. A fresh crawl of your site with your own tool is a fantastic way to get a current accurate list. W hat’ s great about Screaming F rog. is you know this data is complete and you can sort and filter it. but they may be incomplete or old.which is what I’ m showing you now! G oogle W ebmaster T ools will of course give you crawl errors.. this will give you all ex ternal links you’ re linking to that are broken.csv Exports Name Date Modified [1] C lick on over to “ Page Titles” in the top menu. [2] S elect “ O ver 7 0 C haracters” from the menu. A nd again. You may lose some formatting changes SAVE File Format: CSV (Comma delineated(*. W ebmaster T ools does give you some of this data.STEP FOUR C heck for C rawl Errors N ow we’ ll begin ex ploring some of the different menus at the top. [3] Ex port as C S V TIP: Immediately “save as” an Excel document. .

= L EN( E3) O f cou rse b e su re to re fe re n ce the ce l l y ou hav e y ou r n e w titl e in . [3] W ait for the cursor to change to a cross shape. [4] D rag the sq uare down the entire column STEP SIX Find & Fix L ong D escriptions F inding and fix ing long descriptions is similar. you’ ll want to create a new column for your new title.In your E x cel document. AND THEN [1] S elect the formula cell [2] Hover over the bottom right corner of the formula cell. Select “ O ver 15 6 C haracters ” from the filter drop down menu E x port to CSV You can work on your new descriptions j ust like how we worked with the new title tags in ex cel. M ake new columns and use the formula = L EN( E2) to automatically count the length of your new description tags. W hat a simple way for E x cel to automatically count the characters as you compose your new title tags? A dd this simple formula to the “ new length” column. A lso. W e’ re going to navigate over to the descriptions menu. create a column for length. STEP SEVEN L ook at I ndex ation S ettings .

B ut what do you do when you are getting set to redesign your site? You’ ll want to do a self audit in prep for a redesign. [3] C rawl the site again [4] S elect “ C ustom” in the menu [5 ] S elect “ Filter O ne” from the filter drop down menu. we have all the pages with links that open in a new tab or window! T his is great for an ex isting site if its not going to change at all. P age s that shou l d N O T b e in de x e d b u t hav e n o me ta tag or hav e “ in de x ” BONUS How To Find A ll Pages W ith A ny HTM L L et’ s get a little more technical. L et’ s say in this instance we want to find all pages within Q uickSprout that have links that open in new tabs or windows.STEP SEVEN L ook at I ndex ation S ettings You should also head on over to the “ meta and canonical” menu to check your index ation settings. Suppose you wanted to find A L L the pages within a website that had the presence of certain H T M L . Y ou can e n te r u p to fiv e fil te rs. [1] S elect “ C ustom” from the “ C onfiguration” M enu [2] Enter the HTM L you want it to look for in “ Filter 1” Note: Y ou can al so hav e it fin d page s that do N O T con tain the H T M L e n te re d. You should look for things like. M issin g can on ical tags I n corre ct C an on ical tags ( poin tin g to a diffe re n t page e tc) P age s that shou l d b e in de x e d b u t hav e a “ n oin de x ” tag on the m. ad> <ti SEO tle> G </h </tit UI D E ead le> > <he N ow. .

site:quicksprout.com About 56. MONITOR PAGERANK A lthough it is known that P R is a very loosely used metric.com/ MONITOR SEOMOZ DOMAIN AUTHORITY T his metric will have a delay. You can install it here: http://www.org/se o. B ut still good to monitor .150 CACHE DATE 3/23/2012 4/7/2012 4/12/2012 PR 6 5 6 DA 71 67 70 WMT ERRORS 525 679 482 NOTES New site launched New site cached started to fix errors MONITOR NUMBER OF PAGES INDEXED You’ re simply going to use the G oogle site: search to do this. such as.and you can use their toolbar to do so as well.750 4. B e in g su re its crawl ab l e S u b mittin g a n e w X M L site map P u ttin g 3 0 1 re dire cts in pl ace CREATE A SPREADSHEET TO MONITOR PROGRESS T he following is a mock up spreadsheet to show you how to monitor these metrics as the new site goes live. DATE 4/1/2012 4/8/2012 4/15/2012 PAGES INDEXED 4. T his can be an important step to take in your web evolution and promoting your authority online.se oq u ake . but let’ s not let you lose out on any traffic in the process! T his portion of the guide assumes you have followed best practices while making your new site.31 seconds) SEARCH MONITOR CACHE DATE A gain.com T he cache date is the largest factor to telling you what version of your site G oogle is using in their algorithm. we’ re j ust going to do a G oogle search for cache:sitename. Use the SE O q uake toolbar as one fast way of checking your pagerank. it still gives a rough indication to the value of the site. depending upon when SE O moz updates their linkscape index . which you can install at http://www.000 results (0.tool b ar D A authority is best to look at .NO 3 SELF AUDIT FOR A SITE REDESIGN N ex t is a complete step by step process for auditing your own site if you do a redesign.se omoz .200 3.

. With these tools and steps you’ll ensure the smoothest transition possible while moving the site over.DA authority is best to look at MONITOR “NOT FOUND” ERRORS Use Webmaster Tools to watch your not found errors and get your numbers from there.

3 3 3 .com R eplace 1 1 1 .newdomain.O to and press enter. H it Control. [5 ] C lose the terminal window . T he instructions will differ greatly depending on where you host your website but in general. type in the following line: 1 1 1 . type in the following line: 1 1 1 . STEP TWO Google Drive Desktop Applications Documents Downloads inbox Twitter UnRarX Utilities Vagrant VirtualBox VMware Fusion RAID utility Remote Install Mac OS X Spaces System Profiler Terminal Voiceover Utility [2] R ight click on it and left click on " run as administrator" . [4] I n the filename box type " \ windows\ system32\ driver\ etc" press enter. STEP ONE G et the I P address of your new website.com" with you new domain.com [4] Hit C ontrol.2 2 2 .4 4 4 with the real IP address you got from step 1 and replace " www. [5 ] C hange the file type pull. http://panda.4 4 4 with the real IP address you got from step 1 and replace " www.2 2 2 . and look for notepad to show up in your start menu . Say yes to W indows if it asks for permission [3] C lick on File > open [2] I nside the terminal app.2 2 2 .newdomain.newdomain.newdomain. it will go to your test website so you can try it out before it goes live using the real UR L . Edit your hosts file to point to your I P address ON A MAC [1] O pen up A pplication folder > Utilities > Terminal ON A PC [1] C lick on S tart > type in " notepad" into the search box .3 3 3 . they will be listed somewhere in your admin panel.4 4 4 www.4 4 4 www.NO 4 TESTING A NEW SITE BEFORE IT GOES LIVE In this tutorial.down from " tex t file" to " all files" .com R eplace 1 1 1 .3 3 3 . [6 ] D ouble click on " hosts" [7 ] A t the end of the file. If you can' t find it.com" with you new domain. [3] A t the end of the file.2 2 2 . type " sudo nano / etc/ hosts" T ype in your user’ s password if that’ s req uired. we will setup your computer so that when you type in the UR L .X to ex it the editor. call the hosting company up and simply ask.3 3 3 .

you can undo your changes you made in step 2 . STEP FOUR Undo C hanges O nce tested. . Simply go back to the file and remove the line you j ust created.STEP THREE Test your website O pen up a browser and test your website to see if it looks like you ex pect it. T ype in the UR L to your new website Your hosts file edits will forward you to the test website.

com [4] S croll down to D NS and click L aunch M anager [5 ] L ook for “ @ ” under host and click on the pencil icon under “ TTL ” http://godaddy. Usually. G o down to D omains and click on L aunch [3] C lick on one of your domains http://godaddy. call up your domain registrar and ask for tech support. you can find that setting in your control panel for your domain. BE C A R EFU L ! W hen migrating to a new website you can use the following guidelines to ensure a safe transition without any downtime. STEP ONE S et the TTL of your new domain to 5 minutes T he instructions to do this is different for every hosting company or domain registrar.com [6 ] Pull down the menu and select the shortest time available ( 1/ 2 hour) . It takes about a day for all the servers around the world to get updated IP and domain information so plan to have both servers running for at least the first week of your new site. but if you can' t find it.com [1] L ogin to G oD addy’ s website [2] C lick on M y A ccount. IF YOU’RE USING GODADDY: http://godaddy.N 5 O MIGRATING TO A NEW SITE WITHOUT DOWNTIME W ARN I N G: THIS M IGHT BR ING DO WN Y O U R WEBS I T E I F S OME THING G OES WR ONG .

T he instructions is always different from one hosting company to another and from one domain registrar to another. . D o so by following step # 1 ex cept remove the lines you originally added. STEP THREE C hange the D NS settings on your current domain. call up your domain registrar and ask for tech support. and locate the current D N S settings. F irst. you can find that setting in your control panel for your domain. but if you can' t find it. You should know where to change them because you already found it in step # 3 . T hen go to your new hosting company and write down the new D N S settings you need to enter into your current domain registrar. you will want to change the D N S settings for your domain name. Usually. STEP FIVE W ait 5 minutes.STEP TWO L ocate the D NS settings for your domain N ow that you' ve tested your site and changed your T T L . then try to go to your new website. reverse what you did in step # 4 in order to revert back to your old website. If you' re new website is up. O nce you have them both registrar to be the D N S address you wrote down from your new hosting company. STEP FOUR Unset your hosts file by removing the lines you added in step # 1. go to your current domain registrar. You may need to clear your browser' s cache and cookies. you done! If not.

NO 6 CRAWLABLE AJAX (USING JQUERY GET) In this ex ample. line 4 was added. lines 1 0 . go here: http://googl e we b maste rce n tral .1 5 were added. F or additional details about this best practice. C reate your PHP script STEP FIVE T he ex ample code outputs an ex ample blog post. c o m u o r p s q u i c k STEP FOUR A dd J avaS cript to the site that will load content into the < D I V > tag In this ex ample. STEP THREE A dd a < D I V > tag with a uniq ue I D in the body where your dynamic content will go In this ex ample.of.html STEP ONE C reate your HTM L template. .com/2 0 1 1 /1 1 /ge t.safe l y .su rfacin g. we will show you how to use j Q uery’ s post method to create crawlable A J A X . F or this tutorial. line 8 was added.b l ogspot.more . t .post. A dd j Q uery to your site STEP TWO In this ex ample. we will use the “ X M L H ttpR eq uest P O ST ” method.an d.

It should look like this: .source It should look like the H T M L template. STEP EIGHT C heck I nspect Element You should see the dynamic content loaded in the D O M .STEP SIX Test your script on your web server It should look like this: STEP SEVEN C heck view.

we will create a function that renders the page.googl e .e x ampl e .com/we b maste rs/aj ax .php ” then we want P H P to create a page with J avaScript that loads the content dynamically and asynchronously so that it’ s fast.php? _ e scape d_ fragme n t_ ” then we want P H P to create a normal H T M L page that can be index ed and crawled. If render_ snapshot is true. T here are many ways of achieving the same result. In this ex ample. https://de v e l ope rs. Notes: L in e 2 5 of the P H P de cide s if the page shou l d b e H T M L or dy n amic.e x ampl e .2 9 ge ts the con te n t an d re tu rn s the H T M L in side the D I V tag tag L in e s 3 1 .crawl in g/docs/ge ttin g. the render_ post has an argument “ $ render_ snapshot.3 7 ge ts the con te n t u sin g j Q u e ry to dy n amical l y adds H T M L in side the D I V .” B y default. T he principal idea is that you want to render H T M L for G oogleB ot and J avaScript for users. T he implementation will depend on your particular website’ s setup. we will use P H P to decide what to render. Note: L in e 1 0 con tain s the me ta tag that te l l s spide rs to crawl u sin g e scape d fragme n t. the page will render a regular page for users. then it will render a regular H T M L page for G oogleB ot with the same content. T his will tell search spiders that the page is crawlable using the “ _ escaped_ fragment_ ” q uery string. G oogle recommends routing “ _ escaped_ fragment_ ” in your q uery string to an H T M L snapshot.com/in de x .com/in de x . If the UR L looks like this: “ http://www. In this ex ample.starte d F or additional details about this best practice. In this ex ample.NO 7 CRAWLABLE AJAX (WITHOUT HASHES) T his tutorial is for websites that load dynamic content on the page without refreshing but changes the UR L . L in e s 2 6 . STEP TWO Nex t. we created a function that creates the entire < head> tag for us. see: STEP ONE S tart by creating a PHP script that will add the proper < meta> tag in the header. If the UR L looks like this: “ http://www.

if _ escaped_ fragment_ is found. the code will convert J SO N STEP FOUR into H T M L . it will render the post using H T M L .STEP THREE Nex t. we will create a content.php file. we will add code to handle the escaped fragment q uery string In this ex ample. . Nex t. In this ex ample.

php C heck view source of the bot’ s view STEP TEN It should look like regular H T M L without any J avaScript. C heck the bot’ s view by adding “ ? _ escaped_ fragment_ ” to the end of the UR L It should look the same as the dynamic page: STEP NINE www.com/index.STEP EIGHT L ook at the I nspect Elements view You should see your content because the Inspect E lement view is what the H T M L looks like after J avaScript has run. NO 8 CROSS DOMAIN REL=CANONICAL .example.

to.to.go. u se the 3 0 1 re dire ct. but let’ s suppose so.in fographic. let’ s j ust cover when the tag should be used.site du pl ication on the ol d site as mu ch as possib l e . W e’ re going to move it to: http://b l og.e x ampl e .to.way s.v iral / .in fographi c. [1] G et your two pages ready [2] B e able to edit the source code on the first ( original) page .ge t.NO 8 CROSS DOMAIN REL=CANONICAL WHEN TO USE THE CROSS DOMAIN CANONICAL T his is where many people get a little confused. HOW TO IMPLEMENT T his is not so different than implementing a regular canonical tag.to.y ou r.go. U se it whe n con te n t is the same on b oth page s.ge t. P erhaps I wouldn’ t do this in real life. T he page shou l d b e crawl ab l e in orde r to pick u p the re dire ct.in fographic. or with on l y sl ight diffe re n ce s. A QUICK EXAMPLE L et’ s say I wanted to move this infographic post from Q uickSprout.com/ 2 0 1 2 /0 6 /1 1 /5 . j ust for the ex ample..go.to.com/5 .v iral ” /> < /he ad> CANONICAL POINTS TO NEW PAGE ..way s.y ou r.to. A l so.kissme trics. U se it on l y afte r y ou ’ v e re du ce d on .ge t. < l in k re l = " can on ical " hre f= " http://www.. of the NEW page.to.to.in fograph ic.v iral / SAME INFOGRAPHIC ON KISSMETRICS http://b l og.com/2 0 1 2 /0 6 /1 1 /5 .v iral < he ad> < l in k re l = ” can on ical ” hre f= “ http://b l og.ge t.com/e x ampl e .y ou r.q u icksprou t.page .y ou r.y o u r. pointing to the new page.to.name” is the UR L pointing to the new page.way s. so before the ex act technical implementation. I f y ou can do a 3 0 1 re dire ct in ste ad an d this prov ide s a pre fe rre d u se r e x pe rie n ce .kissme trics.com/5 .to.kissme trics.go.way s. U se it whe n the con te n t from the ol d site n e e ds to b e mov e d or du pl icate d to a n e w site .an d the ol d host doe s n ot prov ide se rv e r side re dire cts.ge t.n ame /> where “ ex ample.to K ISSmetrics. [3] A dd the tag to the < head> section of the old page.q u icksprou t.go.com/ 5 .way s.v iral INFOGRAPHIC ON QUICKSPROUT http://www.in fographic.. y ou shou l d n ot pu t a n oin de x on a page with a re l = can on ical .page. http://www.

so you will want to check Google’s index and webmaster tools to see if it has been followed. not an absolute direction.LAST FEW HINTS [1] Make the links absolute not relative (include the full http:// etc) [2] Just like with 301s avoid chains of canonicals [3] Ultimately this is a hint for Google. .

this can potentially cause duplicate content.NO 9 FIXING HTTPS DUPLICATE CONTENT ERRORS A s I’ m sure most of you know. . T ypically. If your crawl report or site audit comes back as having https UR L s found on your site as duplicates. P ages such as your shopping cart. you can repeat the search with the omitted results included. there’ s three steps you should take to resolve this. no https pages have gotten into the index .10 seconds) [FLASH] SEARCH https://crazyegg. H owever. https pages should not be in the index .com About 1 result (0. we have omitted some entries very similar to the 1 already displayed. inurl:https site:crazyegg. site:yourdomain. T hey are usually private pages and don’ t have a use for being returned in search results.swf File Format: Shockwave flash In order to show you the most relevant results. because of the added ‘ s’ in the UR L . [1] I dentify which pages are index ed [2] D iagnose why they are index ed [3a] 30 1 R edirect pages that should not be there [3b] R emove them from the index if they should not be there STEP ONE Finding https pages that have been index ed Use this special G oogle search to find pages from your site that have been index ed with https.com/flash/data_loader. If you like. login pages and other secure areas should be at an https address.com inurl:https You can see the crazyegg website looks totally clean! E x cept for this flash loader. https is the protocol by which secure pages are transferred over the world wide web.

removed from the index Web Analytics by KISSmetrics https://www. Web Analyitics by KISSmetrics https://www.09 seconds) Forgot your password? . you need to find out why it got there to begin with! STEP TWO D iagnose W hy They Ended Up I n The I ndex L et’ s use the blog post from above as an ex ample.kissmetrics. They don’t need to be Tracking pageviews and visitors to see how much traffic you’re redirected getting is incredibly but should be important right? WRONG. So what do you do when you find pages in the index that should not be there? L ike any old page you don’ t want in the index ..com/forgot_password Forgot your password? Email Address: Recover password SEARCH These pages should be https but should not be in the 4 Google Analytics Goal Types That Are Critical https://www. are supposed to be https pages but should not be in the index . here’s some more information about KISSmetrics.com/forgot_password Forgot your password? Email Address: Recover password SEARCH This page should not be https so the cause should be found. In the meantime.. T his in fact confirms the page should not be in the index this way.KISSmetrics https://www. Finding out if your website actually helps your. .com About 27 results (0.com/request/thanks Thanks for contacting KISSmetrics! One of our team members will be contacting you shortly. In the meantime.com/critical-goal-types redirected. T his second page here is j ust a normal blog post and should not be in the index ( third result down) . and look at the page. on the other hand is a good ex ample of a site that has some https in the index . Finding out if your website actually helps your.. Tracking pageviews and visitors to see how much traffic you’re getting is incredibly important right? WRONG. A nd these other pages indicated. inurl:https site:kissmetrics.kissmetrics.. You can see G oogle Chrome indicating https is present in the UR L but the page is not secure.kissmetrics. 4 Google Analytics Goal Types That Are Critical and it should be 301 https://www.K ISSmetrics...com About 27 results (0. here’s some more information about KISSmetrics.kissmetrics.KISSmetrics https://www.com/critical-goal-types index.09 seconds) Forgot your password? .kissmetrics.kissmetrics... inurl:https site:kissmetrics.com/request/thanks Thanks for contacting KISSmetrics! One of our team members will be contacting you shortly.

Let’s use Screaming Frog first. www / blog etc . If an internal link is found. you need to change your internal links and 301 redirect the https version to the http version. This will redirect the user and eventually remove/replace the https version from the index. operate across different subdomains. you may be able to find the external link. since we know it will be a complete crawl of the site. . If no internal link is found. Enter the root domain of the website in Screaming Frog (because some sites.we want to be sure we get a complete crawl of the whole site. Then. but may not have control over changing it. So you have to 301 redirect it to the http version. either internally or external. wait until the crawl is complete and review its “In Links”. Look in the “to” column to see if any links use the “https://” In this case. so we’re going to use a few tools to try and find the source of the link. like KISSmetrics. you can do a search for the URL of that page and wait for it to show up. there are no internal links pointing to the https:// version of the page.Its probably in the index because it got linked to from somewhere.) While crawling the site.

c) to chan ge the page .com/me n s. in the < head> section we would add. 3 etc http://www. E very page but the first and the last should have a “ nex t” and “ prev” tag.sn e ake rs.NO 10 PAGINATION WITH REL=NEXT P agination has always been one of the trickiest elements of on.com/me n s.com and page 2 .athl e tic. B ut now G oogle allows you to use rel= ” nex t” and rel= ” prev” to help show them you have pages that belong in a series.z appos.zappos. H ere is the page 1 UR L http://www. W e’ ve identified this page being the first in a paginated series.z appos. as you can see the menu for pages 2 .athl e tic.shoe s~ dA ” > < l in k re l = " n e x t" hre f= " http://www.com/me n s. T his makes sense since there are pages before and after. P age two ( mens.sn e ake rs.z appos.sn e ake rs. 3 .sn e ake rs.page SE O and architecture to handle.athl e tic. < l in k re l = " pre v " hre f= " http://www. page one only gets the “ nex t” tag since its the first page in the series.shoe s~ dB ” > STEP THREE C hange the D NS settings on your current domain.sneakers. H ere I’ ve made sure it’ s bulletproof.athletic. H ere is their M en’ s Sneakers page 1 .shoes~ dB ) would have this.athl e tic. T herefore to page one.com/me n s.sn e ake rs. I dentify Your Pages I n The S eries STEP ONE L et’ s use Z appos as an ex ample. once you’ ve identified the pages in the series.shoe s~ dA www. < l in k re l = " n e x t" hre f= " http://www. W hen using a CM S like W ordP ress there are many plugins that handle this for you. so we . B ut if you have a custom made site. or a site hand coded in pure H T M L .z appos.shoe s~ dB http://www.athl e tic. this section will show you have to correct handle pagination with these new tags.com/me n s. b .sn e ake rs.z appos.com/me n s.z appos.shoe s~ dC ” > STEP FOUR A dd rel= ” prev” to the last page T he last page in the seq uence only needs to refer to the page before it. including Yoast SE O . STEP TWO A dd rel= ” nex t” To Page O ne T hat’ s right.athl e tic. It’ s q uite simple actually! B ut you may not find the best source on the internet. 4 etc.shoe s~ dC Note: the y are u sin g l e tte rs ( a.

so we would add.athl e tic. < l in k re l = " n e x t" hre f= " http://www.z appos.STEP FOUR A dd rel= ” prev” to the last page T he last page in the seq uence only needs to refer to the page before it.sn e ake rs. b u t I al way s re comme n d ab sol u te whe n e v e r possib l e .shoe s~ dY ” > A ssuming Z is the last page. Final Notes Y ou can in cl u de a can on ical tag in con j u n ction with re l n e x t/pre v Y ou can u se ab sol u te or re l ativ e U R L s.com/me n s. .

htaccess ErrorD ErrorD ErrorD ErrorD ErrorD ErrorD ErrorD ocument ocument ocument ocument ocument ocument ocument 400 401 403 404 5 00 5 02 5 04 /error. B ut you can add ex tra variables and create any uniq ue content you want. add the following code to the top. break. 2 .NO 11 REDIRECTING ERROR PAGES WITH . $ description = "T he server was acting as a prox y and the req uest timed out. $ description = "T he server was acting as a prox y and received a bad req uest. break. W e’ re doing it all within one file. case 5 04: $ title = "5 04 G ateway T imeout". 1 . case 5 00: $ title = "5 00 I nternal Server Error". case 401: $ title = "401 Unauthoriz ed". break.htaccess file to redirect to the error page STEP ONE C reate Your Error Page Create a page in which the errors will return from .php /error. <? php switch( $ _ SER V ER [ "R ED I R EC T _ ST AT US"] ) { case 400: $ title = "400 B ad R eq uest". case 404: $ title = "404 N ot F ound". Create an error page . $ description = "T he req uest can not be processed due to bad syntax ". STEP TWO C onfigure . break.you can call it anything .htaccess You’ ll need to redirect a bunch of error codes to the error page.php .php /error. break. $ description = "T here was an error which doesn' t fit any other error message".".php works.HTACCESS T his will follow a few step process. break. $ description = "T he req uest has failed authentication".php /error. $ description = "T he server refuses to response to the req uest". O n that page.php /error. In this ex ample we’ re j ust creating a uniq ue title and description for each error page. $ description = "T he resource req uested can not be found.". Configure Your . You should add the following lines to . T his way you don’ t need a ton of different files.php /error. break. } ? > T his P H P code creates a different title for each type of error.this page will have a special script on it.error.php /error. case 5 02: $ title = "5 02 B ad G ateway".". case 403: $ title = "403 F orbidden".

php file ( if using W ordP ress) or where ever your CM S allows. Find the R S S link in your header. you need to change the feed UR L in the header. Yet we sometimes overlook how powerful it can be to optimize these feeds! T he following hands on tips should help you get the most out of your R SS feed. do all the links on your website point to the correct feed? T he header section of the Q uick Sprout site points to the feedburner feed. R eplace D efault R S S Feed I n Your Header A ssuming you’ re using F eedB urner. L et’ s make sure you’ ve got them covered! A ctivate S martFeed SmartF eed helps to make your feed compatible in any reader.NO 12 OPTIMIZING RSS FEEDS R SS feeds are such a huge part of blogging. .php file R eplace it with your feedburner feed UR L . If you’ re site does not do this. Q uick W ins I n Feedburner T here’ s a few simple features you can easily activate in F eedB urner. T his assumes you’ re using feedburner.

click F eedF lare. . we’ re going to add some “ personal” flares. F eed means they will appear in the R SS feed. T hese are simple flares people have created that do not ex ist in the default set of flares. T he activate button is easy to miss. T his is an essential must for any R SS feed. bookmark on delicious etc. its down below.> smartfeed A nd activate it! A ctivate FeedFlare F eedflare is a way to put link at the bottom of your feed to ask users to do things like share on F acebook. Site means they will appear in the website. Click ‘ B rowse the Catalog’ . email.Click O ptimize. In the O ptimize tab. Select the links you want to appear. N ex t. if you send the feed out to a website.

and want to select A tab will open with the flare. T hese are simple flares people have created that do not ex ist in the default set of flares. we’ re going to add some “ personal” flares. you can view a preview of your flares.N ex t. Click ‘ A dd N ew F lare’ you will see your flare appear above. Site or both) . Select where you want it to show ( F eed. P aste the flare UR L . hen you find one you like. R eorder them by dragging and dropping the items. Copy the UR L . B rowse through the available flares. B elow. click ‘ L ink’ . W it. G o back to the original screen. Click ‘ B rowse the Catalog’ . .

N ot only will this help users and engines make this determination. G ooglebot or users might have a hard time telling which article was the original source. L ink to the O riginal S ource of the Feed H ave you ever had your R SS feed scraped and duplicated onto another site without your permission? It happens all the time. A ctivate PingS hot P ingShot will notify the reading services when there’ s updates. [1] A dding R SS Source L ink in B logger . T his speeds up the delivery of your feed. especially as you get more popular ( with the he l p of this gu ide ! ) . It’ s easy to miss down there. R eorder them by dragging and dropping the items. D on ’ t forge t to cl ick ‘ S av e ’ .links as well. G o to P ublicize P ingShot and click ‘ A ctivate’ .B elow. T his is why we’ re going to add a link the bottom of your R SS feed citing you as the original source of your content. it will get you some ex tra back. you can view a preview of your flares.

H ere’ s how to set up a simple message in your feed.com">My B log N ame</a> [2] A dding R SS Source L ink in W G o to A ppearance E ditor ordP ress functions. ' embed_ rss' ) .myblog. You now have reference to the original source ( y ou ! ) of the content in your R SS feeds.[1] A dding R SS Source L ink in B logger G o to Settings Site F eed A dd the following code: <hr /> <a href="http://www. return $ content. get_ permalink( ) $ content . G o to O ptimize B rowserF riendly Content O ptions Click ‘ enable’ and enter a personal message! Time Your R S S Emails .php A dd the following code: function embed_ rss( $ content) { if( is_ feed( ) ) $ content . C reate Thank You’ s Some personalization and a thank you to your readers can go a long way. A s always."</a></p>". } add_ filter( ' the_ content' . check your work to make sure its been done correctly.= get_ the_ title( ) .= "<p><a href=' "."' >' ". .

Time Your R S S

Emails

E ncourage more opens from your R SS email list by controlling send time. G o to P ublicize E mail Subscriptions D elivery O ptions

Select your timezone and the best time for your audience. 9 am- 1 1 am is often a good choice. R edirect W ordPress R S S to Feedburner

You may have a standard R SS feed built into W ordP ress. You may even have subscribers to it! W ith the help of a P lugin called “ F eedburner R edirect” we’ re going to make sure everything is going through feedburner. You can find the plugin here [1] [2] Install it in your W A ctivate it.
http://wordpre ss.org/e x te n d/pl u gin s/te n tb l ogge rs- fe e db u rn e r- rss- re dire ct- pl u gin /

ordP ress setup .

E nter your feedburner UR L in both fields. A nd you’ re done!

VIDEO SITEMAPS

NO 13

VIDEO SITEMAPS

If you have any sort of video on your website or blog, and especially if it’ s marked up with metadata, you need to have a video sitemap. T his gets your video content noticed, processed and index ed much faster by G oogle and B ing. O PTI O N A - M A NUA L G ENER A TI O N

If you have a small site with only a few videos, and you’ re not adding them all of the time, you can easily generate your video X M L sitemap manually. F irst, I want to provide you with the skeleton template of the X M L structure. You can cut and paste the template and then add your own data. T his is j ust the most basic template with the req uired fields.
STEP ONE

C reate an Empty X M

L

File

Create a file, the name doesn’ t matter, but I like to use: sitemap_ video.x ml T hen save it in your root directory, like:
http://www.q u icksprou t.com/site map_ v ide o.x ml

A s mentioned, it doesn’ t matter so much what you name it or even where you put it, but you’ ll need to know this later for when you submit the sitemap to W ebmaster T ools.

STEP TWO

Paste This I nto the X M

L

File

<urlset x mlns="http://www.sitemaps.org/schemas/sitemap/0.9" x mlns:video="http://www.google.com/schemas/sitemap-video/1.1"> <url> <loc></loc> <video:video> <video:thumbnail_ loc></video:thumbnail_ loc> <video:title></video:title> <video:description></video:description> <video:content_ loc></video:content_ loc> <video:player_ loc allow_ embed="yes" autoplay="ap=1"></video:player_ loc> </video:video> </url> </urlset>
E x planation of above code;

Many of the properties in the template are optional, but I wanted you to have the whole thing :-) Required Fields URL of Page Video File URL or Player URL Title Description Thumbnail So let’s fill in our example template. I’ve stripped out all the other properties for now, so you can clearly see it with only the required elements; Basic Code for One Video in XML Video Sitemap
<url> <loc>http://www.quicksprout.com/videos/neil-patel-video-1.html</loc> <video:video> <video:thumbnail_loc>http://www.quicksprout.com/thumbs/thumbnail.jpg</video:thu mbnail_loc> <video:title>Advanced SEO for Bloggers</video:title> <video:description>An exclusive video with SEO expert Neil Patel. Drive ridiculous amounts of leads to your blog and learn the 7 secrets of conversion rate optimization.</video:description> <video:content_loc>http://www.quicksprout.com/video.flv</video:content_loc> </video:video> </url>

Adding Additional Properties There are many additional properties you can add to your video sitemap, such as;
<video:duration> <video:expiration_date> <video:rating> <video:view_count> <video:publication_date> <video:tag> <video:tag> <video:category> <video:restriction> <video:restriction> <video:restriction> <video:gallery_loc> <video:gallery_loc> <video:price> <video:requires_subscription> <video:uploader> <video:uploader> <video:platform> <video:platform> <video:platform> <video:live>

Let’s add a few of these back into our example, so you can see them in action!
<url> <loc>http://www.quicksprout.com/videos/neil-patel-video-1.html</loc> <video:video> <video:thumbnail_loc>http://www.quicksprout.com/thumbs/thumbnail.jpg</video:thu mbnail_loc> <video:title>Advanced SEO for Bloggers</video:title> <video:description>An exclusive video with SEO expert Neil Patel. Drive

L et’ s add a few of these back into our ex ample, so you can see them in action!
<url> <loc>http://www.q uicksprout.com/videos/neil-patel-video-1.html</loc> <video:video> <video:thumbnail_ loc>http://www.q uicksprout.com/thumbs/thumbnail.j pg</video:thu mbnail_ loc> <video:title>Advanced SEO for B loggers</video:title> <video:description>An ex clusive video with SEO ex pert N eil Patel. D rive ridiculous amounts of leads to your blog and learn the 7 secrets of conversion rate optimiz ation.</video:description> <video:content_ loc>http://www.q uicksprout.com/video.flv</video:content_ loc> <! --optional properties--> <video:duration>7 5 0</video:duration> <video:rating>4.1</video:rating> <video:view_ count>5 4321</video:view_ count> <video:publication_ date>2012-04-01T 19:20:30+08:00</video:publication_ date> <video:family_ friendly>yes</video:family_ friendly> <video:restriction relationship="allow">I E G B US C A</video:restriction> <video:req uires_ subscription>no</video:req uires_ subscription> <video:live>no</video:live> </video:video> </url>

M any of these should be self ex planatory. You can always check G oogle’ s documentation for further ex planation of all the individual fields allowed.

STEP THREE

S ubmit Your S itemap to G oogle W ebmaster Tools D irectly

ebmaster Tools

O ption A S ubmit it to W

T his is the preferred method to submitting any x ml sitemap to G oogle. S ign in to W e b maste r T ool s V ie w the profil e for y ou r we b site N av igate to S ite C on figu ration - > S ite maps Click “ A dd/ T est a Sitemap” in the right hand corner E nter the name of your sitemap and hit submit O ption B A dd The Following L ine To Your R obots.tx t File Sitemap: http://www.e x ampl e .com/site map_ v ide o.x ml L ike with any x ml sitemap, if your robots.tx t file set up correctly, G oogle with find and process your video x ml sitemaps through having found it in robots.tx t

htpasswd AuthN ame EnterPassword AuthT ype B asic req uire user some_ users_ name R eplace “ some_ users_ name” with the username that will be allowed into this folder. edit the file using a tex t editor. and the password you want that person to have on the right.page .7 7 7 .666. To block users by referrer A dd these three lines to your . ( See “ H ow to locate . Usually. then look at IIS hacks.888 Allow from all In the lines that say “ deny from.com [ N C ] If you want to block more than one referrer.O R ] 3rdD omain\ . [3] I n your htaccess file decide what you want to do. To block users by I P address T ype these four lines into your .* . ” replace the ex ample IP addresses “ 111.4 0 4 .tool s.HTACCESS HACKS T hese tips only work if your client is using A pache. type this into your .dy n amicdriv e .e x ampl e .htaccess on your server” ) [2] O nce you’ ve located it. E nter your desired username on the left. E x ample: E rrorD ocument 4 0 4 http://www.222.222.cu stom. Click submit and put the downloaded . F irst.com [ N C ] N otice that every line ex cept for the last one should end in “ [ N C . C.444” with the real IP address you want to block. In the “ path to .com [ N C .[ F ] R ewriteEngine R ewriteC ond % { R ewriteC ond % { R ewriteC ond % { R ewriteR ule .com/my . I recommend N otepad. [1] L ocate your .htpasswd” box .444 D eny from 5 5 5 . you will need to first need to create an . If your client is using W indows IIS.com/password/ B .htaccess file on your server.htaccess file AuthUserF ile /home/myusername/.333. add more R ewriteCond lines like this: somedomain\ . N ow that you’ re done that. deny D eny from 111.com [ N C .O R ] anotherdomain\ .* O n H T T H T T H T T P_ R EF ER ER } P_ R EF ER ER } P_ R EF ER ER } [ F ] somedomain\ .htpasswd file.htaccess file: O rder allow. download a free tex t editor like T ex tW rangler. put it in a folder that isn’ t accessible to the public. If you’ re using M ac.333. T he easy way is to use this online tool to create it: http://www.NO 14 .html To password protect a folder A . it’ s safe to put in your home directory like “ / home/ myusername” D . If you are using W indows.htaccess file: R ewriteEngine O n R ewriteC ond % { H T T P_ R EF ER ER } R ewriteR ule . then add a line of code: To create a custom 40 4 page Use “ E rrorD ocument” and put the UR L to your custom 4 0 4 page at the end.htpasswd file into “ / home/ myusername” E .O R ] ” .

OR]” To make something other than index.domain.*$ [NC] RewriteRule \. This will 301 redirect links form your old domain to your new one with the WWW in front of it.*)$ https://www. These lines will prevent someone from hot linking GIF. JS.(gif|jpg|js|css)$ .com [NC] RewriteRule ^(.*)$ http://www.R=301.com/$1 [NC.[F] RewriteEngine on RewriteCond %{SERVER_PORT} !^80$ RewriteRule ^(.domain.com/.html” to be your default page.html RewriteEngine on RewriteCond %{HTTP_HOST} !^80$ RewriteCond %{HTTP_HOST} ^www. To redirect all pages from HTTP:// to HTTPS:// Add these lines to your htaccess file RewriteEngine on RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^(. To redirect all pages from HTTPS:// to HTTP:// Add these lines to your htaccess file RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.L] Replace domain.html be the default page.com [NC.com" with your old domain name.domain.com/mypage.com/$1 [NC.domain. Let’s say you want “home.com/$1 [R=301.html [NC] RewriteRule ^(. home.com/mypage. To redirect one URL from HTTPS:// to HTTP:// Assume the URL is http://www.Notice that every line except for the last one should end in “ [NC.OR] RewriteCond %{HTTP_HOST} ^www.newdomain. JPG.com with your domain name.L] Replace domain.*)$ http://www.html To 301 redirect an old domain to a new domain Add these lines to your htaccess file Replace "olddomain. and CSS files.*)$ http://www.domain. Use this line in the htaccess file: DirectoryIndex.NC] Replace mydomain. To prevent someone hotlinking resources on your website Add these lines to your htaccess file RewriteEngine on RewriteCond %{HTTP_HOST} ^olddomain.R=301.)?mydomain.html [NC.olddomain.com with your own domain.R=301.com/mypage.com with your own domain.L] .

this ex tracts a browser specific ID string locations. occurrence of needle to the end of haystack { } // what to do strstr . Tip : T o make it H T M L D o this. if( strstr( strtolower( $ _ SER V ER [ ' H T T P_ USER _ AG EN T ' ] ) .this is an array with information such as headers. "googlebot") ) { } // what to do [ 2 ] R eplace with your content R eplace “ / / what to do” with whatever you want to happen. and script strtolower . do y” .this is a good ex planation of the pieces of code. . A ll we’ re saying here. "googlebot") ) { ? > <h1>Put your H T ML here</h1> <p>anything you’ d normally do</p> <? php } L et’ s break apart each piece of the P H P .returns string with all alphabetic characters converted to lowercase.returns part of haystack string starting from and including the first forward slashes / / are j ust used to make a comment. N ow we’ ll work from the inside of the nested statement out. ‘ H T T P_ USER _ AG EN T ’ . which is created by the web server $ _ SER V ER .NO 15 DETECTING GOOGLEBOT T here may be many reasons why you’ d want to detect G ooglebot as the User A gent. is to put whatever you want to happen between the curly brackets. If you like visuals better .this is j ust a simple function that says “ if x is true. if( condition) { } . paths. T hese can be left to your imagination :) [ 1 ] C ut and paste the following code anywhere in the < body> of your document> if( strstr( strtolower( $ _ SER V ER [ ' H T T P_ USER _ AG EN T ' ] ) .

G o to . I’ m going to walk you through the steps of installing it on your site. CHECK IT OUT LET’S LET’S .you must include an asterisk ( * ) after the UR L for it to search the entire site. yet still many people are not using it. http://www.http://www.com/cse STEP ONE C ompose a Title and D escription A dd S ites To B e I ncluded in S earch STEP TWO T his is where a little technical know how applies.googl e . You can’ t j ust simply add the site UR L . we’ re given the opportunity to try out the custom search engine before installing it on our site. like this.com/* S elect Edition and C onfirm STEP THREE A fter we have done all this.q u icksprou t.NO 16 A ADD CUSTOM SEARCH ENGINE TO YOUR SITE custom G oogle search on your site can be a powerful feature.

( N ote the ads will be present unless you pay for a premium version) . [3] Paste C ode . [1] Navigate to a “ new page” [2] Edit in HTM L M ode W e’ re going to edit in H T M L mode since we’ ll be pasting J avaScript code into the page. however a new post will work in the same way. L et’ s use a new page in this ex ample. N ow it’ s time to install in your site! I NS TA L L I NG C US TO M S EA R C H I N YO UR S I TE T his type of installation is going to either be a new page or a new post .A search for [ twitter tips] in our custom engine shows good results and variety among the sites in the engine.

[3] Paste C ode LET’S PREVIEW IT NO 17 MULTILINGUAL MARKUP AND GOOGLE TRANSLATE I’ m going to show you a way to allow visitors who speak any language to enj oy .W e’ re going to edit in H T M L mode since we’ ll be pasting J avaScript code into the page.

S elect L anguage of Your W ebpage STEP TWO A gain. and not many people are doing it.com/tran sl ate _ tool s PHASE I STEP ONE GETTING THE CODE T he first phase of getting translate running on your site.NO 17 MULTILINGUAL MARKUP AND GOOGLE TRANSLATE I’ m going to show you a way to allow visitors who speak any language to enj oy your site. Translate Page or Part of Page? F or most of you. You can select how the translate box will . is to select all the options and generate the code snippet. you’ re going to want to “ translate the whole page” . T his is fairly new.googl e . You can select ex actly which languages your page can be translated to. so its still a good time to get in early. with the installation of G oogle T ranslate. STEP THREE S how O ptional S ettings I recommend using optional settings to completely customize your translation ex perience on your site. In very specific circumstances where you may have a section of tex t in a different language you have the option to translate j ust a section of your page. for most of us that’ s going to be E nglish. N avigate to: http://tran sl ate .

H ere we’ ve chosen to automatically display the banner to people who need to translate the page. G O T O Y OU R WEBPAG E V I E W S O URCE C O N TRO L F (I N CHRO M E) TO FI N D TEXT S E A RC H F OR “ U A-” (WI TH THE DASH) A fter you’ ve made all of your selections you should see the completed snippet of code. . Preview The Page You can do a q uick preview of your translate button before you go to copy the code and add it to your site. A nd we’ ve select to track the usage in G oogle A nalytics. 4. Q UI CK TI P: F AS T W AY TO FIND YOU R G OOG L E A N A L Y T I C S I D 1. 2.You can select how the translate box will display on your site. T he you’ ve got some more advanced setting choices. I personally like “ inline” and “ dropdown only” . 3.

this should be fairly easy. O ption A W ould be somewhere in the header. like here on Q uicksprout. STEP TWO I nstalling The C ode I n The Header [option A ] A q uick look at the source code again. W e’ re j ust going to locate the spot where the code needs to be inserted. will give you a good idea where the code needs to go. W O ption B ould be somewhere in a sidebar. If you’ re running a content management system like W ordP ress. it needs to be installed on your site. like here on Q uickSprout. .Preview The Page You can do a q uick preview of your translate button before you go to copy the code and add it to your site. PHASE II INSTALLING THE CODE ON YOUR SITE N ow that we’ ve got the code ready. STEP ONE D ecide W here You W ant To Translate B ox To A ppear T here’ s likely to be two basic places you’ ll decide to install the box .

[3] [4] [1] STEP TWO I nstalling the C ode in a S idebar. [option B ] T his option is a little easier. will give you a good idea where the code needs to go.php File L ocate the place in the code where your translate box needs to go and paste the snippet in the header. [1] Navigate to your widgets idget” to your sidebar idget [2] [2] A dd a new “ Tex t W [3] Paste the Translate C ode I nto Your W A ll done! N ow visitors of any language can enj oy your site! [3] .STEP TWO I nstalling The C ode I n The Header [option A ] A q uick look at the source code again. it needs to go inbetween the search box and the logo. because you will likely be able to j ust create a new tex t widget.php file and save. You can see. [1] L og I nto W ordPress [2] [2] Navigate to the “ editor” [3] S elect “ Header” [4] Paste Translate C ode I nto Header.

.q u icksprou t.htaccess code to do so: # F I X B AD L I N K S <ifModule mod_ rewrite.q u icksprou t. R eplace ex ample.com/$ 1? [ R =301.com/page /3 /? n e il pate l scam T hese pages can get index ed as such.L ] </ifModule> S imply do the following: [1] [2] [3] [4] [5 ] M ake sure the . P lace this bit of code at the bottom on the . H ere’ s a bit of . and could potentially replace the real pages in their index .com/ ? neilpatelscam to see if they’ ve been removed from the index .q u icksprou t. but in either case. [6 ] F inally. run a site: q uery in G oogle a week or two later.com with your site’ s UR L T o add multiple q uerystrings use the “ pipes” ( | ) as an “ or” ex pressions: ( neilpatelscam| q uicksproutripoff| badblogger) for the q uerystring.htaccess is in your root directory.htaccess file.c> R ewriteC ond % { Q UER Y _ ST R I N G } q uerystring [ N C ] R ewriteR ule . It might look something like the following: http://www.* http://ex ample. such as: site:q uicksprout. you may need a way to fix this if it happens.NO 18 BLOCK POTENTIALLY MALICIOUS OR HARMFUL LINKS TO YOUR SITE O ccasionally a hacker or even j ust someone inex perienced without malicious intent will send a back link over to your site with a q uery parameter attached to the end of it.com/page /2 /? n e il pate l scam http://www. R eplace “ q uerystring” with the malicious q uerystring being used. T his is unlikely.com/? n e il pate l scam ( P lease don’ t link to me or anyone else like that) A nd the malicious q uery string can end up on different pages: http://www.

googl e . B roken L inks C hecker N ot only is the broken links checker a great plugin to find broken links q uickly on your site.com/we b store /de tail /aomidfkchockcl dhb kggj okdkke b mdl l R edirect P ath Checker SE O moz T oolbar Chrome Sniffer https://chrome .com/we b store /de tail /iie e l dj dihkpoapgipfke oddj ckopgj g? hl = e n . I’ m going to show you some plugins for G oogle Chrome.googl e .com and their sitemap is http://www.googl e .googl e .googl e . F irst. but you can use it in creative ways on other people’ s sites to get ideas for linkbuilding and prospecting. F or this ex ample I’ m going to randomly use www. N ot only is the broken links checker .U S Source K it I’ m going to show you how to use some of these in an advanced way. H ere’ s how: [1] F ind a competitor with an H T M L sitemap.com/we b store /de tail /homgcn aoacgigpkkl j j j e kpign b l ke ae https://chrome .googl e .com/site .com/work/we b .com/we b store /de tail /oj kcdipcgfae kb e ae l aapakgn j fl fgl f B roken L ink Checker W eb D eveloper http://chrispe de rick.com/we b store /de tail /e akacpaij cpapn dcfffdgphdiccmpkn p https://chrome . F or ex ample.com/we b store /de tail /j n kmfdil e e l hofj cij ame phohj e chhn a G oogle A nalytics D ebugger M icroformats for Chrome https://chrome .com/we b store /de tail /kmn dj oipob j fj b hocpoe e j j imchn b j j e https://chrome .googl e .b iz chair.in this case there are q uite a few. here’ s the list.map.NO 19 BROWSER PLUGINS FOR ON-SITE ANALYSIS B rowser plugins can greatly speed up your workflow and efficiency.de v e l ope r/ https://chrome . https://chrome .googl e .bizchair. T his section of browser plugins revolves around the ones that help optimize your sites accessibility and index ation.googl e . try running it on the sitemap of a competitor’ s website. and a little bit about how to use them in more advanced ways.com/we b store /de tail /oal b ifkn mcl b n mj l l j de mhj j l kmppj j l https://chrome .html [2] R un the L ink Checker Click the icon for the ex tension W ait for it to find the broken links .com/we b store /de tail /b j pn gj gkahhfl e j n e e mihpb n fdoafoe h R ulers G uides and E yedropper Color P icker W ord Count https://chrome .

E x tremely handy if you are looking to reach out to only W ordP ress site owners. C hrome S niffer T his plugin automatically shows you the CM S or script library a website uses. A s you browse the web. Can be very useful when browsing your site. F or ex ample. for ex ample. in the case that you are internally linking to outdated UR L s ( or ex ternally for that matter) F or ex ample. . A nd then you can click on the icon and it will show you the redirect ( or series of redirects) that the browser took to get to a page.N ot only is the broken links checker a great plugin to find broken links q uickly on your site. you can see that my site is built on W with D rupal ordP ress and here is a site built R edirect Path C hecker T his plugin will automatically alert you if you were taken to a page via any kind of redirect. but you can use it in creative ways on other people’ s sites to get ideas for linkbuilding and prospecting. I j ust found on my site this link to G izmodo 3 0 2 redirects: H ow did I know? B ecause the plugin alerted me to the 3 0 2 . the icon to the far right of the UR L will change to match which CM S or library is being used.

The S EO moz Toolbar & Plugin You can do many things with the M oz plugin. A you might use it to look for are: Q uickly finding followed vs nofollowed links O r finding the country and IP address for the website few of the more advanced things WELL DONE! YOU MADE IT THROUGH CHAPTER ONE! ARE YOU READY FOR CHAPTER TWO: SITE SPEED & PERFORMANCE TAKE ME TO INTRODUCTION TAKE ME TO CHAPTER TWO .

STEP ONE G o To G oogle PageS peed O nline G o to https://de v e l ope rs. SITE SPEED & PERFORMANCE 02 NO 1 MEASURING YOUR SITE SPEED P age speed or page load time is crucial these days.com/page spe e d/ R un The Tool O n Your Homepage STEP TWO . F ollow this section straight through for some tips to get your site up to speed. once accomplished. but because u se rs wil l l ov e y ou . to make your site better than many others on the web. T his is not only great for user ex perience but search engines love it to. not only for a possible small boost in rankings. T hat’ s a fantastic first step.THE ADVANCED GUIDE TO BY NEIL PATEL AND SUJAN PATEL SEO CHAPTER 02 T he first section covered how to make your site crawlable and accessible.googl e . P roviding a fast ex perience for visitors is essential! W e’ re going to cover how you can measure your site speed through G oogle P age Speed O nline. N ow we’ re going to crank it up a level and help make your site faster and perform more efficiently.

F or now. T he tools gives you detailed suggestions for each item.com/pro/ So I would also want to run the P ageSpeed tool on this page to look any differences. F ix ing many of the common issues is covered later in this document. Click on each item to get the details. which is entirely different than most of the other pages .http://www. T hen you can drill down into the list of prioritized issues. STEP THREE R un the Tool O n I nner Pages ( E sp ecially T hose T hat M ight B e D ifferent F rom T he H om ep age) I have a page on my site. especially because it’ s an important sales page.R un The Tool O n Your Homepage STEP TWO T his gives you an overall score. Q uickSprout. and being your homepage is a good gauge of your site as a whole. You should focus on the high and medium priority items first. Test Your S ite For M Click the “ mobile” tab top right.q u icksprou t. O B I L E S ite S peed . we’ re simply running the tool to diagnose any issues.

STEP FOUR Test Your S ite For M O B I L E S ite S peed Click the “ mobile” tab top right. . R emember to test your inner pages as well.

right? . but j ust a reminder. since we’ re in here. M ight as well. this is likely very basic. A gain. W e’ re going to cover doing this two ways: [1] Tracking within W ordPress [2] Tracking within a Non W ordPress site SETTING UP TRACKING IN WORDPRESS STEP ONE I nstall the Normal Tracking C ode You probably all know how to install the normal analytics tracking in W ordP ress. B ut you may not know of a few little ex tras you can do along with this. NEXT B efore we configure the page speed part. we’ re j ust going to be sure you’ ve configured the user tracking correctly. and you may even know how to install the page speed code snippet as well. W e’ re using the G oogle A nalyticator P lugin for this. Install the tracking code here.NO 2 TRACK PAGE LOAD IN ANALYTICS You may know that you can also track page load speed within analytics.

but you can set your sampl e rate .push( [ ' _ setSiteSpeedSampleR ate' . ( R e me mb e r. 5 ] ) . G oogle will It is also recommended to keep your sample size as low as possible but large enough to collect data. S T E P T W O S et S ample R ate N ot many people know to do this. N ow that we have the basics setup. don ’ t che ck it whil e l ogge d in to W ordP re ss. H ere’ s the code snippet ( T he A sync snippet) . T his gets installed before tracker initializ ation . that if your site receives more than 1 0 K automatically only collect a 1 % sample. feel free to crank that up to 5 0 or even 1 0 0 . [1] S elect “ no” ( I l ike j u st admin ) [2] C heck which users you do NO T want to track for traffic [3] S elect “ R emove” . b e cau se as an admin y ou wil l b e e x cl u de d from se e in g the code ) . 0 0 0 visits a month. J ust be sure its “ enabled” .T o do this. F or a small site. that receives less than about 1 0 . STEP THREE C heck S ource C ode You should always check your source code to be sure its rendering correctly. B ut please note. hits a day. let’ s add some more important features. follow these simple three steps. and this is an advanced guide. but only a reasonable amount to collect the data you need. _ gaq . N otice the number ‘ 5 ’ . T his is the new sample rate — 5 % of all visits. N ormally. You might think that was easy. you could potentially be missing out on a lot of important data. Its made so easy in this analytics plugin.this is the easiest method NEXT T he site speed portion. . G oogle A nalytics does not track a very large percentage of your site speed data ( on l y 1 % b y de fau l t ) — so if you have a small site. so be sure to put it in the correct box .

as shown in the screenshot. D epending on how your custom site may be set up. . Your analytics will look like the following. but j ust make sure you have the page load time code added in analytics. SETTING UP TRACKING IN NON WORDPRESS L ocate Your G oogle A nalytics T his is a very similar process.php file.STEP THREE C heck S ource C ode You should always check your source code to be sure its rendering correctly. <script type="tex t/j avascript"> var _ gaq = _ gaq | | [ ] .php file that handles the header ( l ike in W ordP re ss ) or you may have static H T M L files with the header in each file ( in which case y ou wil l hav e to u pdate e v e ry fil e ) . O ur ex ample will have a header. 02 STEP ONE STEP TWO You should see the Sample R ate code j ust above the T rack P ageview code. with the page load code bolded. A dd Page L oad Time C ode T his is all pretty basic. you might have a . ( R e me mb e r. b e cau se as an admin y ou wil l b e e x cl u de d from se e in g the code ) . don ’ t che ck it whil e l ogge d in to W ordP re ss. but we’ re going to lay it all out specifically so you can see it.

_ gaq .push( [ . <script type="tex t/j avascript"> var _ gaq _ gaq _ g a q _ gaq = .getElementsB yT agN ame( ' script' ) [ 0] . 5 ] ) . WHERE TO FIND THE REPORT You will view this data by going to. ' UA-15 89983-1' ] ) . ' _ t r a c k P a g e Lo a d Ti m e ' ] ) .src = ( ' https:' == document. Content O verview Site Speed M ost people miss this nex t step! G o to “ page timings” and click on “ technical” .google-analytics. ga.insertB efore( ga.push( [ . ga.j s' . T he code again is.createElement( ' script' ) . with the page load code bolded. ( function( ) { var ga = document. A nd you use the number ( in this case 5 ) to control the percentage of the site being tracked for page speed.parentN ode. ga.protocol ? ' https://ssl' ' http://www' ) + ' .async = true.Your analytics will look like the following. } ) ( ) . var s = document. ' _ trackPageview' ] ) . ' _ setAccount' .type = ' tex t/j avascript' . s) .push( [ ' _ setSiteSpeedSampleR ate' . p u s h ( [ _ gaq | | [ ] . : STEP THREE A dd S ample R ate C ode N ex t.com/ga. we’ ll add the same sample rate code.location. s.

0 0 0 visits a month.You should strive for an 8 5 ( B ) . 0 0 0 visits a month. but j ust make sure you have the page load time code added in analytics.R uns the full set of 23 rules [2] C lassic ( V 1) . O therwise use YS low ( V 2) if you’ re getting over 1 0 .NO 3 STEP ONE USING YAHOO’S YSLOW PLUGIN I nstall YS low G o to http://y sl ow.zappos. You’ ll notice there are three rulesets to choose from. L oad the page you want to test.R uns the first 13 rules [3] S mall S ite or B log .R uns 14 rules that apply to small sites I would use small site or blog only if you’ re getting less than about 1 0 . H it “ R un T est” .com T his is all pretty basic. STEP THREE R eading The R esults O verall performance score . STEP TWO O pen and R un YS low www.org/ Install the YSlow plugin in your browser ( pre tty mu ch an y thin g b e side s I n te rn e t E x pl ore r) . . [1] YS low ( V 2) .

wha ts? req ues H T T P r e w e f e ? 3 . name: is seo? 1 . Use href d SR C h gzip? 5 .A lso. T his page has 7 e x te rn al sty l e she e ts. C he ck ou t the se ction ” U sin g L E S S to optimiz e C S S ” for how to improv e the se are as. T ry comb in in g the m in to on e . . P ut kups? N S lo o D e c u 8 . I would focus on the F ’ s first. R ed E ach error provides a short ex planation and a link to read more information on the Yahoo D eveloper site. A s a strategy of prioritization. mak wtowrk very ne li e d t n a conte 4 . what w? t i s y s lo 2 . Com top? CSS at 7 . T his page has 1 9 e x te rn al b ackgrou n d image s. T ry comb in in g the m with C S S sprite s. N otice the first error returned in YSlow? M ake F ewer H T T P R eq uests “ T his page has 2 3 e x te rn al J av ascript scripts.” T his is very common. T ry comb in in g the m in to on e . note that you can filter the report of the type of result. L et’ s tackle one of the easiest win areas: reducing large images. and it is because the CSS and J S files are not optimized and minified. A voi nts wit e n o p om press c 6 .

google.google.googl e . T his is a q uick method to catch any low hanging fruit.NO 4 FINDING LARGE IMAGES TO REDUCE 01 STEP ONE image s. images.com D oA S ite S earch STEP TWO site:q uicksprout. GOOGLE IMAGE SEARCH G o To G oogle I mage S earch T hat’ s right! You can find large images within G oogle image search. I’ m going to show you a few ways to find the worst offenders so you can take action and reduce them.com shows me all the images from my site G oogle has index ed.com S hut O ff S afe S earch STEP THREE . images.com L arge images are often the biggest culprit when it comes to slow site speed.

A nd you can see when clicking on the photo. STEP FIVE L ook at R esults W hen you’ re looking at results. L et’ s do some approaches that work much better at scale. and filter for images larger than 6 4 0 x 4 8 0 . H ere are the results. T his one image caught my attention.S hut O ff S afe S earch W STEP THREE e want to be sure we’ re getting all the images in results.com T his is a really q uick method to find some really obvious ones. You know they’ re probably being resized in the CSS or H T M L and should be reduced to the actual size you want. see if you spot any images that end up as being “ large” that you know shouldn’ t be.google. the actual size is much to large images. . STEP FOUR Filter B y S iz e Start with a conservative number.

crawl the site you want to check. You may have a lot of large images. If you haven’ t already.csv Use the spreadsheet as you track your progress to reducing images. T hen view images F ilter by those over 1 0 0 kb Sort by size E x port to . and reducing them could take a few sessions! .02 W STEP ONE USE SCREAMING FROG SEO SPIDER C rawl The S ite e’ re going to use Screaming F rog to crawl a site and show us the largest images by file size.

google.N 5 O GOOGLE CLOSURE TO OPTIMIZE FOR SPEED W hen you minify your J avaScript and turn it into a single file you increase the speed of your website because it’ s only one small download instead of many larger ones.zip compiler.jar d3.js bootstrap.js compiler.js [5 ] O pen a command line window .jar COPYING README Google Drive Desktop Applications Documents Downloads inbox favicon.min. we dragged the compiler.zip” images.com [3] O pen the Z I P file ON A MAC O N the A P C D ouble click on the Z IP file.j ar file to the folder where our J avaScript is located.iso img javascripts job-ques robots.min. [1] G o to the G oogle C ompiler closure website T he website is: http://code .js bootstrap. T his tutorial will help you install G oogle Closure T ool and minify all of your J avaScript.jar COPYING README [4] C opy the J A R file to the folder where all your J avaS cript is located In this ex ample.js extensions.js jquery_spinner.googl e .zip compiler. It will create a folder with same name containing a “ J A R ” file. Google Drive Desktop Applications Documents Downloads inbox compiler-latest compiler-latest. Google Drive Desktop Applications Documents Downloads inbox compiler-latest compiler-latest.compil e r/ [2] C lick on the download T he download is the link that says “ compiler.txt stylesheets application.latest.com/p/cl osu re .

then open A pplications > Utilities > T erminal Google Drive Desktop Applications Documents Downloads inbox TimeTracker TinkerTool TinyUmbrella Twitter Utilities Vagrant Podcast Capture RAID Utility Remote Install Mac OS X Spaces System Profiler Terminal ON A WINDOWS Click on Start.j s” with the names of the J avaScript files you want to minify.j s --j s_ output_ file output. my J avaScript was in the home directory under a folder called code. R eplace “ output.j s” In this ex ample.” . we compiled j q uery. click on “ command prompt” [6 ] C hange to the folder where your J avaS cript is located ON A MAC T ype in “ ~ / ” then the folder where your J avaScript files are located.j s and a plugin called “ j q uery_ spinner.j s” T ype: j ava -j ar compiler. type them in the correct order they need to go in.[5 ] O pen a command line window ON A MAC G o to your F inder. then j avascripts. In this ex ample. then os2 . If order is important. ON A WINDOWS T ype in “ cd \ ” then the folder where your J avaScript files are located.j s R eplace “ j q uery. then public.j ar --j s j q uery. type in “ command prompt” . [7 ] Type in the J ava command to create your minified J avaS cript file ON BOTH WINDOWS AND MAC: j q uery_ spinner.j s” and “ j q uery_ spinner.

test your application to make sure everything is still running .[8] Add the minified JavaScript file back into your project In this example. we added line 8 to add the JavaScript back into this HTML file. [9] Finally.

NO 6 OPTIMIZING CSS AND JS FILES In sections two and three we covered how to evaluate the performance of your site. T he advantage of using L E SS is that a L E SS compiler will automatically make your CSS files smaller so they are faster to download for your users. L ES S is a dynamic stylesheet language that creates CSS for you. H ere we’ re going to cover an advanced way to optimize CSS and J S files.org O pen the L ess A pplication STEP TWO .com FOR WINDOWS G o to http://win l e ss.com/l e ss/ and download L ess.A pp. with “ L E SS” . http://incident57. STEP ONE D ownload and I nstall L ess A pplications L ess has a free application you can download to compress your CSS files FOR MACS G o to http://in cide n t5 7 .org/ and download the W inL ess application http://winless.

txt twentyeleven twentyten 404.php archive. we took a W them all with “ . BEFORE AFTER Google Drive Desktop Applications Documents Downloads inbox index.less” .css Google Drive Desktop Applications Documents Downloads inbox index. Google Drive Desktop Applications Documents Downloads inbox Less Less.php ie-fixes.php modernist pagelines readme.less” ordpress theme’ s CSS files and renamed In this ex ample.less footer.O pen the L ess A pplication STEP TWO FOR MACS D ouble click on the download and move the L ess application to your applications folder.css index. we’ re dragging the folder that contains the L E SS files into the application: .php editor-style.php modernist pagelines readme.php ie-fixes.php style.less index.php archive.php style.txt twentyeleven twentyten 404.css footer.less STEP THREE D rag the folder with your L ES S into the L ess application files In this ex ample.php editor-style.zip STEP THREE O pen the Folder W here your C S S Files are and R ename your C S S Files as “ .

every time you change your less files. STEP FIVE L ess will A utomatically M inify your L ES S Files into C S S Files W hile it’ s O pen W hile the application is open. it will automatically update the minified CSS for you.STEP FOUR C lick on C ompiler. then C ompile A ll T his will create new CSS files that have been minified for faster downloads. Your L E SS files will look normal so you can still edit them: B ut your minified CSS files will look like this: .

B ut your minified CSS files will look like this: In this ex ample we shaved off 2 k in file size. . W hile it’ s only a small difference doing many small optimization tweaks will add up and give your users a much faster download.

google.google.deb package wget https://dl-ssl.bit machine use this command: [2] D ownload the mod.deb [3] I nstall the .deb If your server is a 6 4 . doing this on your own with no experience may result in your whole website going down! You should know how to install Apache modules and configure your webserver from a command line. If you don’t know how then you should leave this up to a professional web developer or system administrator who has experience.com/dl/linux /direct/mod-pagespeed-beta_ current_ i3 86.googl e .com/spe e d/docs/mod_ page spe e d/u sin g_ mod see: IF YOU’RE USING A DEBIAN BASED SERVER (SUCH AS DEBIAN OR UBUNTU): [1] S S H into your server If your server is a 3 2 .bit machine use this command: wget https://dl-ssl.deb package T ype this into the command line: dpkg -i mod-pagespeed-* . OR CENTOS): [1] S S H into your server .NO 7 [1] INSTALLING GOOGLE’S MOD_SPEED FOR APACHE O D _ S PEED for A pache I nstalling G oogle’ s M If you are running your website on an A pache server and you have control over the configuration of the server at the module level. F or additional information about M O D _ P A G E SP E E D https://de v e l ope rs. FEDORA. then you can install the M O D _ P A G E SP E E D module for an easy speed boost.com/dl/linux /direct/mod-pagespeed-beta_ current_ am d64. WARNING: Although this tutorial looks very advanced.pagespeed . it’s relatively easy for someone with experience configuring Apache at the server level.deb [4] C orrect any broken dependencies in place apt-get -f install T ype this into the command line: IF YOU’RE USING A REDHAT BASED SERVER (SUCH AS REDHAT. However.

d [2] L ocate the pagespeed_ module directives. FEDORA.google.rpm T ype this into the command line: CONFIGURING MOD_PAGESPEED [1] O pen your A pache configuration file for editing If you’ re using Ubuntu or D ebian the file will be located in: /etc/apache2/mods-available If you’ re using CentO S or F edora or R edhat. T hey will be wrapped inside an IfM odule directive.bit machine use this command: wget https://dl-ssl. the file will be located in: /etc/httpd/conf.IF YOU’RE USING A REDHAT BASED SERVER (SUCH AS REDHAT.com/dl/linux /direct/mod-pagespeed-beta_ current_ i3 86.rpm If your server is a 6 4 .pagespeed . OR CENTOS): [1] S S H into your server If your server is a 3 2 .htaccess file on your website: ModPagespeed on T o turn M odP agespeed on: T o turn M odP agespeed off: ModPagespeed off .rpm [3] I nstall “ at” using the Yum package manager yum install at T ype this into the command line: [4] C orrect any broken dependencies in place rpm -U mod-pagespeed-* .deb package wget https://dl-ssl.com/dl/linux /direct/mod-pagespeed-beta_ current_ x 8 6_ 64.bit machine use this command: [2] D ownload the mod. Enabling or disabling the module per folder A dd the following line to any .google.

htaccess file.org/ Use your F T P client of choice. Talk to your webmaster if you’re not sure this is something you should be editing. but restore it if there is a mistake.htaccess file and save a backup so we can safely edit it. So when you see that warning within G oogle P ageSpeed O nline. or you can download and use F ileZ illa - I am sure you are familiar with how to log in via F T P . B ut for some of you who may not be running W some technical info on optimizing for speed.htaccess File T his is located in the root directory.htaccess file to leverage browser caching.htaccess File N ex t. M ake sure you can see hidden files. N O T E : In some cases your site may not have an .htaccess file http://fil e z il l a.NO 8 BROWSER CACHING (NON-WORDPRESS SITE) M ost of you are likely running W ordP ress sites. I still want to give you H ere.htaccess STEP THREE D ownload and B ackup the . In F ileZ illa you right click and download.htaccess file. you can use the following techniq ues to fix it. . Start a new document in your text editor and name it . Host: website name Username Password Port : most cases you can leave this blank STEP TWO Find Your . N O T E : You should be a little comfortable editing your . STEP ONE L og I nto Your FTP S erver and B ackup Your . and we’ re going to cover some plugins you can use with W ordP ress to speed up performance. we’ re going to cover some advanced things you can do within your . so you can just create a new file.proj e ct. but in case you need a q uick reminder. ordP ress. we’ re going to download the . otherwise you may not notice it.

T he code for j avascript caching is also similar. visit. You should determine a the reasonable time frame for your site.htaccess file [2] A dd < file> wrapper tags [3] A dd the file type( s) within the wrapper [4] A dd the code which creates the caching and sets the max time to one week [5 ] A dd the same code for other photo file types . depending on how often the photos change T and his people will cache your CSS for one day. re setting the cache time for one week for photos. and how often people return back to your site. but in this case we’ ve set it to a month. but we’ ve chosen a different length of time for W e’ css.png and . this depends on how often you change your JAVASCRIPT css files.gif CSS N otice the code is basically the same. A gain. .PHOTO FILES [1] Turn R ewriteEngine O n this should be the first thing in the .

You should be doing these things now to stay ahead of the competition. but we’ ve chosen a different length of time for the css. set your time frames a little shorter j ust to be safe! If you’ ve followed and implemented the tips in this section you should have one of the faster sites on the web! N ex t we’ re going to cover new and groundbreaking areas of search. you can mix and match the file types with time frames that make sense for your site. and how often people return back to your site. WELL DONE! YOU MADE IT THROUGH CHAPTER ONE! ARE YOU READY FOR CHAPTER THREE: NEW SEARCH? TAKE ME TO CHAPTER ONE CHAPTER THREE TAKE ME TO . 0 0 0 ( basically ‘ infinite’ ) A s mentioned. this depends on how often you change your css files.0 0 0 . 4 8 1 month in seconds = 2 . JAVASCRIPT T he code for j avascript caching is also similar. 6 2 6 months in seconds = 1 5 . since they are calculated in seconds. T his will depend on how heavily your site req uires J avascript and how often it changes.CSS N otice the code is basically the same. 4 0 0 1 week in seconds = 6 0 . T his will cache your CSS for one day. W hen in doubt.0 0 0 7 7 4 . 5 3 6 0 0 0 9 . A gain. but in this case we’ ve set it to a month. 5 minutes in seconds = 3 0 1 day in seconds = 8 6 . 1 year in seconds = 3 1 . TIME CHEAT-SHEET H ere’ s a few different time frames.

org is a universal metadata markup introduced in 2 0 1 1 by the maj or search engines.THE ADVANCED GUIDE TO BY NEIL PATEL AND SUJAN PATEL SEO CHAPTER 03 N ow your site is crawlable. and how to get the correct markup into your H T M L code. index able and lightening fast. places. T his means a world where engines understand the relationships between real world obj ects like people. T ime to get on board now and integrate this into your website! 03 NEW SEARCH NO 1 SCHEMA. T here are still many people not taking full advantage of this! W e’ re going to cover several types of schema implementation. ITEMSCOPE ITEMTYPE ITEMPROP ITEMID ITEMREF . businesses etc. Search is moving towards a more semantic “ real to life” environment. T ime to ramp it up another notch with some new search elements. 01 BASIC ATTRIBUTES OF MICRODATA T hese five elements are best described with an ex ample. movies. Its used to communicate to them the intended type of content on your website.ORG METADATA IMPLEMENTATION Schema.

org/ayw/"><span itemprop="detail">About the Book<span></a> Itemprop is also the author and the category and the genre of the book. Pretty simple so far. here is the code with metadata. ITEMSCOPE <section itemscope itemtype="http://schema. . <!DOCTYPE HTML> <html lang="en"> <head> <meta charset=utf-8> <title>Example Page With Microdata</title> </head> <body> <section itemscope itemtype="http://schema. right? You’re using a <span> tag to insert the itemprop elements. Now.org/Book"> </section> Everything about the book goes in between the itemscope element.org/ayw/">About the book</a> </section> </body> </html> You can see it is just pure HTML with no special markup.org/ayw/"><span itemprop="detail">About the Book<span></a> </section> </body> </html> Let’s look at each element one by one.Here is some code without schema metadata: <!DOCTYPE HTML> <html lang="en"> <head> <meta charset=utf-8> <title>Example Page With No Metadata</title> </head> <body> <section> <h1>Anything You Want</h1> <span>Author: Derek Sivers</span> <span>Category : business</span> <a href="http://sivers.org/Book"> <h1 itemprop="name">Anything You Want</h1> <span>Author: <span itemprop="author">Derek Sivers</span></span> <span>Category : <span itemprop="genre">business</span></span> <a href="http://sivers. You’re telling the search engines “everything inside here is about a book” ITEMPROP <h1 itemprop="name">Anything You Want</h1> The itemprop is simply the name of the book. <span>Author: <span itemprop="author">Derek Sivers</span></span> <span>Category : <span itemprop="genre">business</span></span> <span>Category : <span itemprop="genre">business</span></span> <a href="http://sivers.

org/B log"> <h1>A C heat Sheet for B uilding H igh R anking Authority… Without C heating</h1> <p>F irst. Pictorial presentation to help you to understand the concept better. L ink a cluster of pages by topic</p> <p>2. let’ s define authority: domain authority is the likelihood of a single domain to rank well. T his does depend on your specific wordpress setup. D rive ex ternal links to the hero page from relevant website</p> <p>6.</p> <p>8. CODE WITHOUT SCHEMA <! D O C T Y PE H T ML > <html lang="en"> <head> <meta charset=utf-8> <title>Ex ample of B log Post Without Microdata</title> </head> <body> <div> <h1>A C heat Sheet for B uilding H igh R anking Authority… Without C heating</h1> <p>F irst. Avoid cannibaliz ing keywords</p> <p>5 . Send more links to one particular page</p> <p>3.google. L ink a cluster of pages by topic</p> .02 USING SCHEMA IN YOUR BLOG I know many of you likely run blogs of some sort. T he higher the rank the higher authority that site will have and vice a versa.</p> <p>H ere’ s how to do that:</p> <p>1. F ix broken pages</p> </div> </body> </html> CODE WITH SCHEMA <! D O C T Y PE H T ML > <html lang="en"> <head> <meta charset=utf-8> <title>Ex ample of B log Post With Microdata</title> <a rel="author" href="https://profiles.</p> <p>H ere’ s how to do that:</p> <p>1. let’ s define authority: domain authority is the likelihood of a single domain to rank well. Send domain-based ex ternal links to hero pages</p> <p>4.com/10307 4333439002308043/about">B idhan C hatterj ee</a> </head> <body> <div itemscope itemtype="http://schema. or if wordpress will strip out the tags. so I will show you a generic ex ample below. W ell you can put schema data into blogs as well! If you’ re using wordpress you’ ll want to check with the author of your theme to see if this is possible. T he higher the rank the higher authority that site will have and vice a versa. L ocate links high on a page</p> <p>7 .

L ocate links high on a page</p> <p>7 . <a rel="author" href="https://profiles. Send more links to one particular page</p> <p>3.com/we b maste rs/tool s/richsn ippe ts .com/10307 4333439002308043/about">B idhan C hatterj ee</a> T hat code goes in the < head> and then you point your G oogle P lus profile back at your blog .<p>2. T he elements itemprop and interactioncount will do the trick. Send domain-based ex ternal links to hero pages</p> <p>4. j ust like before. <meta itemprop="interactionC ount" content="F acebookL ikes:8"/> <meta itemprop="interactionC ount" content="G ooglePlus:3"/> TESTING A s always you’ ll want to test your markup with the rich snippet tester provided by G oogle: http://www. for ex ample.org/B log"> A gain. which you can find later in this guide. BONUS: SOCIAL SHARING SCHEMA You can also include social sharing data in your schema.</p> <p>8. Pictorial presentation to help you to understand the concept better. It’ s as simple as it looks.j ust like in the section on G oogle A uthorship. this is used to signal the type of thing or item your document is talking about. D rive ex ternal links to the hero page from relevant website</p> <p>6.google. F ix broken pages</p> </div> </body> </html> EXPLANATION OF ELEMENTS REL = AUTHOR You may be wondering why this is inside the < head> < / head> of the H T M L . INTEMSCOPE <div itemscope itemtype="http://schema.googl e . Avoid cannibaliz ing keywords</p> <p>5 . T hat is because G oogle now allows you to reference the author in this way.

NO 2 VIDEO INDEXATION MARKING UP YOUR VIDEOS WITH SCHEMA. <h1>N eil Patel</h1> <h2>V ideo: Advanced SEO for B loggers</h2> <obj ect . D rive ridiculous amounts of leads to your blog and learn the 7 secrets of conversion rate optimiz ation.....hosting” your video L beds for ex am p le) [2] You have access to the HTM so you’ ll be able to edit the code STEP ONE Paste the Normal V ideo C ode O n Your Page A typical ex ample of video embed code may look like this.000 results (0. B efore you begin. you j ust need to know the proper markup to use. J ust check out this ex ample of how SE O moz is utilizing video metadata to give them a giant visual boost in the SE R P s.24 seconds) SEARCH It turns out adding the code is not too difficult..> </obj ect> <p>An ex clusive video with SEO and web marketing ex pert N eil Patel.</p> .> <embed type="application/x -shockwave-flash" .> <param ..ORG Using Schema. [1] ( this can not be done for Y ouT ube em You’ re “ self.org to markup your videos can give you a powerful boost with click through rate. whiteboard Friday link building About 193. there’ s a few assumptions.

http://e n .W rap I n V ideo O bj ect W STEP TWO rap the code in a <div> A dd the V ideoO bj ect data. T he duration and thumbnail properties go within < meta> tags which typically get added below the name and before the actual video.wikipe dia. STEP THREE A dd B asic M arkup BASIC PROPERTIES ARE.org/wiki/I S O _ 8 6 0 1 N ote: the duration is in ISO _ 8 6 0 1 format. L earn more about it here: . N ame T hu mb n ail D u ration D e scription T he name and description fields are added within < span> tags which wrap around ex isting content.

> </obj ect> <p><span itemprop="description">An ex clusive video with SEO ex pert N eil Patel...</span></p> </div> .j pg" /> <meta itemprop="uploadD ate" content="2012-04-01T 08:00:00-05 :00" /> <meta itemprop="width" content="640" /> <meta itemprop="height" content="480" /> <obj ect ..> <embed type="application/x -shockwave-flash" . associate dA rticl e b itrate con te n tS iz e con te n tU R L du ration e mb e dU R L e n code sC re ativ e W ork e n codin gF ormat e x pire s he ight pl ay e rT y pe re gion sA l l owe d re q u ire sS u b scription u pl oadD ate width O r you can add properties ex clusive only to video.. D rive ridiculous amounts of leads to your blog and learn the 7 secrets of conversion rate optimiz ation.> <param .org/V ideoO bj ect"> <h2><span itemprop="name">V ideo: Advanced SEO for B loggers</span></h2> <meta itemprop="duration" content="T 1M33S" /> <meta itemprop="thumbnail" content="neil-patel-video-thumbnail.. caption produ ction C ompan y thu mb n ail tran script v ide oF rame S iz e v ide oQ u al ity H ere’ s an ex ample with upload date. G o add your video markup and steal massive clicks from the competition! FINISHED CODE <div itemprop="video" itemscope itemtype="http://schema. width and height added..STEP FOUR A dd A dditional M arkup You can add any property for a M ediaO bj ect ( the pare n t ob j e ct of a V ide oO b j e ct ) .

we are talking about the specific CD that CD is on. . [4] A dd The Elements W “ T hriller” and referencing the UR L hich A re Properties O f the R esource Using the wrapper tag <cd:artist></cd:artist> ( or cou n try .02 [1] AN EXAMPLE L declaration and the R D F wrapper tags A ll R D Fs start with the X M [2] The you have to declare the R D F syntax and the UR L is referring to. price e tc ) you can declare the properties of the album you are referencing. the data [3] Nex t we’ ll declare the ex act items to be described in the document H ere.

w3 .cdstore.cdstore.com/cd01/T hriller"> <cd:artist>Michael J ackson</cd:artist> <cd:country>USA</cd:country> <cd:company>Epic R ecords</cd:company> <cd:price>12.com/cd01"> <rdf:D escription rdf:about="http://www.03 <? x ml version="1.0"? > </rdf:R D F > COMPLETED CODE EXAMPLE H ere’ s an ex ample of the completed code which you can use and modify for your needs <rdf:R D F x mlns:rdf="http://www.99</cd:price> <cd:year>1982</cd:year> </rdf:D escription> Use the V alidator to check your work! http://www.w3.org/1999/02/22-rdf-syntax -ns# " x mlns:cd="http://www.org/R D F /V al idator/ .

com/fakeitems/dublincore/" /> <meta name="D C .T ype" content="tex t/html" /> <meta name="D C .C reator" content="N eil Patel" /> <meta name="D C .1/" /> <link rel="schema. for instance.D escription" x ml:lang="EN " content="T his tutorial is a part of N eil Patel' s advanced SEO guide.u kol n .com/fakeitems/dublincore/" /> <meta name="D C .D C " href="http://purl.L anguage" scheme="dcterms:R F C 17 66" content="EN " /> BONUS: A DUBLIN CORE GENERATOR If you have a webpage that already ex ists.F ormat" schema="D C terms:I MT " content="tex t/html" /> <meta name="D C .Publisher" content="I ' m K ind of a B ig D eal.C ontributor" content="N eil Patel" /> <meta name="D C .org"> <title>T he N eil Patel G uide to D ublin C ore</title> <link rel="schema. L L C " /> <meta name="D C . L L C " /> <meta name="D C .Publisher.com <head profile="http://dublincore.NO 4 ADDING THE DUBLIN CORE TO YOUR SITE title creator subj ect description publisher contributor date type format identifier source language relation coverage rights the name given the resource the person or organization responsible for the content the topic covered a tex tual outline of the content those responsible for making the resource available those who added to the content when the resource was made available a category for the content how the resource is presented numerical identifier for the content such as a UR L where the content originally derived from in what language the content is written how the content relates to other resources.I dentifier" content="http://q uicksprout.I dentifier" schema="D C terms:UR I " content="http://q uicksprout.org/dc/elements/1. N eil Patel. including. try running it through this free D C generator." /> <meta name="D C .T itle" x ml:lang="EN " content="D ublin C ore T utorial" /> <meta name="D C . http://www.D ate.u k/me tadata/dcdot/ . T here are a variety of elements used by the D ublin Core." /> <meta name="D C .X -MetadataL astModified" scheme="I SO 8601" content="2012-06-01" /> <meta name="D C .com" scheme="I sPartO f" /> <meta name="D C .Address" content="neil@neilpatel.com" /> <meta name="D C .D ate" scheme="I SO 8601" content="2012-06-01" /> <meta name="D C .Subj ect" x ml:lang="EN " content="D ublin C ore Meta T ags" /> <meta name="D C .R ights" content="C opyright 2012.ac. AN EXAMPLE A n ex ample of some of the D ublin Core metadata in action would be the following. All rights reserved.C overage" content="I ' m K ind O f A B ig D eal. if it is a chapter in a book where the resource is physically located a link to a copyright notice 01 02 T he D ublin Core is another metadata format which is used to describe data on the web. T his code represents a hypothetical document on q uicksprout.D C T ER MS" href="http://purl.org/dc/terms/" /> <meta name="D C .R elation" content="Q uickSprout.

OPTION B: USE THE REL=AUTHOR TAG < a hre f= " https://pl u s.com/1 0 9 4 1 2 2 5 7 2 3 7 8 7 4 8 6 1 2 0 2 ? re l = au thor" > N e il P ate l < /a> T his again is the traditional rel=author tag.com/1 1 2 7 5 9 9 0 4 4 5 3 5 7 7 8 9 2 4 7 2 ? re l = au thor> + N e il P ate l < a/> T his is the simplest way to link to your author profile. SIMPLE METHOD W ith this simple method. B ut this time you are going to add the author link for each guest author on their posts. NEW ALTERNATE OPTION: USE THE SPECIAL PARAMETER LINK < a hre f= ” https://pl u s. STEP ONE L ink To The I ndividual A uthor Profile From Each Post but P ost So let’ s say we have a blog with two posts: P ost A and P ost B .con fig as before to generate the code ( don ’ t forge t to u se y ou r G oogl e P l u s I D ! ) . Substitute your name and G oogle P lus P rofile ID and paste the code only in posts or pages you authored. J ust put the above code ( pe rson al iz in g y ou r n ame an d l in k) only on the pages you authored.N 5 O GOOGLE REL=AUTHOR TAG IMPLEMENTATION FOR MULTIPLE AUTHOR SITES T here are two methods to implementing rel=author for multiple author sites. choosing whichever option is best for you. You will do as follows for each post POST A: THE GOOGLE PLUS BADGE G o to https://de v e l ope rs. using rel=author.com/+ /pl u gin s/b adge /pe rson al . B ut this time. . I wrote post A B is a by a guest author.googl e . you’ re only going to paste it into the individual posts you authored.googl e . POST B You are going to repeat the above step.googl e . all you will need to do is point a link from each post to the corresponding G oogle P rofile page.

You can have as many links as you want in the “ contributor” section. ADVANCED METHOD STEP ONE L ink To The I ndividual A uthor Profile From Each Post W ith this advanced method. OPTION A: THE GOOGLE PLUS BADGE https://de v e l ope rs. If they do not. B ut this time you are going to add the author link for each guest author on their posts. < a hre f= " https://pl u s. you can see the section on “ setting up a custom author profile in W ordP ress” .com/1 0 0 6 1 3 0 6 0 1 1 9 6 9 5 6 3 7 2 1 3 ? re l = au thor" > G u e st A u thor< /a> O nce you have done so for every page with a guest author. OPTION B: USE THE REL=AUTHOR TAG A tag of this style for a guest author might look something like. STEP TWO Each A uthor A dds “ C ontributor” L ink To Every B log They A re a G uest A uthor O n N ow. you are ready to move to step two.POST B You are going to repeat the above step. so no matter how many sites you write for.com/+ /pl u gin s/b adge /pe rson al . . Some W ordP ress themes may have this functionality built in. T ake for ex ample Suj an P atel’ s profile. you can show you are the author. must add a link to your site in the “ contributor” section of their G oogle P lus profile. choosing whichever option is best for you.googl e . every author is going to need their own page.googl e .con fig this time using the Cut and paste the G oogle P lus B adge code from profile information of the guest author. as you can see below. where he is a contributor to three sites. each author that can contributes to your site. SE O moz does this well.

which simply looks like this: P ost ( rel=author) B io/ P rofile ( rel=me) G oogle P lus P rofile T he chain works backwards too. T his establishes the final connection in the chain. you pointed a “ rel=author” link to your G oogle P lus P rofile. In the case of a multiple author blog. T he important part in this last step. T he link from my G oogle profile pointing back to SE O moz would be.STEP TWO A dd rel= “ author” L inks From B log Posts To Profile Page R emember how in the single author blog.org/u se rs/profil e /3 6 1 1 3 7 . you’ re going to point r e l = a u t h o r to your profile page on that website. we have to create the third link in the chain: link from your bio page to your G oogle P lus P rofile. as you’ re about to see in step four.se omoz . is that the link needs to go directly to your bio/ profile page on the website you contribute to. STEP THREE A dd rel= “ me” From B io Pages To G oogle Profile N ex t. G oogle P lus P rofile ( contributor link) B io/ P rofile STEP FOUR C lick on C ompiler. then C ompile A ll You should now be familiar with adding a link from your G oogle P lus P rofile back to the site you contribute to. http://www.

com/+ /pl u gin s/b adge /pe rson al . You’ re reciprocal linking from your website to your G oogle profile. L ike this. B e sure to use your G oogle P lus P rofile ID . T his is eq uivalent to creating a G oogle P lus page now. you should do that know. T his will usually go in a sidebar widget if you’ re running W ordP ress. Every Page O n Your website ( r e l = a u t h o r ) G oogle Plus Profile ( contributor) Your W G oogle Plus Profile ebsite Its fairly simple to do. once you’ ve walked through the steps.con fig G rab the code as shown in the above snapshot and paste it where you want it on your site. STEP ONE A dd R el= A uthor To Your S ite OPTION A Install the G oogle Plus B adge on your site https://de v e l ope rs.googl e . . T he concept with setting up your author profile is that you are basically putting a link in two places.NO 6 GOOGLE REL=AUTHOR TAG IMPLEMENTATION FOR SINGLE AUTHOR BEFORE YOU BEGIN: SET UP YOUR GOOGLE PROFILE If you do not already have a G oogle profile set up at this point. but there are a few options and specifics to know about.

googl e . T his method replaces the need to use the re=author attribute or G oogle P lus badge. www. T his was the first method available when A uthor P rofiles first came out. A dd your blog as a link. this can easily be done via the footer or sidebar widget if you have an “ about” box with your name in it.com Use the “ contributor” section in your profile. H ere’ s the code. < a hre f= " https://pl u s. you obviously want to use your G oogle P lus P rofile UR L when doing this. < a hre f= ” https://pl u s. substitute your name and your G oogle P lus profile ID . L ink B ack To Your S ite From Your G oogle Profile STEP TWO G o to your profile page while logged in and click edit.googl e . . In a content management setup like W ordP ress.com/1 0 9 4 1 2 2 5 7 2 3 7 8 7 4 8 6 1 2 0 2 ? re l = au thor" > N e il P ate l < /a> O bviously. and simply turn it into the following link. You need to link your name from every page of your blog to your G oogle profile.OPTION B You can link from every page on your site to your G oogle P lus profile with the rel=author attribute. Simply cut and paste it into the sidebar or footer. A nd again. now you are ready to point your G oogle profile back to your site.com/1 1 2 7 5 9 9 0 4 4 5 3 5 7 7 8 9 2 4 7 2 ? re l = au thor> + N e il P ate l < a/> N otice the plus in front of my name? T hat helps signal to G oogle that you are using the special parameter at the end of the UR L . be sure your author name appears on appear page of your site. It was introduced after the initial release of rel=author as an easy way to implement the link without needing to edit H T M L . STEP ONE S pecial Parameter L ink M ost people do not know about this new simple method to link your blog pages back to your G oogle profile. pand a. W hichever of the three methods you have chosen to use. F irst.

and how your page may look in the SE R P s.http://www. .com/we b maste rs/tool s/richsn ippe ts T est with the rich snippets testing tool SEO PANDA T his will show you if you have implemented the authorship correctly.googl e .

http://google. but there is this thing called an implied site search. places and things . such as wikipedia T he knowledge graph on the right hand side of the SE R P s is only the most obvious place you’ ll see entity like results.12 seconds) SEARCH .NO 7 ENTITY SEARCH E ntity search is still very much in its earliest stages. O nly certain types of people.com/boston IMPLIED SITE SEARCH G oogle hasn’ t been doing this long.more than j ust keywords which don’ t have much of a meaning. websites or businesses will be able to utilize it.but here’ s where you might see some entity type results. WHAT IS ENTITY SEARCH? It is often also referred to as “ the knowledge graph” .com outreach About 6 results (0. F or ex ample the keyword “ boston” could be the place but it could also be the band. T hey are sometimes hidden . L et’ s look at the current knowledge graph for “ boston” H ow does that data get there? G oogle draws data from a large variety of data repositories around the web. You probably know what a normal site search is: site:quicksprout. but it won’ t be long until everyone can participate. It is about connecting people. T his section will be one of j ust a few that talks a little bit more about the concepts.

and can thus rewrite the search into a site search for the top results.com .B ut check out what you get with this: quicksprout outreach About 8.950 results (0.an e n tity .com related:quicksprout.12 seconds) SEARCH T he top six results are still all from q uicksprout.com About 90 results (0. but check out the results for a related: search on q uicksprout. THE RELATED SEARCH OPERATOR N ot many people use this.G oogle has recognized q uicksprout the company as a business .20 seconds) SEARCH .

Is it becoming apparent that being viewed by G oogle as an entity could be a very good thing? It gives you the possibilities of appearing in more places around the web.yet they are seen as related to one another.000 results (0.tail description. b l oggin g an d an al y tics . T his has nothing to do with “ keywords” and everything to do with the idea of F lorida being a state and T allahassee being the capital of that state . here’ s a related: search with no results related:distilled. a complete sentence or a very long.44 seconds) SEARCH G oogle returns the answer to your q uestion. T his is very much how entity relationships work. T o illustrate that this association to being an entity.000.You can clearly see the association of q uicksprout having to do with the topics of we b de v e l opme n t. T he nex t section will cover some specific ways you can get included in entity based sources. T his would be a search q uery that is a q uestion. and of boosting your authority. .net SEARCH NATURAL LANGUAGE SEARCH You also see some entity results in “ natural language search” . doesn’ t apply to everyone automatically. T here are no significant keywords shared between these site . T ake “ what’ s the capital of florida? ” for ex ample What’s the capital of Florida? About 358.

com F D IC F ood an d D ru g A dmin istration F orb e s F ran ce F re e b ase G E B C O U n de rse a F e atu re s G az e tte e r G e ographic N ame s I n formation S y ste m G e on ame s.com datab ase F ootb al l .S .org/ W ikipe dia W ikipe dia C ate gorie s W ikipe dia in fob ox e s W orl d B an k.com D atab ase datab ase b aske tb al l .com F ace b ook F actu al fame n e tworth.com I n fochimps I n stan tE n core I n te rn e t M ov ie D atab ase I n te rn e t S pe cu l ativ e F iction D atab ase I n te rn e t S pe cu l ativ e F iction D atab ase IS O 1 5 9 2 4 IT IS L ib rary of C on gre ss L ib rary of C on gre ss id.com T V R age tv rage .org/wiki/ E n gl ish W ikipe dia E u rostat.com S e cu ritie s an d E x chan ge C ommission se c. H ow do we make that happen? B y making sure you appear in F reebase.com C e n te r for R e spon siv e P ol itics C he fM oz chickipe dia C l au d B u tl e r croctail .C l e an e r H u lu I E S N C E S P u b l ic L ib rary S u rv e y imdb .corpwatch.I n te rn al .com/die se l .gov / L u rkmore . W orl d D e v e l opme n t I n dicators . ab c.com/oil .com/gas.ru M B L W H O I L ib rary M e dpe dia M e tawe b topic me rgin g al gorithm M e x ican I N E G I statistics M il l ion M u sicB rain z M y S pace N ame d e n tity re cogn ition N ation al C e n te r for E du cation S tatistics N ation al F ire D e partme n t C e n su s D atab ase N ation al O ce an ic an d A tmosphe ric A dmin istration N atu re N e tfl ix N ie l se n C ompan y O fficial W e b site O pe n L ib rary O pe n L ib rary P roj e ct O u rA irports P aragl idin g E arth P ocke t S tatistical D ata on S witz e rl an d 2 0 0 6 P ocke t S tatistical D ata on S witz e rl an d 2 0 0 7 P u b l ic domain P u b M e d C e n tral Q u otation sb ook R an ke r.citiZ E N diu m.state .org S imon P rope rty G rou p S ky G rid S l ov ak S tatistical O ffice S tan ford U n iv e rsity S tarC raft an d S tarC raft I I W iki T he F ootb al l D atab ase T he H ol l y wood R e porte r T he N ation al I n stitu te of S tatistics.com A rX iv B ase b al l A l man ac B e rl in I n te rn ation al F il m F e stiv al B ooks an d W rite rs kirj asto.fi/ b orn rich.sy ste m. html A dhe re n ts. M in imu m W age in E u rope e x pl ore dia.cl e an e r https://prote cfu e l sav e r. F ood an d D ru g A dmin istration N ation al D ru g C ode D ire ctory U N S tats U n ifie d M e dical L an gu age S y ste m R e l e ase 2 0 1 1 A B U n ite d S tate s C e n su s B u re au U n ite d S tate s C e n su s B u re au .org/ C rore C ru n chb ase .com D atab ase O l y mpics D ay L ife .l oc. S pain T he T V D B T he W orl d F actb ook the riche st.com R e fe re n ce .fu e l .org G e rman W ikipe dia G oogl e P l u s H e al thcare C ost R e port I n formation S y ste m https://prote cfu e l sav e r. U n e mpl oy me n t in U S C ou n tie s B u re au of L ab or S tatistics.NO 8 ADDING YOUR SITE TO ENTITY BASED SOURCES T he last section taught you all about the importance of appearing like an entity to G oogle and having as much related information tied to you as an entity as possible. for the places G oogle uses to get its entity information.fu e l .E n gin e .com/P R O T E C .com E -L IS e n .org topics. U n e mpl oy me n t in U S S tate s C â mara dos D e pu tados ce l e b rity n e tworth.n y time s. H ere’ s the most ex tensive list I know of.v a.com B oston .sci. P opu l ation U n ite d S tate s D e partme n t of H ou sin g an d U rb an D e v e l opme n t U n ite d S tate s I n te rn ation al T rade C ommission U n ite d S tate s S e cu ritie s an d E x chan ge C ommission V irtu al I N te rn e t A u thority F il e v iaf.com B u re au of L ab or S tatistics. U n e mpl oy me n t in U S B u re au of L ab or S tatistics.u s/P rice l ist/R U M _ (I M P O R T E D ).com U .re hab https://prote cfu e l sav e r.cl e an e r https://prote cfu e l sav e r.

You’re goal is to be sure your entity information is complete and accurate. this is how you can add yourself. F FR RE EE EB BA AS SE E N O T E : Please don’t look at this like directory submission or a place to spam. click to “ view all” . use the search box to see if your entity ex ists [4] I f it does NO T ex ist . [5 ] W hen on your topic page. F rom any page. Freebase is a publicly edited database (started by MetaWeb. etc. “ A merican Idol” would be a T V P rogram. [1] C reate an account [2] O nce your account is created.look for your “ topic” Your topic is the category the entity should most fit into. Its not a place to drop links or create extra submissions (that probably won’t do much). bought by Google). F or ex ample “ Z appos” is a Company.so you want to go to that topic page. If you are not in freebase. Q uickSprout seems to fit best into “ Internet Company” . set yourself to be in edit mode ( m ak es it easier when browsing top ics to edit) [3] Then check to see if your entity ex ists D ouble entries are not liked very much ( and they’ ll get deleted anyway) .F reebase draws from all of the above places for data.

factual. T hink of this like a W ikipedia entry . H opefully by the end of this section you’ ve gained some in depth understanding of how important things like schema and entity search are. click “ create new top ic” ) [8 ] Then you’ ll see your new topic in the list .click on it [9 ] S ince you’ re automatically in edit mode ( from step 2) you’ ll be able to add and edit all information for your new topic.[6 ] Then you need to “ add more topics” [7 ] R un the S earch again for your entity j ust to be certain ( when you don’ t see it p op up . this is not a sales page. A gain. A nd you’ ve helped make your websites more “ future search” friendly! WELL DONE! YOU MADE IT THROUGH CHAPTER ONE! ARE YOU READY FOR CHAPTER TWO: SITE SPEED & PREFORMANCE? TAKE ME TO CHAPTER TWO CHAPTER FOUR TAKE ME TO .

However. but some of the options you see may be slightly different. Its the most used CMS in the world. N O T E : Some of the options that appear in Yoast’s settings depend on what theme you are running. I’m demonstrating on a basic free wordpress theme.THE ADVANCED GUIDE TO BY NEIL PATEL AND SUJAN PATEL SEO CHAPTER 04 We’ve been covering some best practice techniques for optimizing your website. I know for a fact most of my readers use WordPress. 04 WORDPRESS N 1 O ADVANCED INDEXATION FOR WORDPRESS SITES (YOAST SEO) Most people usually get the basics done well when settings up WordPress. . in this section we’re going to walk step by step through all of the settings in Yoast SEO. But now we’re going to get a little more specific and dive into WordPress. So I wanted to give you some advanced tips for using it more effectively. and go over exactly what you want to use them for — and their most common applications.

G oogle doesn’ t return them as much in results as they used to and it’ s always better to rank a page. Format it’ s usually safe to leave this unchecked.you usually don’ t need to check these off. It is very rare to not index these. . You D O want to let both pages and posts get index ed. You do NO T usually want to index media.index sub.GENERAL SETTINGS Title settings you only need to check this box if for some reason your title tag settings are not working S ite. post or category instead. but also how you control index ation of these parts of W ordP ress.pages of archives” Clean up the <head> .wide meta tags you should typically only check of “ no. P PO OS ST T T TY YP PE E S SE ET TT T II N NG GS S T his section is not only where you set up title and description templates. TAXONOMIES C ategories you’ ll most often want to index these Tags more and more these should not be index ed.

like this: H owever. if you are running a single author blog you should disable them. E nabled j ust means users can browse posts by date. P ut another way: che ck off the b ox e s of page s y ou are n ot in de x in g. but you should usually keep them enabled. you will have set up a template to display a default category description for the meta tag. Users will get redirected back to your home blog page. A lso. D ate A rchives its also best to NO T index these. Ping You can ping both yahoo and I Ex clude Post Types You should ex clude any you’ re not index ing. the mistake many people make is not writing this description in the first place! You have to go to P osts Categories — and when you add a new category the description area then becomes . X XM ML L S S II T TE EM MA AP P S SE ET TT T II N NG GS S NO TE: B e sure you are N O T using another X M L sitemap plugin or that your theme does not have this functionality activated. C CA AT TE EG GO OR RY Y D DE ES SC CR R II P PT T II O ON NS S In Yoast.O OT TH HE ER R A uthor A rchives it’ s best to NO T index these.

you will have set up a template to display a default category description for the meta tag. You go to edit files — and most often your additional code will go at the bottom: O . the mistake many people make is not writing this description in the first place! You have to go to P osts Categories — and when you add a new category the description area then becomes the meta description set up in Yoast SE O . like this: H owever.htaccess methods given throughout this guide can be implemented within Yoast SE O .. E ED D II T T . all of the .C CA AT TE EG GO OR RY Y D DE ES SC CR R II P PT T II O ON NS S In Yoast. H HT TA AC CC CE ES SS S F F II L LE E A lso.

[2] SECURE WORDPRESS INCLUDES You’ re going to need access to your .[ F . so if you are not comfortable doing the following things. NO TE : If you want this to work for a multi. try it on a test site or get someone to assist you.click installation through your web host.php . B ecause of this I want to show you some ex tra security measures you can take in W ordP ress.+\ . R ewriteR ule ^ wp-includes/[ ^ /] +\ .L ] ewriteR ule ^ wp-includes/theme-compat/ . [1] CHANGE YOUR FILE PERMISSIONS R un the following two commands to change file permissions recursively.config.php ( which you do on a manual install) . T his is for files.[ S=3] ewriteR ule ^ wp-includes/[ ^ /] +\ . perhaps nothing can be more damaging to a website’ s bottom line than a security problem.author site remove this line.php$ .[ F . T his is for directories.L ] B EG I N WordPress B egin WordPress T his blocks outside access to your ‘ include’ file directories.[ F . You will need shell access to the server.L ] ewriteR ule ! ^ wp-includes/ .[ F . find /path/to/your/wordpress/install/ -type f -ex ec chmod 644 { } \ .NO 2 SECURING WORDPRESS A lthough not specifically SE O related. OPTION A . # R R R R R R R # B lock the include-only files.htaccess file to do this. you may have never worked directly in the wp. ewriteEngine O n ewriteB ase / ewriteR ule ^ wp-admin/includes/ . B ut anyone somewhat comfortable with technical things should be able to do these.L ] ewriteR ule ^ wp-includes/j s/tinymce/langs/.[ F .L ] [3] SURE YOUR WP-CONFIG.config. A gain. T hey are a little code intensive. SE O is great but only when your site is secure. please use care and if you feel like you need help.PHP FILE D id you know wp.php$ . A dd this code above # L ike this.php is where your username and password is installed? If you used a one. please get ex tra help. find /path/to/your/wordpress/install/ -type d -ex ec chmod 7 5 5 { } \ .

htaccess file.php> order allow. you may have never worked directly in the wp. you can also use this code in the . NO 3 MAKING WORDPRESS COMMENT REPLY LINKS NOFOLLOW editor functions.PHP FILE D id you know wp.L ] [3] SURE YOUR WP-CONFIG. P ut this at the very TO P of the .php G o to appearance .config.config.config.php$ .php normally sits in the root directory B it did you know.htaccess file.click installation through your web host.[ F .config. OPTION B htaccess file code If you don’ t want to move around files.php is where your username and password is installed? If you used a one. OPTION A M ove wp.php up one level above the root directory. <files wp-config.php ( which you do on a manual install) . L ike this.php up one level wp.config. you can actually move wp.deny deny from all </files> T his will block anyone trying to open it with their browser.R ewriteR ule ^ wp-includes/[ ^ /] +\ .

' add_ nofollow_ to_ reply_ link' ) . It’ s the str_ replace( ) function which is replacing the default closing of the anchor tag . A dd a rel="nofollow" to the comment reply links function add_ nofollow_ to_ reply_ link( $ link ) { return str_ replace( ' ") \ ' >' .php file. R emember to update the file. A nd you can always q uickly check for followed/ unfollowed links with the SE O moz toolbar.php G o to appearance P aste the following code into the very bottom of your functions. NO 3 MAKING WORDPRESS COMMENT REPLY LINKS NOFOLLOW editor functions. $ link ) .and its appending the nofollow to it. .T his will block anyone trying to open it with their browser. ' ") \ ' rel=\ ' nofollow\ ' >' . } add_ filter( ' comment_ reply_ link' .

2 0 1 2 . STEP TWO C onfigure T his is where some people can get confused. STEP ONE I nstall The Plugin G o to . It makes internal linking to older posts easy. ( M ore on ide n tify in g which page s y ou shou l d l in k to b e l ow in # 2 4 . in this post from A pril 9 th.http://wordpre ss. and I am here to help you out :.NO 4 INTERNAL LINKING WITH SEO SMART LINKS B y now I’ m sure you know the importance of “ Internal L inking” . T his part of the SE O guide is going to show you how to install.C rawl in g Y ou r S ite S cre amin g F rog. L et’ s walk through a this plugin in detail. 2 0 1 1 . B ut what happens with most blog posts? A s time goes by.au tomatic. they get further and further away from the homepage and their linkj uice is buried.org/e x te n d/pl u gin s/se o. configure and use the SE O Smart L inks plugin.) Choose where links will appear: Posts .that is how you link from page to page within your own website. I link back to a post from D ecember 5 th.) F or ex ample. ENTER “SEO SMART LINKS” PLUGIN.l in ks/ O R search for “ SE O Smart L inks” within W ordP ress and install it within W ordP ress. U n l e ss y ou con siste n tl y l in k to the m from n e w posts an d page s.

I gnore keywords H e re y ou can al so ask it to ign ore ce rtain ke y words whe n l in kin g. O pen in new window — . an d the y are more l ike l y to n av igate b ack to y ou r site . you’ ll want to add specific posts that should be linked to when specific keywords appear ( pe rhaps the cool e st fe atu re of this pl u gin ) . we’ re going to set limits. comma separated E nter the UR L you want those keywords to link to. LIMITS M I l ike to ke e p this at 5 for the ty pical l e n gth of my posts. D o this for e v e ry post you want direct control over the links L astly. N ex t. ax L inks — M M ax S ingle — 1 ax S ingle UR L s — 1 EXTERNAL LINKS Nofollow — this is n ot n e ce ssary to e n ab l e I l ike this for the u se r e x pe rie n ce . C ustom K eywords P revent duplicate links E nter the keywords and the UR L E nter as many keywords as you’ d like.Choose where links will appear: Posts Pages Prevent links in Headers Choose T argets and Settings Target Posts only u n l e ss y ou hav e page s re al l y importan t to y ou Process only single posts Process R S S Feeds this is a good ide a I gnore posts and pages H e re y ou can ask the pl u gin to N O T l in k to ce rtain page s or posts.

con te n t/the me s/y ou r. and send important authority back to your older posts.activ e . It is often not desirable to have the date shown.700. User testing has shown people are more likely to click on links with about seven words in the anchor tex t. how to make sushi at home About 11.000 results (0. here’ s some important tips to keep in mind.php H HO OW W T TO O S SE EA AR RC CH H Y YO OU UR R W WO OR RD DP PR RE ES SS S F F II L LE ES S [1] Use an FTP client like Filez illa [2] D ownload your wordpress theme files to your local computer ( y ou shou l d do this an y way some time s as a b acku p) B e su re to n ot copy the e n tire wordpre ss in stal l ation — wp.36 seconds) SEARCH F F II N ND D II N NG G A AN ND D R RE EP PL LA AC C II N NG G T TH HE E_ _T T II M ME E( () ) F FU UN NC CT T II O ON N T he hardest part about this perhaps. T he function we’ re looking for is ‘ the_ time( ) ’ . T he link closest to the top gets the most linkj uice.php sin gl e . NO 5 GET RID OF DATE IN SERPS / WORDPRESS P eople have often asked me how to remove the date from displaying in a G oogle search result when running on W ordP ress. L ink from the sn ippe t or from the top of the post — this way ( for a short pe riod of time ) your links will be on your homepage. as in the ex ample below. is finding the right spot in your W ordP ress setup to alter the code.php in de x . T he three most common places you will the_ time( ) are.fol de r j u st copy the fol de r [3] S earch multiple files with a tex t editor like Tex twrangler .the me . archiv e .INTERNAL LINKING A FEW BONUS TIPS If you’ re doing some manual internal linking.

. Y ' ) How it works: W e’ re wrapping the P H P function int J avascript. G oogle does not use j avascript when pulling data for the description. So it will display for the user but not read by G oogle.</script> R eplace it with this: j S. . You will see a result listing all of the files that contain ‘ the_ time’ .navigate to your theme’ s folder and select Your dialogue and selections should look similar to the one below. These are the files you should edit directly in the W ordPress editor. Y ' ) ? > <script language="j avascript" type="tex t/j avascript">document.F ile Search.> M ulti. with only the theme name differing.[3] S earch multiple files with a tex t editor like Tex twrangler G o to Search. A lter the_ time( ) I n A ll O f Those Files It will probably look something like this. E nter ‘ the_ date’ in the find field Click other . <? php the_ time( ' F j S..write( "<? php the_ time( ' F ? >") .

F or my site. twentyeleven and twentyten have an author. THESE ARE THE FIVE STEPS: S tep S tep S tep S tep S tep O ne . So this tutorial is going to assume you are running a multi. If you are running a single author site.C urrent A uthor D etection Three .Putting I t Together C omplete C ode S ample STEP ONE File S etup T he file you need to edit is author.author site.R ough D raft Four . we’ re going to clean it out to prep for editing: O pen your new version of author.V ariables Five .php G o to appearance E ditor and look for author.php file If it D O E S ex ist. but I don’ t recommend it) .php L astly.NO 6 CREATING A CUSTOM WORDPRESS AUTHOR BIO PAGE T he default “ author archive” in W ordP ress is j ust a list of all the posts by that author.php rename it author. simply having an “ about” page may be the better option for you.q u icksprou t.File S etup Two . which I why I choose to not index it. D elete from between get_ header( ) & get_ sidebar( ) STEP TWO C urrent A uthor D etection . If it does N O T ex ist make a copy of archive. that’ s the file we’ re going to edit make a backup copy now.com/au thor/admin / is simply as list of the posts I have written.php in your tex t editor ( if you’ re really brave you can do all the editing in the appearance editor. Custom author pages work best on multi.author blogs. you can see that my author page http://www.php T he default themes.

> de scription . $ cu rau th. You can do so within the tex t editor itself. > first_ n ame .> n ickn ame . > n ickn ame . > u se r_ n ice n ame . based upon the info you’ d like to display. THE ONES WE’LL NEED ARE. > displ ay _ n ame . > u se r_ l ogin . ( most ofte n u se d to displ ay the n ame . T his makes it easier to set up your variables. $ cu rau th. but I recommend sketching out a little rough draft of the layout of your author page. > u se r_ u rl . H ere’ s a list of all of the author variables: $ cu $ cu $ cu $ cu $ cu $ cu $ cu $ cu $ cu $ cu $ cu $ cu $ cu $ cu rau rau rau rau rau rau rau rau rau rau rau rau rau rau thththththththththththththth> aim. . $ author_ name) : get_ userdata( intval( $ author) ) . > I D .> u se r_ u rl . > l ast_ n ame . > y im. T his is j ust a great way to get the idea of how you way to display the info in there before entering the code. you can grab the variables we’ ll need to build the code. y ou can u se displ ay n ame too) $ cu rau th. STEP FOUR V ariables N ex t. > j ab b e r. > u se r_ re giste re d.here’ s the code: <? php $ curauth = ( isset( $ _ G ET [ ' author_ name' ] ) ) ? get_ user_ by( ' slug' . ? > STEP THREE R ough D raft T his isn’ t so technical. > u se r_ e mail .STEP TWO C urrent A uthor D etection N ex t we have to put some code in to detect the current author .> u se r_ de scription .

So N eil P atel gets replaced with < ? php echo $ curauth. Thi s i s just one e xam p l e of a v ari e ty of w ay s y o u coul d bu ild i t You’ re first going to put your author bio information this is j ust an ex ample. ? ></h2> <dl> <dt>Website</dt> <dd><a href="<? php echo $ curauth->user_ url.> u se r_ u rl . ? ></dd> </dl> T hen we’ re going to start the loop and get the posts in there here’ s what the code looks like and some ex planation: . If you’ re comfortable with H T M L .$ cu rau th.> u se r_ de scription . If what you want to display is: <h2>About: N eil Patel</h2> You j ust replace the actual name with the variable and the php wrapper.> nickname. $ cu rau th. STEP FIVE Putting I t Together N OTE : Your exa ct HTML and C SS styli ng w i ll p rob ab l y be a l i ttl e d iffe r e n t t h en t h is e x am ple . ? > like this: <h2>About: <? php echo $ curauth->nickname. ? ></h2> and the whole code sample is: <h2>About: <? php echo $ curauth->nickname. ? ></a></dd> <dt>Profile</dt> <dd><? php echo $ curauth->user_ description. adding the variables it easy. ? >"><? php echo $ curauth->user_ url.

? > <li> <a href="<? php the_ permalink( ) ? >" rel="bookmark" title="Permanent L ink: <? php the_ title( ) . ? >"><? php echo $ curauth->user_ url. T his improves the speed of your site significantly. especially for first time users. ? > in <? php the_ category( ' &' ) . ? ></a>. ? ></dd> </dl> <h2>Posts by <? php echo $ curauth->nickname. Correct setup is not always immediately obvious. R emember. $ author_ name) : get_ userdata( intval( $ author) ) . ? > <! -. ? ></a></dd> <dt>Profile</dt> <dd><? php echo $ curauth->user_ description. parts of it may need to change slightly to match your theme! <? php get_ header( ) . ? ></p> <? php endif.End L oop --> </ul> </div> <? php get_ sidebar( ) . ? > <? php get_ footer( ) . ? >"> <? php the_ title( ) . you write the H T M L but then place in the TH E COMPLETE CODE SAM PL E H ere’ s the compl e te author.' ) . <? php the_ time( ' d M Y ' ) . So we’ re going to walk through the best practice . ? >:</h2> <ul> <! -.? > </li> <? php endwhile. ? ></h2> <dl> <dt>Website</dt> <dd><a href="<? php echo $ curauth->user_ url.J ust like with the above section — W ordP ress variables. ? > <! --Author B io B ox --> <h2>About: <? php echo $ curauth->nickname.T he L oop --> <? php if ( have_ posts( ) ) : while ( have_ posts( ) ) : the_ post( ) . ? > NO 7 W USING WP-SUPER CACHE P Super Cache generates static H T M L pages to serve up instead of hefty P H P files. ? > <? php $ curauth = ( isset( $ _ G ET [ ' author_ name' ] ) ) ? get_ user_ by( ' slug' . else: ? > <p><? php _ e( ' N o posts by this author.php file.

this tab is “ easy” ! A ll you need to do is turn on caching. If you want the documentation for the plugin you can view the W ordP ress page for it here http://wordpre ss. Correct setup is not always immediately obvious. TA B TWO — ADV AN C ED: C HOOSE SETTINGS S elect the following options. O nce installed and activated there are a few tabs with important settings.su pe r. go to settings W P Super Cache TA B ON E — EAS Y J ust like it says.<? php get_ footer( ) . So we’ re going to walk through the best practice configuration for this great time saving plugin. .org/e x te n d/pl u gin s/wp. T his improves the speed of your site significantly. ? > NO 7 W USING WP-SUPER CACHE P Super Cache generates static H T M L pages to serve up instead of hefty P H P files. especially for first time users. we’ re going to walk through the steps.cache / T here are several similarly named plugins. make sure you choose the correct one. so when you choose it in the plugin installer. If you have trouble finding it.

wil l n e e d to ru n garb age col l e ction more ofte n . TA B TWO — AD VANC ED: SETU P G AR AG E C OLL EC T I O N Setting the garbage collection controls how often stale or old cached files are thrown out. don ’ t n e e d to ru n garb age col l e ction as ofte n .TA B TWO — ADV AN C ED: C HOOSE SETTINGS S elect the following options. S ite s that are n ot u pdate d ofte n . Simply put. . you may want to check to see that caching is working properly. S ite s that are u pdate d more ofte n . E XPL A N ATI ON OF S ETTING OPTIONS You have T W O choices for garbage collection. before continuing. You should also periodically visit your website during any plugin setup and configuration to be sure it hasn’ t broken anything. Cache hits to this website for q uick access Use P H P to serve cache files Compress pages so they’ re served more q uickly to visitors D on’ t cache pages for known users Cache rebuild M obile device support E x tra homepage checks C heck That C aching I s W orking A t this point. T o check caching [1] V isit a page on your site [2] V iew S ource [3] S croll all the way to the bottom [4] A nd look for the W P S uper C aching comments in your code.

If you typically post new content in the evening. SIT E S S ERVI N G A LO T OF FR ESH DATA If you’re serving a lot of fresh content. This is a starting point for very frequently updated sites — you should adjust these intervals specific to your situation. This way you’re always cleaning out stale cached files as new ones are created. enter ZERO for the timeout. a time of 10:00 might make sense . or hourly. . DI S A B L I N G GARBAG E C OL L EC TION If for whatever reason you want to disable garbage collection. And you can receive email notifications too. Let’s look at two different setting options. twice-daily. and set it to twice daily and at a time that makes sense for your site. The setting you see above are for a site that might get one update a day or just a few a week. The timer schedules it to run at regular intervals (in seconds). you’ll want to empty the trash often and have a short timeout. SIT E S THAT DO NOT UPDATE AS OFTEN These settings are for sites that might have only one piece of new content a day at the most. Use the clock in this instance. Set your timer to run every 90 seconds. So you may want to start with the following settings. Also for sites with no widgets or RSS feeds in the sidebars. Set your timeout to update every minute (60 seconds).it will empty garbage just after you’ve posted your new content at night.You have TWO choices for garbage collection. and do so once again at 10:00am to keep things clean. This is for sites that are not updated as often. Set your timeout to 10 days (864000 seconds). This is for sites that update most frequently The clock runs on a set schedule daily.

org/e x te n d/pl u gin s/b u ddy pre ss.av atars.http://simpl e .http://www.org/e x te n d/pl u gin s/se x y b ookmarks/ S hare b ar .http://wordpre ss.http://wordpre ss.pl u gin / F itV ids for W ordP re ss . D I S C L A I M E R : I know these to work at the time of publishing this guide.http://www.http://au tomattic.on e .org/e x te n d/pl u gin s/b roke n .de /re dir/site map.http://wordpre ss.http://wordpre ss.http://wordpre ss.http://www.http://wordpre ss.cate gory .re write ru l e s.org/e x te n d/pl u gin s/hy pe r.digg/ D igre ss.http://digre ss.http://wordpre ss.for.com/2 0 0 9 /1 0 /fe e d.http://www.http://wordpre ss.b u tton F V C ommu n ity N e ws .NO 8 ADDING YOUR SITE TO ENTITY BASED SOURCES A lthough not totally “ hands on” we’ re going to wrap up the W ordP ress section with the most comprehensive list of valuable plugins I know of.org/e x te n d/pl u gin s/fe e db u rn e r.cache .com/se o/dofol l ow.org/e x te n d/pl u gin s/re spon dj s/ R e spon siv e T we n ty T e n . T here are a lot of incomplete lists.org/e x te n d/pl u gin s/l iv e fy re .http://wordpre ss.html F ace b ook su b scrib e b u tton s .http://wordpre ss.se o.org/e x te n d/pl u gin s/mob ify / n re l ate R e l ate d C on te n t .l ocal .org/e x te n d/pl u gin s/digg.code .com/de v /co.code hool igan s.pl u gin s/ D B C ache R e l oade d .http://www.http://wordpre ss.org/e x te n d/pl u gin s/raw.for.re pl ace / S e x y B ookmarks .l in k.it/ D ispl ay W idge ts .com/? re tu rn = tru e A l l in on e S E O P ack .admin / L ist C ate gory P osts .che cke r/ B u ddy P re ss .https://de v .org/e x te n d/pl u gin s/sb .http://ge t1 0 u p.http://x y css.https://wpse cu rity .com/docs/re fe re n ce /pl u gin s/su b scrib e / F e e d C ou n t (c u stom) .http://wordpre ss.se cu rity .re l oade d/ D igg D igg .home / H e l l o B ar .http://wordpre ss.wordpre ss/ M ob ify .dire ction / A skA pache R e dire ct V ie we r .org/e x te n d/pl u gin s/fitv ids.http://akisme t.C hil d L ist .org/e x te n d/pl u gin s/hitcou n te r/ H y pe r C ache .an d.cou n t.org/e x te n d/pl u gin s/askapache s.org/e x te n d/pl u gin s/b u ddy pre ss/ B u ddy P re ss M ob il e .n e t/wordpre ss.http://wordpre ss.it .twe n ty te n / S e arch an d R e pl ace .par plugins.http://wordpre ss.smart.archiv e s/ C u stomiz ab l e P ost L istin gs .n e ws/ G oogl e X M L S ite maps .tool s/ C l e an O ption s .http://www.mob il e .pack/ A rt D ire ction .org/e x te n d/pl u gin s/n re l ate .sy ste m.org/e x te n d/pl u gin s/art.http://wordpre ss.http://wordpre ss.com/tool s/wordpre ss/ S impl e L ocal A v atars .http://wordpre ss.e x cl u de / .v e rhoe v e n .pre ss.com/proj e cts/wordpre ss/simpl y .n e t/archiv e s/2 0 0 5 /0 9 /2 7 /wordpre ss.cache / R A W H T M L S n ippe ts .fu tu re ofthe b ook.org/e x te n d/pl u gin s/gigy a.sn ippe ts/ R e spon d.com/ S impl y E x cl u de .in .trackb acks.org/e x te n d/pl u gin s/cdn .widge ts/ D ofol l ow T rackb acks .org/e x te n d/pl u gin s/l ist.pl u gin .coffe e 2 code .tu rkhitb ox .http://wordpre ss.comme n ts/ L ogin L ock .org/e x te n d/pl u gin s/db .http://wordpre ss.twitte r.com/docs/fol l ow.http://de v e l ope rs.pl u gin .org/e x te n d/pl u gin s/al l .http://priy adi.com/pl u gin s/simpl e .mittin e agu e .su b mitte d.arn e b rachhol d.org/e x te n d/pl u gin s/commu n ity .org/e x te n d/pl u gin s/displ ay .org/e x te n d/pl u gin s/share b ar/ S ib l in g.pl u gin .n e ws/ C ompact A rchiv e s .http://wordpre ss.wordpre ss/ S impl e :P re ss – F oru m P l u gin .http://wordpre ss.social iz e .v ie we r/ A u tomattic .l ist/ S impl e B asic C on tact F orm .j s for W P .com/pl u gin s/compact.man age me n t.http://wordpre ss.l ock/ M ake Y ou r S ite S ocial .com/wordpre ss.http://wordpre ss.commu n ity . that I personally know work.org/e x te n d/pl u gin s/con te n t.http://wordpre ss.http://wordpre ss.au toe scape / C omme n tpre ss .org/e x te n d/pl u gin s/re spon siv e .fran k.face b ook.chil d.dashb oard/ C ode A u to E scape .re l ate d.http://www.wordpre ss/ F ol l ow B u tton .l ogin .org/e x te n d/pl u gin s/parral l e l iz e / Q u ick C ache .com/wordpre ss.cache / J u iz S mart M ob il e A dmin .http://wordpre ss.posts/ L iv e fy re R e al time C omme n ts .org/e x te n d/pl u gin s/q u ick.http://wordpre ss.org/comme n tpre ss/ C ommu n ity S u b mitte d N e ws .html . No guarantees they will work by the time you read this :) A kisme t.http://rmarsh.pl u gin / F e e db u rn e r R e dire ct P l u gin .http://wordpre ss.http://wordpre ss.con te n t/ P aral l e l iz e .org/e x te n d/pl u gin s/se arch.fv .org/e x te n d/pl u gin s/he l l ob ar/ hitcou n te r .php C M S D ashb oard .http://digwp.pl u gin s/ B roke n L in k C he cke r . or lists that contain sub.mob il e / C D N tool s .http://wordpre ss.org/e x te n d/pl u gin s/j u iz .http://wordpre ss.com/wp.

http://wordpre ss.site optimization techniq ues.http://wordpre ss.http://wordpre ss.av atars.com/tool s/wordpre ss/ S impl e L ocal A v atars .http://wordpre ss.widge t/ S ocial M e trics .http://wordpre ss.an d.org/e x te n d/pl u gin s/wp.org/e x te n d/pl u gin s/wp.forms.fl u id.http://wordpre ss.comme n ts/ T D O M in i F orms .org/e x te n d/pl u gin s/sty l e .orb it.cl e an u p.C l e an u p .datab ase / W P .j ortk.image s/ W P H T T P C ompre ssion .http://wordpre ss.b l ocks.n e t/portfol io/programmin g/php/ W P B ook F ace b ook A pp .total .http://wordpre ss.page / W 3 T otal C ache .http://www.http://wordpre ss.http://wordpre ss.http://wordpre ss.compre ssion / W P M in ify .com/ T he me S witch .site SE O techniq ues.http://the de adon e .org/e x te n d/pl u gin s/wp.D B M an age r .http://wordpre ss.http://y arpp.org/e x te n d/pl u gin s/w3 .http://www.http://simpl e .cache / W 3 T otal C ache .n ku ttl e r.min i.code hool igan s.org/e x te n d/pl u gin s/y ou tu b e .org/e x te n d/pl u gin s/wp.org/e x te n d/pl u gin s/wpb ook/ W Y S I W Y G B l ocks of C on te n t .org/e x te n d/pl u gin s/wordpre ss.pre ss.wordpre ss.cl e an u p.archite ct/ W idge t L ogic .http://ge t1 0 u p.http://wordpre ss.http://wordpre ss.com/proj e cts/wordpre ss/simpl y .org/e x te n d/pl u gin s/wordpre ss.org/e x te n d/pl u gin s/wp.popu p/http://wordpre ss.n l /wp.pack/ W ordP re ss P opU p http://wordpre ss.de te ctor/ W P O rb it S l ide r .y ou r.org/e x te n d/pl u gin s/smart.org/e x te n d/pl u gin s/down l oad.org/e x te n d/pl u gin s/u l timate .com/ S impl y E x cl u de .http://wordpre ss.to.org/e x te n d/pl u gin s/wptou ch/ W P .db man age r/ W P fil e C ache .of.org/e x te n d/pl u gin s/wordpre ss.cache / W P F l u id I mage s .com/pl u gin s/simpl e .http://wordpre ss.http://wordpre ss.org/e x te n d/pl u gin s/wordpre ss.org/e x te n d/pl u gin s/wappl e .cache / W appl e A rchite ct .importe r/ U l timate C omin g S oon P age .db .org/e x te n d/pl u gin s/wp.org/e x te n d/pl u gin s/tu mb l r.http://simpl e re ach.e x cl u de / S ocial M e dia W idge t .me trics/ S ty l e M y G al l e ry .http://wordpre ss.http://wordpre ss.me dia.org/e x te n d/pl u gin s/wordpre ss.smu shit/ W P S u pe r C ache .http://tx fx .http://l e ste rchan .http://wordpre ss.S impl e B asic C on tact F orm .org/e x te n d/pl u gin s/wp.popu p/ W ordP re ss W iki .page n av i/ W P smu sh.sl ide r/ W P P age N av igation .gal l e ry / S u b scrib e T o C omme n ts . WELL DONE! YOU MADE IT THROUGH CHAPTER FOUR! ARE YOU READY FOR CHAPTER FIVE: ADVANCED DATA RESEARCH? CHAPTER THREE TAKE ME TO TAKE ME TO CHAPTER FIVE .http://wordpre ss.comin g.con te n t/ Y e t A n othe r R e l ate d P osts P l u gin .org/e x te n d/pl u gin s/wp.min ify / W P M ob il e D e te ctor .shortcode / N ow you should have a super powered W ordP ress site! T his concludes the last section of on.org/e x te n d/pl u gin s/wp.wordpre ss/ S impl e :P re ss – F oru m P l u gin .my .n e t/code /wordpre ss/su b scrib e .http://wordpre ss.de /n kthe me switch/ T u mb l r I mporte r .http://wordpre ss.org/e x te n d/pl u gin s/widge t.http://www.http.l ocal .it .mon itor/ W ordP re ss M ob il e P ack .b acku p/ W P D atab ase M an age r .org/e x te n d/pl u gin s/wp.wy siwy g.optimiz e .org/e x te n d/pl u gin s/w3 .http://wordpre ss.su pe r.mob il e .http://wordpre ss.soon .cache / W P T ou ch .au toshare post/ W P D atab ase B acku p .wordpre ss.http://x y css.pl u gin / T he S l ide .l ogic/ W ordpre ss D own l oad M on itor .wiki/ W P A u toshare P ost .n e t/down l oad/tdo.fil e .mob il e .org/e x te n d/pl u gin s/wp.http://wordpre ss.org/e x te n d/pl u gin s/social .org/e x te n d/pl u gin s/social . In the nex t section “ A dvanced D ata R esearch” we’ re going to begin our j ourney of off.http://wordpre ss.total .org/ Y ou T u b e S hortcode .http://wordpre ss.

I’ m going to walk you through a few ex ample uses of ImportX M L BASIC SYNTAX ImportX M L is j ust like any other E x cel or G oogle D oc formula . =importX ML ( UR L . B ut there’ s way more to SE O than speed. and you can also run some advanced searches to scrape information that would otherwise be hard to collect. W e’ re going to begin our off.it uses a pretty straightforward syntax . as it imports it right into a G oogle D ocs Spreadsheet. T his can be incredibly useful for scraping and sourcing information off of websites.site SE O ImportX M L ! ADVANCED DATA RESEARCH 05 NO 1 W INTRO TO IMPORT XML hat is ImportX M L ? Import X M L is a way to retrieve information from file types such as html. you should have a rock solid website. index ation and metadata. x ml. Q uery) UR L = the url you will be scraping Q uery = the x path q uery to run on the url BASIC EXAMPLE SCRAPING QUICKSPROUT FOR H1 TAGS Create a new G oogle D oc Spreadsheet .THE ADVANCED GUIDE TO BY NEIL PATEL AND SUJAN PATEL SEO techniq ues with some CHAPTER 05 A fter the first 5 sections. csv and more using x path.

T hen the x path defines what portion of the file should be returned. Cool! W e’ ve got the H 1 of the post pulled right into G oogle D ocs. T he q uery gets wrapped in q uotes. / / h1 tells it to return the contents of every h1 on the page ( this is what the “ //” part doe s asks for e v e ry occu rre n ce of the h1 “ path” n o matte r how man y l e v e l s de e p or how its n e ste d ) . where the UR L is. . H ere’ s what it returns. So let’ s get into some useful ex amples of importx ml for G oogle D ocs.Q uery = the x path q uery to run on the url BASIC EXAMPLE SCRAPING QUICKSPROUT FOR H1 TAGS Create a new G oogle D oc Spreadsheet Set up your UR L Create a basic x path function to grab the H 1 of the page. ( O b v iou sl y we cou l d do this v ia S cre amin g F rog or othe rwise crawl in g the site — b u t we ’ re j u st u sin g this as a simpl e e x ampl e ) A dd the importx ml function to cell B 2 N ote that we’ re referencing cell A 2 .

com/B l oggin g/fol l owe rs STEP TWO Enter The Q uora UR L W I n C olumn A e’ re going to be referencing this cell in the function that’ s going in Column B .NO 2 W IMPORTXML — QUORA/TWITTER e’ re going to use Q uora again to source users who may be influential or authoritative for their T witter UR L s.q u ora. H ere’ s the final product. . so you can see what we’ ll be building: STEP ONE Find a G roup or Topic L et’ s use the blogging topic in this ex ample http://www.

STEP THREE C reate the importx ml Function To S crape Usernames the function is: =importx ml( A2. In case you’ re not sure. =importx ml( ) A2 //h2 /a /@href this is the empty function this is the “ UR L ” field which references the Q uora UR L this references every h2 from that UR L this references a tags nested within the h2 ’ s finally. so you understand and can create your own. this returns a list of the top 2 0 users from the B logging T opic. so we need to convert them to absolutes. this references only the links contained in the anchor tags A s you can see. Q uora links with relative UR L s.com” .B 2) . the concatenate function is this. =C O N C AT EN AT E( “ http://q uora. STEP FOUR C reate Full UR L s A s you may have noticed. A simple concatenation function will do the trick. “ //h2/a/@href” ) L et’ s break that down.

=I mportX ML ( C 2.com” B 2 T he empty concatenate function ( comb in e s mu l tipl e strin gs of te x t in to on e ) T he beginning of the Q uora UR L ( an y thin g n ot re fe re n cin g an othe r ce l l n e e ds to b e in q u ote s ) R eferences the cell with the incomplete user UR L O nce you do that you need to grab and drag the formula down the rest of the columns. the concatenate function is this.' profile_ action_ links_ section' ) ] //a[ contains ( @href. =C O N C AT EN AT E( “ http://q uora.B 2) L et’ s break that down as well =C O N C AT EN AT E( ) “ http://q uora.com' ) ] /@href") =importx ml( ) C 2 //div T he empty importx ml function T he cell of the complete Q uora profile UR L we’ re referencing R eferencing any div tag in the H T M L Contains will allow us to narrow down the div tag H ere we’ re selecting class element [ contains( ) ] ( @class.com” ."//div[ contains( @class. let’ s get those T witter UR L s! H ere’ s the function. Its a long one so we’ ll break it out piece by piece.’ profile_ action _ links_ section’ ) A screenshot of Q uora’ s code shows it in the H T M L .' twitter. STEP FIVE S crape For Twitter UR L s N ow for the last step.In case you’ re not sure.

And now you can instantly get lists of 20 Twitter users at a time! This being a technical guide ( a “How-To” ) it’s of course your decision how you can use such a list.com’)] /@href Select anchor text which includes a link to Twitter Do the actual scrape of the link within the anchor text Don’t forget to grab and drag the formula down through the rest of the columns. but I’m sure you can think of many applications :-) .’twitter.//a[contains(@href.

[3] I n cell A 2..NO 3 [1] SCRAPING UBERSUGGEST FOR KEYWORD IDEAS C reate a new G oogle D oc spreadsheet Click Create > Spreadsheet [2] I n cell A 1.org/? q uery="&A1& "&format=html&language=English% 2F USA&source=web&submit=Sugg est". type in the following formula and press enter =I mportX ML ( "http://ubersuggest. "//li/span") T he spreadsheet will fill up with Ubersuggest’ s answers: .. we typed in “ how to .” to start the q uery. type in something that you want to q uery Ubersuggest for In this ex ample.

and you want to find other blogs to guest post on. Second. j ust as easy. O ne. the website owner is likely to be “ on top of things” from a marketing standpoint if they have taken the time to set this up.400 results (0. F or ex ample.N 4 O FINDING ANY HTML IN A LIST OF WEB PAGES http://panda. [1] C ome Up W ith A Few G oogle S earches <HTML> <HEAD> </HEAD> </BR> <BODY> <H1> [2] S crape The R esults [3] Use S creaming Frog To L ook for C ertain C ode in Your L ist STEP ONE G oogle S earches T he type of results you’ re trying to get.44 seconds) SEARCH . is a list of possible sites you could get a link from. B ut if you’ re on a budget or want to minimize your tools.com I’ m going to show you a really fast way to prospect 1 0 0 ( or more ) sites at one time. you should see a number of potential sites in the results — as well as not too many results. In this ex ample we’ re going to look for the presence of a ‘ rel=author’ tag — because this means two things. gou rme t food in u rl :b l og in titl e :su b mit post e cl e ctic de sse rts in u rl :b l og in titl e :su b mit post W hen you nail down a good search. You can do this with ex pensive link prospecting plans. that is not part of the content — its code. You might do a search like. W e’ re going to follow a few step process. L et’ s say you’ re a food blogger. this is a fantastic method. health food inurl:blog intitle:submit post About 4. food in u rl :b l og in titl e :su b mit post food in u rl :b l og in titl e :con trib u te post or you might get more specific with keywords. they ( or some on e he l pin g ) must have some amount of technical skill — so they may be an easier prospect to work with. A nd fun! T his works when you’ re looking for H T M L in a list of documents.

G o back to G oogle and run the results again. Copy the list of UR L s on to your clipboard P aste them into your tex t editor Save as a . S T E P T W O S crape the UR L s from the G oogle R esults W e need to get all of those G oogle results into a tex t document to prep for running through Screaming F rog.tx t file. set G oogle to return 10 0 G o to search settings Set to 1 0 0 results per page results per page.T he above is an ex cellent ex ample of a q uery to start with. . T hen use the SE R P redux bookmarklet — click the link. [1] To prep for scraping.

[2] S elect your tex t file and open [3] G o To C ustom S ettings [4] Enter HTM L to filter T he way we’ re doing this part is key. W e want four lists created. [ a] [ b] [ c] [ d] Contains rel= author D oesn’ t contain rel= author Contains rel= me D oesn’ t contain rel= me [5 ] V iew Your C ustom R esults Click the ‘ custom’ tab .and then you can select filters 1 .STEP THREE Filter the UR L s through S creaming Frog [1] S et S creaming Frog to list mode.and you can easily get many more by running through this process. this particular list only found one rel= author blog.4 In this case. B ut that’ s ok! T hat’ s actually good. . Imagine having to sift manually through all of those results to find the one with authorship? N ow you have one much more targeted prospect .

citation . B efore we start.NO 5 USE CITATION FINDER TO FIND LINK OPPORTUNITIES T his section covers using a tool that is paid. You can probably try some of the things in this section with the free version though. go to .fin de r/ R egister for your free or paid account.white spark. 01 SEARCH (WITHOUT A PROJECT) G o to the first tab and enter your info in the fields You have to wait a few minutes: .https://www. but it does not have all the features. I am not affiliated with the tool in any way.ca/l ocal . T here is a free version.

Click ‘compare citations for these businesses’ Then you should export as a csv You can open up and save as an Excel file — and we’re going to customize it a little so you can easily see WHO has the most citations.You have to wait a few minutes: You should receive an email alert though when your report is ready: Next. you’re going to see a report like this. .

although phone number works best) ."* Y * ") like this ( assuming you’ re in column B ) : A nd of course you can autofilter to see j ust the Y’ s or N ’ s 02 P art one is great for general prospecting. but what if your business isn’ t included in the report? T he you can use the “ search by phone number” feature. E nter your info.You can open up and save as an E x cel file — and we’ re going to customize it a little so you can easily see W H O has the most citations. W e’ re going to use a little ex cel formula =C O UN T I F ( A2:A111. and we’ re also going to add this to a proj ect: . You can use your phone number O R your business name ( title is a little deceptive.

.. Its j ust a raw list....... ..M ake sure you have a proj ect created T he report you see will tell you all citation sources not tied to any keyword... Ex port C S V ... ex cept adds in any N E W results that weren’ t there before.E x ports the data....run and append .. but without individual UR L s. Click on the little plus to see all pages with the citation ( u su al l y me an in g a phon e n u mb e r ) A nd you have a few more options when it comes to ex porting the data: R e......runs the same report again...includes the UR L s ( what y ou se e whe n cl ickin g the pl u s sign s ) in the full report... j ust the name of the website Ex port C S V w/ UR L s .....

or ( with the he l p of this gu ide ! ) you’ ll know how to get a list q uickly. navigate to the contact finder . T his tool is amazing if you have a list of prospective UR L s — you can then q uickly gather most of the email addresses needed for outreach.000 results (0. I’ m going to take a list of scraped G oogle UR L s — let’ s say I was a food blogger and wanted to submit recipes. I might use a search like: recipe inurl:submit recipe inurl:submit About 147.NO 6 HARVESTING EMAIL ADDRESSES F or this section of advanced scraping we’ re going to use the Citation L abs Contact F inder — http://citation l ab s.com/tool s/ — you should register to create an account before we begin. F or this ex ample. 01 GATHER URLS I’ m going to assume you’ ll either have a list of prospect already.24 seconds) SEARCH O nce you have your search.

.... Emails.. I also do not limit anchor text to number of words.....email addresses found Forms...Once you have your search.... ^(Contact|About|Email|Submit) will look for results that begin with the words contact.form submissions found Contact Pages......... email or submit......... This expression..no results of any kind You then have the option of downloading any report.. about........ or all... there are a few types of results.. into a CSV ......... navigate to the contact finder Then fill out the form You can experiment with regular expressions (regex ) to fine tune your results.. As you can see....pages with contact information but an email addresses was not findable Empty. Click on the contact tab to get your results ( you might have to wait a few minutes for processing )...

. into a CSV A s you can see in the above report...no results of any kind You then have the option of downloading any report.Empty. or all.............. out of 1 0 0 UR L s. it captured 3 8 e mail s 4 7 form U R L s 7 con tact page s on l y 8 e mpty ..

in te riorde coratin g in te rior de coratin g # in te riorde coratin g in te riorde sign in te rior de sign # in te riorde sign T hese are your core words. n e e d he l p trou b l e l ookin g for tips q u e stion A nd if you’ re looking to target anything location based.adv an ce d . the first step is to develop lists of advanced searches to follow. Q u icksprou t n e il pate l kissme trics kiss me trics craz y e gg craz y e gg I ' m kin d of a b ig de al T hese keywords and search combinations will give you any mention of these keywords by anyone .NO 7 SOCIAL LISTENING: ADVANCED LISTENING TO TWITTER B efore we set up your searches in some different tools. M ore on specific user monitoring below. L et’ s say your main topic is interior decorating — you’ d want to create a list of as many of those variations as possible — much of this won’ t look different than keyword research. You can create and test your own here https://twitte r. L os A n ge l e s C A C al iforn ia L A D on’ t forget some of your brand ( min e wou l d b e ) .com/# ! /se arch. T hen you can have a list of words to gauge intent. L ike.

A good search may have a few good results in the last 2 4 . NO TE : T he se work gre at for l e ss fre q u e n t re su l ts.4 8 hours. you can create and IF T T T recipe to watch for them. T he beauty of IF T T T is that you can receive your alert across a few dozen different platforms. W e’ re going to set it to send you an email or a tex t message when an alert is triggered. when you find your searches you want to monitor. Create an account ( it’ s fre e ) and make a new recipe Use T witter as the “ trigger” . CREA TE AN I F TTT REC IPE N ex t.

Select either email or Gmail as the “Action” channel.Fill out the search field — if it’s just a simple search you can use plain text. Fill out the fields and customize as needed . But you may need to use advanced operators.

If you want to receive a text message And set your fields And wait for the emails to come in! B ON U S : SE T UP EMA IL FIL TER S Take your listening to the next level with some Gmail filtering. if you use Twitter’s advanced search creator. it will come up with the search for you: Just go to: https://twitter.com/#!/search-advanced and run the search .the results will include the search syntax with operators etc in the results: TW I TTER F OR I N F LUENC ER L ISTENING . Create a filter to get all your alerts sent to a folder: A D V A N C E D TWI TTER SEAR C H SYNTAX Fortunately.

M aybe you’ re a computer guru. create an advanced search for when she mentions something you can help with.com http://followerwonk.TW I TTER F OR I N F LUENC ER L ISTENING L et’ s continue with the interior design niche. B ut if you’ re trying to connect with really high authority people.com T hen. L et’ s say you want to connect with more interior designers who are also bloggers. You could do a search like this: She may only tweet about that once a year. twitter gives you the syntax for the search when you run it via the T witter search page TRACK WI TH MON I TTER M onitter is a great free tool to listen for tweets that contain a certain keyword in large volume. You’ ll want to know when they need help with something.com and create an account Start creating some columns with your search terms H ere we’ ve added four streams for four different interior design type searches: . F irst — find people who you can listen to with a tool like followerwonk http://fol l owe rwon k. T hink of it as a live T witter monitor. it will be worth creating an IF T T T recipe to know when she needs help via tex t message. A gain. G o to http://mon itte r.

com/ ( paid tool) . you or anything else emailed to you ( like what IF T T T can do) http://www.com http://mon itte r.com/ get all mentions of your brand. you can do so right within M onitter M O R E T WI TTE R TOOL S T here are dozens of other tools to monitor T witter http://ifttt.com/ connect multiple online platforms together to automate things set up multiple columns and track twitter searches live http://twe e tme me .H ere we’ ve added four streams for four different interior design type searches: T hen. you can set advanced settings to track tweets online from a certain geographic location W hen you spot a tweet to respond to.nice visual setup http://twe e tb e e p.com/ to see what’ s trending in particular locations .u b e rv u .com/ view popular articles being shared http://tre n dsmap.

try running it on the sitemap of a competitor’ s website. .de v e l ope r/ R edirect Path C hecker https://chrome . and a little bit about how to use them in more advanced ways. F or this ex ample I’ m going to randomly use www.com/work/we b .googl e .b iz chair. BROKEN LINKS CHECKER N ot only is the broken links checker a great plugin to find broken links q uickly on your site.com/we b store /de tail /oj kcdipcgfae kb e ae l aapakgn j fl fgl f W eb D eveloper http://chrispe de rick.map.com/we b store /de tail /e akacpaij cpapn dcfffdgphdiccmpkn p C hrome S niffer https://chrome . I’ m going to show you some plugins for G oogle Chrome.com/site .com/we b store /de tail /iie e l dj dihkpoapgipfke oddj ckopgj g? hl = e n . F irst.com/we b store /de tail /b j pn gj gkahhfl e j n e e mihpb n fdoafoe h W ord C ount https://chrome .com/we b store /de tail /aomidfkchockcl dhb kggj okdkke b mdl l S EO moz Toolbar https://chrome .b iz chair.googl e . here’ s the list. T his section of browser plugins revolves around the ones that help optimize your sites accessibility and index ation. B roken L ink C hecker https://chrome .U S I’ m going to show you how to use some of these in an advanced way. but you can use it in creative ways on other people’ s sites to get ideas for linkbuilding and prospecting.com/we b store /de tail /j n kmfdil e e l hofj cij ame phohj e chhn a M icroformats for C hrome https://chrome .googl e .googl e .com/we b store /de tail /kmn dj oipob j fj b hocpoe e j j imchn b j j e S ource K it https://chrome .googl e . F or ex ample.com and their sitemap is http://www.googl e .com/we b store /de tail /homgcn aoacgigpkkl j j j e kpign b l ke ae G oogle A nalytics D ebugger https://chrome .html [2] R un the L ink Checker Click the icon for the ex tension W ait for it to find the broken links — in this case there are q uite a few.googl e .NO 8 BROWSER PLUGINS B rowser plugins can greatly speed up your work flow and efficiency. H ere’ s how: [1] F ind a competitor with an H T M L sitemap.googl e .googl e .com/we b store /de tail /oal b ifkn mcl b n mj l l j de mhj j l kmppj j l R ulers G uides and Eyedropper C olor Picker https://chrome .

you can see that my site is built on WordPress Here is a site built with Drupal REDIRECT PATH CHECKER This plugin will automatically alert you if you were taken to a page via any kind of redirect. Can be very useful when browsing your site. As you browse the web. CHROME SNIFFER This plugin automatically shows you the CMS or script library a website uses. A great one to immediately notice is the “resources” page. And then you can click on the icon and it will show you the redirect ( or series of redirects ) that the browser took to get to a page. I just found on my site this link to Gizmodo 302 redirects: How did I know? Because the plugin alerted me to the 302. . the icon to the far right of the URL will change to match which CMS or library is being used.Wait for it to find the broken links — in this case there are quite a few. For example. in the case that you are internally linking to outdated URLs (or externally for that matter) For example. for example. Its often easier to recreate resource content or otherwise use it to get some links. Extremely handy if you are looking to reach out to only WordPress site owners.

THE SEOMOZ TOOLBAR & PLUGIN You can do many things with the M oz plugin.A nd then you can click on the icon and it will show you the redirect ( or se rie s of re dire cts ) that the browser took to get to a page. A you might use it to look for are: Q uickly finding followed vs nofollowed links few of the more advanced things O r finding the country and IP address for the website .

. K eep following the steps. T hese change often. You will then be left with a clean list of working prox ies. and you’ ll have a clean list of dozens of prox ies to choose from. then “ T est” . So how to you use a prox y? I have a simple but little known method for you to find and check dozens of free prox y addresses all at once. so be sure to refresh your browser if you have had the window open for a while. STEP ONE G o to http : //www. and not yours. A nd this is perfect for rank checking if you use local software like R ank T racker. and I do not recommend doing so. A fter a few minutes. R un too many automated G oogle searches to check rankings from your location. com /p rox y/ You will see a list of free public prox y IP addresses. your prox ies will have been tested. N ote that some people use prox ies for less than ethical means. rosinstrum ent. C opy and paste prox ies into S crapebox to Test Them T his is the magic step! Since prox y addresses go bad so q uickly and often. H it “ M anage” . In other words. its a huge waste of time to try them each all individually. STEP TWO R eturn G ood Prox ies B ack To M ain L ist Select “ T ransfer G ood P rox ies to M ain L ist” under “ E x port” . You appear to be using the IP address of the prox y. and you run the risk of sending a red flag to G oogle. they make you an on y mou s on the web.NO 9 W A USING A PROXY hat is a prox y and why would you want to use one? prox y acts like the middle man between you and other servers. B ut it is a fantastic way to check your rankings without sending unusual activity to G oogle from your IP address.

M ost web hosting companies offer this.com/prox y / BONUS: WANT AN ALTERNATIVE TO A PROXY? T he above method is free. WELL DONE! YOU MADE IT THROUGH CHAPTER ONE! ARE YOU READY FOR CHAPTER SIX: KEY WORD RESEARCH? CHAPTER FOUR TAKE ME TO TAKE ME TO CHAPTER SIX . It may be a small monthly fee.rosin stru me n t.R eturn G ood Prox ies B ack To M ain L ist Select “ T ransfer G ood P rox ies to M ain L ist” under “ E x port” .traveled paths to keyword research. STEP FOUR C opy Prox y A ddress I nto Your R ank C hecking S oftware In R ank T racker. You will then be left with a clean list of working prox ies. you may want to retest your list and/ or cut and paste more from http://www. Its like having your own private dedicated IP address. which is the best part. but as something more robust than public prox ies. it may be worth it for you! I’ d be surprised if you’ re not an ex treme data collection ex pert now! B ut we’ re not done! O n to some less. but if you want something more robust? You can get a “ V irtual P rivate Server” ( V P S) . you can enter the prox y address like this: Since the addresses to go bad after a while.

although still in development. Sign in ( or cre ate an accou n t ) Start with the basic settings. If set to 3 0 days. B ing’ s keyword tool is a little different than G oogle’ s. KEYWORD RESEARCH 06 N 1 O BEYOND GOOGLE ADWORDS KEYWORD RESEARCH M any people get keyword data from A dW ords.THE ADVANCED GUIDE TO BY NEIL PATEL AND SUJAN PATEL SEO CHAPTER 06 You’ ve all used G oogle A dW ords keyword tool before right? W e’ re not going to cover that here though. it give you the e x act amou n t of se arch from those 3 0 day s. W e’ re going to walk through a few of them now! [1] B ing T he newer B ing keyword research tool. . B ut there’ s other sources of keywords and search volume. is a good place to check. W e’ re going to go beyond the common keyword research tools and ex plore some less talked about ways to find the best keywords to target for your site.

You can export the data Use the benefit of exact search numbers to judge long tail: You can bring in Google AdWords data for a comparison of search volume metrics: .

let’ s get a little more refined. R un the report in SE O B ook to ex port CSV ’ s Use the overall daily estimates for measure potential traffic across the entire web: .N ow. Set the language to E nglish ( assu min g that’ s y ou r targe t l an gu age ) — and ex pand the date range to 6 months. T his is going to give you a large data set to make good decisions: Set to “ strict mode” for basically B ing’ s version of “ ex act match” [2] W ordtracker and S EO B ook’ s K eyword R esearch Tools T hese versions are free. You can also register and pay for the pro versions.

.[3] W W ordpot ordpot is another source of keywords you may not have thought of. this is still a fantastic tool very generating more keyword ideas. related words and associated words [4] YouTube K eyword Tools O f course if you’ re doing optimization for YouT ube you’ ll be interested in the search volume — but if not. It also shows definitions. synonyms.

[1] S e arch for the te rm “ se arch marke tin g” in Y ou T u b e . click “ add all 1 0 0 ” and then click ex port to CSV file of your choice or the A lso — let’ s say you want to rank in youtube for “ search marketing” . [2] F in d the top ran kin g v ide o [3] E n te r that v ide o in the ke y word tool — ke y words for that v ide o this giv e y ou the top You can add these to the ex isting report or start over .G o to the bottom.

[1] S et it is 15 engines.com http://soov l e . D ata that people are actually typing — telling us what they are looking for.com/ge n e ral /ke y word. we’ re going to use it as a general suggest scraper.com/ http://tool s.ke y wordb u z z . F irst.n e t/ A ll are great ( the re ’ s a l ot ou t the re on u b e rsu gge st ) but I’ ll show you a few tricks with Soovle and K eywordB uzz SOOVLE T here’ s two ways we’ re going to use Soovle.in formation / http://www. M any SE O ’ s out there miss some of the most useful tools.se ob ook. T his can often bring immediate content ideas as well as keyword prospects.com/ http://www.NO 2 USE SEARCH SUGGEST SCRAPERS FOR FAST KEYWORD IDEAS they are T he web collects data every day. Search suggestions are a great place to look for words people are actually typing. W e want as many keywords as possible! [2] S tart typing the root keyword surrounding the topic you’ re researching .u b e rsu gge st. L et’ s walk through some now! F irst. a list of suggest scrapers http://www.z u u l a. T he important part in this process is collecting as many ideas as possible.

[3] Use Scraper for Chrome to Key Them in a Google Doc Who wants to cut and paste all of those words? We can get them in a Google Doc with a small tweaking to the Scraper xPath You’ll see the default results don’t include every keyword. . Eliminate the [4] Scrape again (or hit enter) Export the results to Google Docs.

[4] Filter and sort the raw data You’ll notice there’s a little extra stuff in there to clean up. There’s some data from others divs and duplicate keywords.

Delete the extra two rows at the bottom

Sort by keyword alphabetically

Now we need to filter duplicates! In cell B2 put this formula;
=if(A2=A3,true,false)

This will put true if the items are the same and false if they are different.

Then hover over the corner ( wait for the cross to appear ) and double click.

This marks every items as a duplicate or not. Before we do the next step, copy the true/false results and paste as values onto its self . This won’t visually change the true/false results but will remove the formulas and leave just the words.

N E X T sort descending by column B

This should put all the TRUE’s at the top. These are your duplicates. Delete all the “TRUE” rows.

You’re left with about 100 of unique and diverse keywords!

S OO VLE TO CATC H T R EN DS
N ex t, we’ ll use Soovle to capture trending keywords if you want to create q uickly and catch a trend. [1] C lick on the S tar T his will bring you to the trending words for the day.

[2] D o a control- f in your browser. S earch for words surrounding your niche

[3] Then — enter THA T word back into the suggest scraper.

K E YW O R D BUZZ
I j ust want to show you one thing with keywordbuzz.net — other scrapers to do this. First — I don’ t know of any

arrive at the search screen and enter your keyword.

Then — not only can you download as a tex t file. You can instantly check domain availability for .com .net and .org

NO 3

USE GOOGLE CORRELATE

G oogle correlate is another not often talked about tool for keyword research, especially seasonal trends. http://www.googl e .com/tre n ds/corre l ate /

H ere’ s an ex ample —

if you enter ‘ re d win e ’ this is the result:

01
tip

You can see it gives us keywords where search volume across time has a strong correlation. T his is a useful tool for ex ploring trends and coming up with some outside of the box keyword ideas — let’ s ex plore a few!

ADDITIONAL TOPIC IDEAS
You can see that a lot of people are searching for cheese related things around the same time they are searching for wine. T his is somewhat ex pected, but there are many targeted keyword ideas you may not have thought of. A nd you know these trend right along with red wine - so you could time your content to go with the seasonal trends a bit better too. You can show more words and also do a CSV ex port

L et’ s say you’ re a food blogger — and you like to do an article on red wine every once and awhile. W ouldn’ t you like to know some other topics you could attach to red wine? T he correlate result for red wine is:

A n initial correlation shows: T his shows similar search patterns for “ poison oak” and “ boat registration” . or interests that fluctuate in search patterns through the year. . with a parallel interest. You might be interested in people searching for “ outdoor party” . B ut let’ s get more targeted and get correlations for the location. You know this search pattern matches the seasonality and interests of your customers. let’ s say you’ re an eCommerce shop that sells grills etc.02 tip IDEAS BY LOCATION T he location feature in G oogle Correlate is great for targeting an audience in a particular location. F or ex ample. T his works great with seasonal items.

.A nd the results are: H ere you have people in the states of C onnecticut and S outh C arolina interested in an A ntigua all inclusive vacation. So what do you do? You do a v acation giv e away to the A n tigu as for your customers from those states at the time of year people begin having outdoor parties ( and buying grills) .

T his especially works if you have a larger site — ecommerce or a large editorial site. . searches users are making within your site. the site I’ m demonstrating this on. You will have a lot of data to work with and many opportunities to learn about how people are using your site and keyword ideas you’ d never think of otherwise. F or ex ample. G o to the A dmin area. I’ m assuming you already have a search function in your site. I’ ll show you how to set it up in analytics and use the data effectively. I’ m not j ust referring to keywords people use to arrive at your site. STEP ONE C heck How Your S ite D oes a S ite S earch You’ re going to need the UR L parameter your site uses to track site search. R ather. select to strip q uery parameters from the UR L . See the search parameter? /search. T he parameter is “ search” ( hint : if in php its afte r the q u e stion mark ) STEP TWO S et I t Up in A nalytics H ead over to your analytics profile.N 4 O TRACKING INTERNAL SITE SEARCH M any site owners often overlook the most obvious place to get keywords. Your own website.php? search=search+ex ample where “ search ex ample” is the keyword typed. Click on P rofile settings In profile settings. A lso. you’ re going to scroll down to “ Site Search Settings” T ype the q uery parameter we found in the first step in the field. looks like the following.

O R you can do sort of the opposite. its best to zoom out at least six months.V iew the site search keywords If you’ ve never done this before. ( Y ou may hav e to pl ay with the n u mb e rs spe cific to y ou r me trics ) . T his first filter says “ show me words that get searched more often but then most people immediately leave my site. A gain. . T hese are the words you want to build new content around. First . Say “ show me words that get searched a lot but where people stay on the site . W e’ re going to apply a few different filters to the data.STEP THREE How To Use The D ata I’ m going to show you how to best access this data for keyword research. W e’ re going to do this within analytics but you can also ex port the data for further use. the ex act number will depend on the behavior of people on your site. ( Y ou cou l d do this with adv an ce d se gme n ts too for a more “ pe rman e n t” fil te r ) . A nd may get something like this.

H ighl y se arche d words whe re pe opl e l e av e H ighl y se arche d words whe re pe opl e stay = cre ate the con te n t! = ke y word re se arch an d optimiz e arou n d those words. you’ ll have a list of keywords you can take immediate action on .STEP FOUR Take A ction E ither way. .

sh file. http://www. You can use the following UR L in your browser.sh . so there’ s more! STEP TWO C reate an .NO 5 SCRAPING SEARCH SUGGEST FROM THE COMMAND LINE Ex tract I nitial J S File STEP ONE G oogle runs a script when computing its search suggest words.sh File Simply copy and paste this code into your tex t editor # ! /bin/bash q =$ ( echo "$ 1" | sed ' s/ /% 20/g' ) curl -s "http://www. and in turn generate a J S file.googl e .google.com/s? su ge x p= pfwl & cp= 1 5 & q = < se arch te rm he re > R eplace < se arch te rm he re > with your keyword.com/s? sugex p=pfwl&cp=15 &q =$ q " | ' s/\ [ /\ n\ [ /g' | cut -d' "' -f2 | tail -n +4 sed Save it as an . You can simply name it suggest.googl e . P aste the following into your browser.com/s? su ge x p= pfwl & cp= 1 5 & q = marke tin g P aste in your browser It will automatically create and download a J S file O pen it and you’ ll see your raw suggest terms T hat’ s not very much practical use. L et’ s do marketing. http://www.

/suggest.STEP THREE R un The C ode I n Terminal ( M ac) R un the following command in terminal . marketing marketing marketing marketing marketing marketing marketing marketing marketing j obs in wa solutions plan solutions wa j obs strategies drive mix internships ( n ote that some re su l ts may b e l ocal iz e d ) .sh "marketing" W hich will produce the follow results. .

file. B ut there may be reason and benefit to having the control to run your own reports. found solution at http://stackoverflow.sh C ode Start by cutting and pasting this into your test editor. and you’ ve got the best keywords.* \ ) /\ L \ 1/' | sed ' s/\ W//g' >> tmp for word in $ ( cat tmp | sort | uniq ) .s/\ ( . semantically correct. ‘ keyword.".sh’ is the ..sh keyword. do count=$ ( grep -c "^ $ word\ $ " tmp) echo -e "$ count\ t$ word" >> tmp_ o done cat tmp_ o | sort -hr rm tmp tmp_ o # for web pages.report. elif [ [ "$ input" =~ "http://" ] ] . then cat "$ input" | sed ' s/ /\ n/g' >> tmp for word in $ ( cat "$ input" | sed ' s/ /\ n/g' | sort | uniq ) .com/q uestions/5 92620/check-if-a-program-ex istsfrom-a-bash-script type links >/dev/null 2>&1 | | { echo >&2 "T his script req uires ' links' but it' s not installed. Some are free.sh http://q uicksprout.file.report. such as keyword.sh’ is the name of your . } links -dump "$ input" | sed -e ' s/ /\ n/g. Aborting.report. WELL DONE! YOU MADE IT THROUGH CHAPTER SIX! ARE YOU READY FOR CHAPTER SEVEN: LINK BUILDING WITH CONTENT? CHAPTER FIVE TAKE ME TO CHAPTER SEVEN TAKE ME TO . ex it 1. I’ ll show you one way to do this! STEP ONE C reate your . do count=$ ( grep -c "^ $ word\ $ " tmp) echo -e "$ count\ t$ word" >> tmp_ o done cat tmp_ o | sort -hr rm tmp tmp_ o fi Save this as a file — anything will work.. crawlable..report. some are paid. A gain. BY URL bash keyword. if [ -e "$ input" ] . then # check if links is installed.NO 6 RUNNING YOUR OWN KEYWORD FREQUENCY ANALYSIS T here’ s many tools available out there to run a keyword freq uency analysis..sh STEP TWO R un the S cript O pen up T erminal in your M ac You can run the script in two ways — BY FILE either by file or by UR L .tx t ‘ keyword.com bash keyword.sh file and ‘ keyword.tx t’ is the name of your file with the content in it you’ re analyzing. T ime to target and create content that will attract links while you sleep.sh filename and then you j ust put the UR L ! E asy! I bet you have a killer list of keywords and data now! N ow your site is fast.report. # ! /bin/bash input=$ 1 I F S=$ ' \ n' # for keyword files.

me dia. Use Simply M easured to E x port and A nalyze T witter F ollowers . W ho you already know + social strength = content success.the .1 0 0 . Then.food. W hat are they doing right that others are not? If you have a good sized follower list.THE ADVANCED GUIDE TO BY NEIL PATEL AND SUJAN PATEL SEO CHAPTER 07 LINK BUILDING WITH CONTENT I bet you’ ve heard time and time again by now. NO 1 CREATE A “TOP” LIST AND GET LINKS A lthough this strategy isn’ t terribly new.2 0 1 2 .de l ish.links.b l ogs http://www. you’ ll filter further by choosing blogs by social strength ( n ot we b site stre n gth ) .b l ogs. E x amples across the web are: http://www.com/food/b e st.of.social me diae x amin e r. this techniq ue basically involves building a piece of content — that’ s a list of the “ top 1 0 . B ut not all top lists do. T his section spells out some step by step actions you can take to create your own amazing content — and also how to incorporate the right techniq ues into that content so it performs even better.social .” of something involving your niche. there’ s also not many resources detailing how to do this q uickly.b u sin e ss. top 2 0 etc.com/l ib rary /top.. shares and of course traffic. first you’ re going to find those that you know or are closely connected to with websites you could include on the list.cost. a step by step approach to creating a “ top” list to attract links.we b de sign school sgu ide .b l ogs. how important “ q uality content” is to attracting links.cu ttin g.html N otice all of those resources have a good amount of back.com/top.for.in spiration .1 0 . 07 F irst up.smal l . T o refresh.win n e rs/ http://www.

Set your filter: T he results are pretty good! T hen we’ re j ust going to pull those into either a G oogle D oc or another spreadsheet to mix with other bloggers.social .me dia.2 0 [2] Enter the Twitter username you want to analyz e [3] R un the report.this is where the fun begins! First . L et’ s say you’ re doing a top 1 0 food bloggers list. . we’ re going to filter your list of followers by the topic you want to create the list about. Note: you do not have to “ pay with a tweet” the same account you are analyz ing. we’ re going to grab some more prominent bloggers from F ollowerwonk.followers. A t this point you can sort by followers and add a “ follows me” column since we’ re going to be mix ing in non. Use Simply M easured to E x port and A nalyze T witter F ollowers [1] G o to: http://simpl y me asu re d.com/fre e .tool s# re port.W ho you already know + social strength = content success. [4] W hen your results are ready. download the spreadsheet for ex cel . and “ pay with a tweet” ( to run it for free) . N ex t.

Some of them will already be following you . NO 2 . we’ re going to grab some more prominent bloggers from F ollowerwonk. 0 0 0 .Send them a q uick tweet or email to let them approve the list before it publishes. T hey’ ll be the easiest to get attention from and still carry good social weight.D on’ t j ust do this once! You’ ll get more attention by doing these list annually. T hen. Q uotes means they will have had to call themselves a blogger on that topic. TIPS C reate a S eries . T his will help drive shares and links so the higher level influencers see it. q uarterly or even monthly! L et bloggers know ahead of time .2 0 . N ot j ust someone who blogs and happens to like food. “ B logger” instead of “ blog” means you’ ll likely get more people ( rather than companies) . 0 0 0 followers.they’ ll be so complimented they’ ll definitely share the content and link to it. F or ex ample: You may need to broaden your search.N ex t. If they know about it ahead of time they’ ll be more likely to share when it does go live. Use _ _ _ _ _ _ blogger in q uotes. using either the scrape for Chrome plugin or a pro followerwonk account — ex tract the data and add it to your spreadsheet look for people with about 1 0 .2 0 people to feature in a “ T op F ood B loggers” list. but definitely start with it more specific like that. N ow with your mix . you can choose a list of 1 0 .

If you’ re using A dobe R eader to create your P D F — go to P D F O ptimizer A dvanced right. an d P D F s wil l ofte n ge t grou pe d b y au thor this is ofte n u se d b y G oogl e as the de scription in the S E R P s. Use a keyword rich ( an u se fu l for the u se r ) filename. N ot all users have the most updated version. the filename of your P D F matters. O ptimiz e Your M eta D ata A lso like a normal webpage. Separate words with hyphens ( .NO 2 BUILD LINKS WITH PDFS T his tutorial assumes you know the basics of creating a P D F — so I’ ll show you a huge checklist of things you should do — but the specific process and order can be up to you! W rite valuable. use “ O ptimize for fast webview” to have your P D F load one page at a time.com/produ cts/acrob at.html or this free P D F editor for W in dows http://www.1 0 ke y words he re .de /b e cy pdfme tae dit/de scription _ e n g. O ptimiz e The R eading O rder T he re adin g orde r se ttin gs with A dob e R e ade r P D F . metadata is an important optimization step.size. T o display and edit the reading order: [1] G o to A dvanced > A ccessibility > A dd Tags to D ocument. A lso. and you’ ll risk some people not being able to open it.b e cy home . well structured copy and use a keyword strategy! Using images: create an A lt T ag Use keywords in the filename J ust like a properly optimized UR L . K eywords Use links in your document J ust like regular SE O . S elect The B est V ersion Use version 1 . You’ ll either need the full version of A dobe R eader http://www. u se 5 .5 or lower. [2] Then select A dvanced > A ccessibility > Touch Up R eading O rder .use some internal links within your P D F .) .adob e . T his may al so b e in fl u e n ce d b y the first fe w se n te n ce s in y ou r docu me n t.htm O ptimiz e the following areas: T itle A uthor S ubject this tu rn s in to the titl e tag of the we b page . this wil l l ab e l the docu me n t with the au thor. W atch The File S iz e P agespeed is more important everyday.

e b ooks.howto.com/ http://www.cfm .com/b ids/b ookproce ss.ge tfre e e b ooks.com E b ookD ire ctory .e n gin e .u k/ http://www.googl e .com/ http://www.com If your P D F is an eB ook try these sites: http://www.com/ http://www.chan ge this.com/ http://www.com/ http://www.n e t S hare ware E b ooks.com C al ame o.share ware e b ooks.com E b ook8 8 .q u icksprou t.com G e tF re e E b ooks.fre e .com/ http://e .e b ook8 8 .com E .com/ http://www.n e t/ http://e b ookdire ctory . T his P D F I did on my site Q uickSprout is a good ex ample of a short UR L : http://www.b ooksdire ctory .com/ http://b ooks.com/ http://dire ctory .e b ookj u n gl e .n e t/ http://www.com E b ookJ u n gl e .co.b ooksD ire ctory .fe e db ooks.com F re e .l ib rary .the fre e site .E b ooks.com/ http://www. be sure your P D F is totally uniq ue content! A dd Your PD F to PD F D irectories H ere’ s a list.Upload the PD F near the root directory of your site K eywords towards the front of your UR L s will perform the best in search and be easiest for users to remember. D ocS toc.pdf.ide amarke te rs.com/ http://www.com/ http://www.com/b u sin e ssmistake s.e b ooke e .com http://www.se arch.me moware .pdf L ink to the PD F from a strong page on your website T his is not only useful for users but will pass stronger authority to your P D F . A void duplicate content L ike any page.com M e moW are .e .

[1] C ollect your photos and format them [2] Find people who could use your photos [3] Narrow to those worth reaching out to [4] C reate your outreach letter and contact them STEP ONE C ollect and format your photos great q uality photo begins with Use the best q uality settings on your camera. You already have a library of photos of NYC offer people who might find them useful ( and give you a link! ) . but reach out to people who might want your images. to q uickly upload them all to your computer.ru l e s. on your iP hone use the H D R settings. L et’ s say. you either have access to photos of N ew York City. T his is going to follow a few steps.to.you upload photos from your iP hone to your computer simply by “ bumping” the spacebar with your phone. I talked about building links with images a little on my post on SE O moz: T he post talked about building an image library online and making it easy for people to find and use your images. A the best raw q u al ity possible.l in ks but we’ re going to go into more depth here.gol de n . giving you credit with a link. B ut why wait for them to come to you? H ere we’ re going to do the same. you can use a service like B ump — https://b u . categorize them — I suggest something simple like. . F or ex ample.org/b l og/the . / people / architecture the Nex t — if photos of a city.mp/ . N o matter how you upload them.1 0 . Stay O rganized! A s you upload and store photos.au thori ty .attractin g. or you live in N ew York and freq uently take good q uality photos on your phone. T his will ensure you have the highest q uality photo going into your iP hone.se omoz .NO 3 LINK BUILDING WITH IMAGES http://www. use the highest file size and pix el size possible — iP hone calls this “ actual size” . for ex ample.

N for multi author C ontact ...written H T M L ..... we want to narrow it down more with the following criteria. UR L ...com DA 67 G+ FB SHARES CIRCLES 545 3.. bloggers businesses located in N YC enterprise businesses needing any city photos B ut within that.. email address . / people / architecture / streets / attractions / events / nature A nd n ame y ou r photo fil e s something relevant .......j pg” >F ree image</a> courtesy of N eil Patel and <a href=” http://q uicksprout...state.com SINGLE AUTHOR Y CONTACT name@domain. W ho do you know who owns or runs a website who wouldn’ t die for some q uality photos? So — start a spreadsheet following this format.... site you’ re prospecting S ingle A uthor ..j pg NEXT: PREP THE FILE AND LINK T hen you want to provide these photos with an easy way for people to link back to you — so use some pre.. <img src=” empire-state-building-dusk.com” >Q uicksprout</a> T his is a really easy way for them to give you credit......q uicksprout...like empire.. STEP TWO Find People W ho Need Your Photos L ots of people and sites might fit your profile.. Y for single author..200 RSS READERS 300 LINK PROFILE 4 ( e x ampl e spre adshe e t) with the fields meaning the following..j pg” alt=” photo by N eil Patel of the empire state building” title=” gorgeous dusk view of the empire state building” > <br> <a href=” http://photos.dusk.building. URL domain.I suggest something simple like....com/architecture/empire-state-building -dusk....... and a link.. all at once.. Single author sites Sites where contact person is readily findable Sites with high P R or D A Sites with strong social metrics Sites with good author authority H igh number of R SS readers P ositive link profiles themselves ( y ou don ’ t wan t to ge t a l in k from b ad n e ighb orhoods ) A lso — you can start with people you already know..

3 is very good...... This is often bloggers who are more focused on the writing — like NOT photographers......google. let’s get to actually finding people to reach out to! Some tools to use.. how many RSS readers the site has (if there’s a feed) Link profile .........com http://www.. URL .....com/ http://klout...... 4 is exceptional As we use the following resources. and click scrape similar . You want to find bloggers who don’t have good photos..... 2 is good.. So.com/blogsearch http://topsy.....com/webstore/detail/ mbigbapnjcgaffohmbkdlecaccepngjd Right click on the info you want..com/ http://zerply..socialmention....... you can use the Scraper for Google Chrome plugin to get them into a Google Doc — https://chrome.. SEOmoz domain authority FB Shares ....... N for multi author Contact . email address DA ..com/ Let’s run through an example of using followerwonk... you’re going to fill your spreadsheet with sites and metrics... A search like “blogger writer” is great because they blog.... Once you get the search you like...(example spreadsheet) with the fields meaning the following....... and therefore be weak on photos..com/ http://twtrland......... number of facebook shares on the homepage G+ circles .com http://amplicate.com/ http://www......... graphic designers or people otherwise likely to have the photos covered.......... artists.. but may focus on writing.............. 1 is poor....google. site you’re prospecting Single Author .. number of circles the person or business is in RSS readers .. https://followerwonk... Y for single author.

Sort through your metrics to find the best bloggers to reach out to! Use best practice outreach practices to make your contacts and help them use better photos.A window will pop up and you can then send the data over to a new Google Doc Using techniques like the above you can gather some pretty good lists fairly quickly. .

NO 4 CREATE A 3D JAVASCRIPT PAGE OR MICROSITE WITH HTML5 AND CSS3 I haven’ t seen many people doing this. W ith some open source code from github you can make a 3 D presentation or landing page.built demo slideshow included. the content is fully crawlable and index able. H ere’ s where you’ ll find the code. do not edit anything above the part shown. all you need to edit is the index . NOTE: when editing code. It has a pre. or delete and create your own from scratch.j s STEP ONE D ownload the C ode I nstall on your S erver STEP TWO T o install.j s/# /b ore d E verything should be inside an “ impress” < div> . or live server. simply paste the files in whatever directory you want them either on your local.githu b . B ecause it’ s built with H T M L 5 and CSS3 . STEP THREE C reate Your S lideshow T o do this.http://b artaz ..com/impre ss.html file included in the install. which you may borrow code from. https://githu b . test.com/b artaz /impre ss. You can see the demo live here .

You can see the demo live here .</q> </div> .com/impress. Let’s look at all the possible id’s classes and parameters for the slideshow.js/#/bored Everything should be inside an “impress” <div> I will show you some ways to use the functions so you can come up with your own slideshow. ie data-rotate=”80” will rotate it 80 degrees clockwise adjusts the 3rd dimension.http://bartaz. depth wrap contents in this element to display it smaller at the bottom rotates around the x axis rotates around the y axis NO W F O R S OME EXAM PL ES! Example 1 — Simple Text <div id="bored" class="step" data-x="-1000" data-y="-1500"> <q>Suppose you want to <b>spice up</b> your online presentation or microsite. it will say /slide-1 (for the first slide. or leave empty) class=”step slide” class=”step” data-x data-y data-scale data-rotate data-z footnote data-rotate-x data-rotate-y SINGLE AUTHOR the name of the “page” or slide as it appears in the URL. FIELD id . If left blank. and so on.(can use anything you want.github.) the slide “slides” into view the slide “turns” into view horizontal position on the canvas from the center of the element vertical position on the canvas from the center of the element scaling an element ie: data-scale=”5” is 5 times larger than other elements will rotate the item.

.and even include images <br> <br><img src="neil.Example 2 — Include an Image <div class="step slide" data-x="1000" data-y="-1500"> <q>You can create a <strong>stunning visualization </strong> <br>.js<sup>*</sup></h1> <span class="footnote"><sup>*</sup> no rhyme intended</span> </div> Example 4 — Rotation <div id="its" class="step" data-x="850" data-y="3000" data-rotate="90" data-scale="5"> <p>This is an example <strong>of rotation </strong> <br/> caught mid turn <br/> by the screen capture software!!<br/> <i>(very slick)</i></p> </div> Had to capture it mid turn to give you the idea: .jpg"></q> </div> Example 3 — Scaled Slide Step <div id="title" class="step" data-x="0" data-y="0" data-scale="5"> <span class="try">then you should try</span> <h1>impress..

right? </span> </div> You can copy the ex act ex amples above. A pply them to your site and content for some massive improvements to your performance in search. WELL DONE! YOU MADE IT THROUGH CHAPTER SEVEN! ARE YOU READY FOR CHAPTER EIGHT: LINK BUILDING TECHNIQUES? TAKE ME TO CHAPTER SIX CHAPTER EIGHT TAKE ME TO . T his section took the idea of creating link worthy content head on. Ex ample 6 — 3D Tilting <div id="its-in-3d" class="step" data-x ="6200" data-y="4300" data-z ="-100" data-rotate-x ="-40" data-rotate-y="10" data-scale="2"> <p><span class="have">have</span> <span class="you">you</span> <span class="noticed">noticed</span> <span class="its">it' s</span> <span class="in">in</span> <b>3D <sup>* </sup></b>? </p> <span class="footnote">* awesome. and replace with your own content. or try some layouts of your own. B ut what about some good ‘ ol link building tips and tricks? D on’ t worry! T he nex t section is filled with fifteen special link building techniq ues.Ex ample 5 — Third D imension: D epth <div id="tiny" class="step" data-x ="2825 " data-y="2325 " data-z ="-3000" data-rotate="300" data-scale="1"> <p>use <b>some fun</b> 3D elements</p> </div> T his element looks like it’ s being zoomed in from far away ( notice the big “ g” it sits inside of) .

P lease note.b l ogspot.com http://l il l ie amman n .com/ http://b arry wise .com http://b u mpz e e .com/ http://more e arn in gs.com http://b l og. I can not guarantee these sites will still all work.com/ http://my l in kv au l t. T hey did at the time of creating this guide.com http://cl ipcl ip.THE ADVANCED GUIDE TO BY NEIL PATEL AND SUJAN PATEL SEO CHAPTER 08 T he first section here may be a simple list of places to submit your site ( to ge t fol l owe d l in ks ) . http://9 ru l e s.com http://my b l ogl og.com/ http://cu rre n t.fib e rdre ams.org.com/ http://O ddB l ogge r.b l ogspot.com http://digg.com/ http://l in ke din .n e t/ http://miste r.com http://l in gu isticsz on e .z a http://B l oge n gage .com/ http://mix x .ru ski.com/ http://kthre ad.com http://prope l l e r. and other lesser known sites where you can easily get a followed link.com http://b ib son omy . I definitely encourage you to follow them or come up with ideas of your own! LINK BUILDING TECHNIQUES 08 NO 1 SUBMIT TO SITES WITH FOLLOWED LINKS T his section is a list of some well know. but things do change q uickly.com http://b l oggin gz oom.com/ .won g.com/ http://n owpu b l ic.com/ http://coran k.com/ http://b l og.com http://b u z z marke tin gwithb l ogs.au http://me me stre ams.com/ http://b l u e hatse o.com http://l in kagogo.com http://phpcafe .com http://poston fire .n e t http://de ardrmoz .com/ http://kikol an i.com/ http://b l ogoria.co.n e t http://pol y ge e k.com/ http://associate dcon te n t.com/ http://l in ks. B ut don’ t be fooled! T his section is packed with step by step instructions to capitalize on 1 5 link building techniq ues.com/ http://b u sin e ssfin an ce mag.com/ http://pq in te rn e t.com http://b l u e v e rse .com/ http://cu rry b e t.com/b l ogge r http://b l ogge ru n iv e rsity .com http://kirtsy .

n e t http://wal l pape rstop.com http://we b l ogtool scol l e ction .com .com http://poston fire .su fe hmi.com/ http://e x tre me j ohn .com/ http://googl e .com/ http://pq in te rn e t.com/ http://cu rry b e t.u k http://grav ity cu b e .n e t http://re al e state te stb l og.com http://I n cS u b .org http://harry .co.te mpl ate s.com http://wordpre ssmax .http://coran k.com http://te chn orati.com http://u n common photographe rs.com http://se ol u tion s.com http://howtowake u pe arl y .dk http://phpcafe .u k http://graphicde sign b l og.com http://wassu pb l og.com http://growsmartmain e .com/ http://radpix e l s.org http://I n dian o.n e t http://social me diapowe r.com http://fl ickr.n e t http://j u staddwate r.n e t http://de ardrmoz .co.n e t http://grokdotcom.n e t http://e dopte r.com/ http://cu rre n t.n e t http://pol y ge e k.com http://se ob y the se a.com http://prope l l e r.com http://ran domhacks.adse n se .com/ http://the j u n gl e marke te r.com http://digg.com/ http://dotcommogu l .

com trics.com t.site :craz :craz :craz :craz y e gg. B ON U S : MONI TOR WITH R SS AND/OR IFTTT B y default G oogle alerts will send you an email when it discovers new content to go along with that search.site .com . yet no link is given.site .site . Some ex ample q ueries might be: . B ut even if you’ re not as well known.com t.com t. B ut you may want to get notified sooner. you can still receive some benefit from capturing links when your brand is mentioned.site .site . L et’ s say I want to monitor G oogle’ s index for mentions of any of my brand or name. create your alert as an R SS F eed: V iew the alert and click the G oogle R eader link to open it in G oogle R eader F rom G oogle R eader — go to ‘ view details’ Copy the feed address T hen head over to ifttt.site .site :q :q :q :q u icksprou u icksprou u icksprou u icksprou t.site :kissme :kissme :kissme :kissme trics.site . Use G oogle A lerts w/ R S S W and I fttt e’ re going to set up some custom G oogle alerts to get notified as soon as mention ( withou t a l in k ) happens.com " n e il pate l " q u icksprou t craz y e gg kissme trics T hen set up your alerts with these settings A s you get emailed your results.com trics.site .com trics.com .com y e gg.com and start creating a . O R you may want to catalog the results in a more permanent manner. you can check to be sure they received a link. You can receive a tex t message when a mention happens F irst.site .NO 2 CAPTURING LINKS FROM BRAND MENTIONS T his may certainly apply more to a larger brand or influential person.com y e gg.com y e gg. You could run a whole list of results through Screaming F rog to check them in bulk.

Use T he R SS R eader as the trigger Select SM S as the action and you’ ll receive a tex t when a new mention of your brand happens! You can also bookmark all mentions to D elicious when you receive a mention online.T hen head over to ifttt. Set your trigger as the R SS F eed and set up delicious as the action: .com and start creating a new recipe. You may want a catalog of them. or you may want to simply go in and review them a week or two at a time.

... W e’ ll be mainly in this bottom right hand section of Scrapebox .. W e’ re going to walk through a smart way to speed up your blog commenting using scrapebox in a way that it totally white hat — j ust more efficient. In this method we’ re going to be using Scrapebox ’ s “ Comment P oster” in “ manual poster” mode. . a spu n comme n t B log L ists ...... .....a l ist of e mail addre sse s to go with the n ame s C omment .... Name ..... B ut it can be used for white hat link building j ust as well... the S crape b ox l ist of harv e ste d b l ogs y ou ’ re goin g to comme n t on You’ re going to...... which are... ..a l ist of we b site s ( l in ke d from the n ame ) Emails . H ere’ s what they look like selected. STEP ONE O pen Tex t Files T ex t files are referenced with Scrapebox to populate the commenting fields.NO 3 USING SCRAPEBOX FOR FAST WHITE HAT BLOG COMMENTING Scrapebox is normally thought of as a black hat tool..... a l ist of possib l e n ame s to comme n t with W ebsites . Click O pen Select a tex t file ( e ithe r pre made or y ou make ) for each field.

. and you can edit them right within ScrapeB ox .You can click the ‘ E ’ which will open an edit window.

[1] R elevance D moz has multiple editors across all the different categories . [2] PageR ank M ost people don’ t do this.thus you can choose two different categories that make sense for your site/ business and attempt submission to these few categories. Use this UR L structure too see all categories for travel: http://www.dmoz . . so we’ ll look for under 1 0 0 . T hese two look promising. B ut one thing you may not have heard. Choosing W here T o G et Your L ink T here are two important factors when choosing your categories. while others may be more active.org/se arch? q = trav e l & start= 0 & ty pe = more & al l = n o& cat= T he results should look like this: L ook for a relevant category with a lower number of links. J ust because its D moz.NO 4 GETTING A LINK FROM DMOZ D M oz. T ravel seems to have many that are over 1 0 0 . O ne editor may be slow to respond. this doesn’ t mean every page has an eq ually high value. as you may well know. Check the pagerank level of the page and divide by number of links on that page. you’ ll want a page with the highest pagerank and lowest number of outgoing links. E x ample: L et’ s say you’ re looking for a good “ T ravel” category. has a lot of value because of its high pagerank and its long history on the web. is D moz gets scraped by many other sites — so getting that link can also get your link scraped and used elsewhere around the internet. Ideally.

here’s the suggested process for submitting.opensiteexplorer. which is decent for the ODP.org [3] Click the ‘Top Pages’ tab [4] Export the report into a .Both pages have a PR of 4. [1] Go to www. . Choose the best category page and make your submission [a] From the category page where you want the link click ‘submit a URL’ [b] Follow the directions and guidelines very specifically.org and run a report of the internal pages.dmoz. If you want to access value very quickly for pages on the ODP — you can use opensiteexplorer. SUBMITTING [1] Once your top two categories are chosen.csv for quick analysis of the top pages. With only 55 links the “Specialty Travel: Family” category would work very nicely.org [2] Enter http://www.

Don’t give up! You can get a link with some persistence and patience. If you haven’t received the link. Sometimes the best way to get your link is patience and consistent submission. keep repeating this process every 2-3 months. you may want to try a third category.[2] [3] [4] Wait 2 months. If this still does not work after 8-12 months. submit to your second choice category. alternating categories you submit to. If no one responds. [5] .

500. and G oogle does not weigh them as heavily — there is still some value you can get. Use the following type of q uery. A lthough you may want to try some accounts with keywords as the anchor tex t. T he benefit of D isq us. [1] First — register a D isq us account for the category of comments you will be acq uiring. “powered by disqus” travel photography About 83. and referral traffic as well. you shouldn’ t go too overboard with this. and your comments will almost always show instantly.000 results (0. T he username will be the anchor tex t for your link. is how easy it is. [2] S econd — search for blogs with D isq us in your category.10 seconds) SEARCH .NO 5 COMMENT LINKS WITH DISQUIS A lthough blog commenting tends to have lower value because links are nofollowed. B e sure to have some sort of SE R P analysis tool in use — the M oz SE R P analysis or SE O Q uake. T his is an easy method to find sites with D isq us commenting system.

500.000 results (0. create multiple alerts for the most immediate opportunity as it happens.[3] C hoose results with highest PageR ank or D A " powered by disq us" travel photography / PA “powered by disqus” travel photography About 83.10 seconds) SEARCH [4] Post your comment! M any of these sources will have 0 comments. “powered by disqus” travel photography About 83. A lso. and with yours being the first. it may get more referral traffic. B ON U S : RECENT LI NKS [1] Narrow Your G oogle S earch N arrow your search for the past week to get results where an immediate comment is more likely to be relevant and come at the highest trafficked time of the post. you may want to play with these settings. .500.10 seconds) SEARCH [2] C reate a G oogle A lert D epending on how active your search or categories are.000 results (0.

L et’ s say you’ re building links for a site in the travel industry.u k/googl e . [1] A dj ust your search settings to 10 0 T hen run the search again to show 1 0 0 results.b ookmarkl e t/ T ex t E ditor such as T ex tW rangler Screaming F rog or X enu L ink Slueth T he W ayback M achine — www. STEP THREE Ex tract UR L s W hen you’ ve got your q uery.inurl:pdf . site:.inurl:pdf .inurl:doc . specifically hotels.edu intitle:" site:.5 0 0 0 results.inurl:ppt hotel management" . You want to build links from . G oogle Q uery B ookmarklet — http://www.gov’ s.on l in e sal e s.inurl:doc . R un the B ookmarklet and cut and paste the “ plain listings” Save as a .NO 6 STEP ONE BROKEN LINK BUILDING G et Your Elements R eady F or this style of link building you’ re going to need the following elements.inurl:ppt L ook for q ueries that have 2 0 0 .org W ebsite to Create Content O n If you have access to all of the above we’ re all set to get started! STEP TWO D etermine G oogle Q ueries You may need to test a few different q ueries before you hit upon that goldmine. not too large yet not too small. then you need to ex tract the UR L s into your tex t editor.gov intitle:" hotel industry" . You might try some q ueries like.gov intitle:" site:.re su l ts.inurl:ppt hotel industry" .edu intitle:" site:.inurl:doc .archiv e . T his means you’ ve got a targeted set up results.inurl:doc .inurl:pdf .inurl:pdf .inurl:ppt hotel management" .co.edu’ s or .tx t file .

STEP FOUR R un UR L s Through S creaming Frog ( or X enu L ink S leuth ) N ow comes the magic. H ere’ s how! Set Screaming F rog to L ist M ode Select your tex t file we j ust create ( t he l ist of U R L s ) V ery I mportant S tep — G et Your Settings R ight You should have Screaming F rog set to check ex ternal links and search depth of 1 . C lick start — its going to take a while to run and crawl all the ex ternal pages! . R un 1 0 0 UR L s at a time through Screaming F rog to check them all for broken links.

and see if its a piece of content you already have or can recreate.org to see what the broken page used to look like. visit www. you can see the pages linking to broken ( 4 0 4 ) content. R ecreate the Content and O utreach! ! .STEP FIVE Ex amine The UR L s W ith B roken L inks For R elevance V iew T he E x ternal L inks F ound E x port T he R esults T o a CSV — you can ex port the UR L s to save all for later and keep a record of which ones you’ ve taken action on. W hen you find a page relevant to your site.archive. STEP SIX D etermine G oogle Q ueries D irectly within Screaming F rog.

STEP ONE S witch To HTM L M ode W e’ ll be entering some H T M L so you’ ll want to work in the H T M L editor. STEP THREE R eturn G ood Prox ies B ack To M ain L ist T he < tex tarea> wrapper is what displays the box in H T M L where the code will sit. D isplay I mage on Page STEP TWO B efore we even create the embed box .brainer cut and paste H T M L ? H ere’ s how! L et’ s use this infographic from K ISSM etrics “ H ow D o Colors A ffect P urchases? ” http://b l og.NO 7 ADDING EASY TO COPY AND PASTE EMBED CODE M any of you I’ m sure have used Infographics in your content and link building strategies. along with any other content.psy chol ogy / L et’ s go through the steps to embedded easy to cut and paste H T M L directly on the page.kissme trics. .com/col or. H ave you make sure to include easy no. we need to be sure the image is displayed on the page.

kissmetrics. STEP FOUR Place The C ontents W ithin < tex tarea> You’ ll see there are two parts to this. it visually renders the image.H ere’ s the code. You’ re putting your own link and anchor tex t in the code.link value from the infographic.kissmetrics. B ut the important part is getting the link and anchor tex t you want! [2] Here’ s where you can get massive back.png"> <img src="http://blog. [1] I mage reference and link to the image — this places the actual image on the page when your reader pastes the code on their page. <tex tarea rows="5 " </tex tarea> cols="7 0" onC lick=select( ) > “ R ows” and “ cols” controls the height and width. onClick= select( ) is a great little piece of J avaScript that automatically selects the content within the box . <tex tarea rows="5 " cols="7 0" onC lick=select( ) > <p> <a href="http://blog.com/wp-content/uploads/2010/08/c olor-purchases-sm.kissmetrics.com/">K I SSmetrics</a> </p> </tex tarea> D on’ t forget to change the links and image sources when using this code! .com/wp-content/uploads/2010/08/co lor-purchases-sm.kissmetrics.png" alt"how do colors affect purchases? " /> </a> </p> <p> <a href="http://blog. H ere’ s the code from above.com/color-psychology/">C olor Psychology I nfographic</a> by <a href="http://www. I n other words.

kissmetrics. it visually renders the image.kissmetrics.com/color-psychology/">C olor Psychology I nfographic</a> by <a href="http://www. onClick= select( ) is a great little piece of J avaScript that automatically selects the content within the box . <tex tarea rows="5 " </tex tarea> cols="7 0" onC lick=select( ) > “ R ows” and “ cols” controls the height and width.com/wp-content/uploads/2010/08/c olor-purchases-sm.link value from the infographic.png"> <img src="http://blog.kissmetrics. <tex tarea rows="5 " cols="7 0" onC lick=select( ) > <p> <a href="http://blog. [1] I mage reference and link to the image — this places the actual image on the page when your reader pastes the code on their page.com/">K I SSmetrics</a> </p> </tex tarea> D on’ t forget to change the links and image sources when using this code! .com/wp-content/uploads/2010/08/co lor-purchases-sm.H ere’ s the code. H ere’ s the code from above. You’ re putting your own link and anchor tex t in the code. STEP FOUR Place The C ontents W ithin < tex tarea> You’ ll see there are two parts to this.png" alt"how do colors affect purchases? " /> </a> </p> <p> <a href="http://blog. I n other words. B ut the important part is getting the link and anchor tex t you want! [2] Here’ s where you can get massive back.kissmetrics.

Preview The Page STEP FIVE R emember to check and be sure everything is working! If you see all of the appropriate code in the tex t area box then you’ re all set! .

twe l l ow.com www.com www. such as T witter lists will end up putting these two links in the listing. A dd a UR L and twitter handle to your bio.re twe e tran k. A ll it takes is a simple yet overlooked modification of your T witter profile. Create or claim your profile and you can further optimize them for links! .kl ou t.com www.twitpe rts.com www.grade r.com www.com www.com www.crowdre e l .NO 8 LINK BUILDING WITH YOUR TWITTER PROFILE T his method works great.com www.fav star.twtb iz card. and is easy to do. www.com twe e t. W hen you do this.com www. like this.sn pros.com www. A n ex ample of some sites include.twitahol ic.com www.tagwal k.fav oriou s. G o to T witter and edit your profile. other sites that source T witter for data.twitte rcou n te r.twe e tl e v e l .com www.com www. but may depend on your aesthetic preferences.com G o to each individual T witter site.l istoriou s. You’ re automatically building links to your T witter profile and website.

com [2] Fill out the form to sign up for free [3] You will see some J avaS cript — Click customize we’ ll want to customiz e this first [4] C lick “ customiz e address tracking bar” [5 ] Enable address bar tracking and save [6 ] Then you’ ll want to customiz e attribution . [1] G o to www.tynt.NO 9 COPY AND PASTING LINK BUILDING WITH TYNT T ynt is a little used tool which gives you links a traffic as people copy and paste content from your website onto places around the web.

You can also choose whether the title.php ( as shown ). [8] Then save. For WordPress users.[7] You’ll add a few custom settings in here to spice it up. and you will return to the main screen. [9] Copy the JavaScript code to your clipboard [10] Paste the code just before your closing </head> tag . . [11] Then test your code installation with the code provided at the bottom. Add your Twitter and/or facebook profile. this is going to be under Appearance->Editor->Header. URL or both for the link anchor text.

M any a productivity product might make you think of machines — type “ machine” into the thesaurus: appliance device engine tool automation N ow we have some words! L et’ s put them to use. I’ ve indicated some interesting ones to get some great ideas. You can’ t have this unless you have a uniq ue brand name and domain name. or www.3 0 words you like.b u stan ame .b agste r.com that will allow you to mix words and check for availability all at once.com . A re you bagster the rubbish collection company. G o to the thesaurus and type “ productive” and “ productivity” .the motorcycle company? H ere’ s a few tools and techniq ues to coming up with an amazing domain name. a n ou n . we get ( the b e st on e s ) : prolific inventive creative useful fruitful effective efficiency work rate output yield helpful T hen think of a word that describes your company with an image. . You will see some basic settings to choose from. STEP ONE C ollect S ome W ords W e j ust want a raw list of about 2 0 .NO 10 FINDING AN INCREDIBLY LINK WORTHY DOMAIN W hat’ s a great domain name in 2 0 1 2 ? It should probably have these characteristics: relatively short easy to say easy to spell ( if ex plained j ust once) uniq ue available for a low cost descriptive and vivid A nd in 2 0 1 2 this is very important for back links. B ut now. back links needed to be more rich in keyword anchor tex t. S T E P T W O Use B ustaname to check for domains T here’ s a great tools called www. F rom that. B efore penguin. you want anchor lots of brand based anchor tex t. L et’ s say you’ re a software company selling productivity software.

there’ s also a tool called “ D omain M aker” . I find it easier to sort by “ readability” T hen you can add ones you like into the third list on the right for purchase or to save for later. R ollover the list of more word ideas to add. STEP THREE Use the D omain M aker O n the same website. Some basic settings for this as well: .T hen you’ re going to take your list of words from step one and paste them in: A nd you can see the results show up in lists and available domains.

Use these settings to do so: STEP FOUR C ross C heck S ocial w/ K nowem J ust looking at random yieldy. .com to find out.kn owe m.but is it unclaimed in social? Use www. G ood thing we checked! You’ ll want to keep digging until you find a name also available on social networks.com was a decent domain name . R emember we talked about keep your name uniq ue? You might want to find a domain name where the .com .biz are all available.D efinitely ex periment with the settings and words to get some great domain name ideas.net and even . K nowem also checks domain names and trademarks — you can see this one was trademarked but has ex pired so it can be claimed.org . T hat way you can purchase all of them to protect the brand.

NO 11 RECOVERING LOST LINKS T his is similar to monitoring for brand mentions but with a twist. .com . F or this method alerts will work. Instead of “ N eil P atel” we’ re going to listen for “ q uicksprout. [1] R un an A dvanced S earch intex t:q uicksprout. Copy and paste results into your tex t editor O pen Screaming F rog. T hese mentions could have happened in the past and you may not know about them.com” — and this works even better if you have a really uniq ue domain that may only get typed if it was intended to receive a link. T ry filtering for “ past year” and “ order by date” . once the results start looking good on screen. you may want to narrow your search some more.com -site:quicksprout.com T hen. W ith this you’ re monitoring for an actual mention of the UR L itself. but we’ ll also want to search retroactively. You’ ll have the most success with the most recent mentions. In the case of a larger site. W e’ re going to run some crawls in list mode on these UR L s T hen set up some custom filters — a few to trap n o l in ks and the others to trap l in ks .com works as a starting point. ex port the UR L s using the SE R P s redux bookmarklet mentioned throughout this guide. intext:quicksprout.site:q uicksprout.

R un the spider — and lets check out some of the results: You may get a few duds. but this one looks promising already Sure enough financialpost.com without making it a link! .com mentioned q uicksprout.

W e’ re going to focus on white hat. you need to identify referral visits to that page which have a high conversion rate. L astly. you need to be running a website with traceable conversions.com/b ran d.se arche n gin e j ou rn al . THE CONCEPT F irst. F or ex ample.if applied right. T hen. you’ re going to build that referring page up in rankings.n ame . P erhaps you’ re selling an ebook or other a W ordP ress theme.tags/1 0 2 6 9 / .NO 12 SECOND LEVEL LINK BUILDING You’ re pretty familiar with the idea of building links to your site at this point? I would hope so! T here’ s a certain benefit to building links to other sites as well .com/? u tm_ sou rce = side b ar& u tm_ me diu m= michae l arrin gton & u tm_ campaign = ads N otice the trackin g U R L s that al so he l p te l l me e x actl y whe re the sou rce of traffic is from. HOW TO DO IT STEP ONE I dentify The Page O n Your S ite T his should be pretty easy for most of you. you can single out an ex act page that drives these conversions. F or ex ample. on Q uickSprout. E ither way. It can be done in white hat ways and not so white hat ways. by building second level links to it. STEP TWO I dentify High C onverting R eferrals Use your analytics software to segment your traffic and identify ex ternal pages that send higher than normal converting traffic to your landing page. or perhaps you have goals like email sign ups.titl e .se o. let’ s say this article on Search E ngine J ournal sends high converting referral traffic: http://www. this is one of them http://n e il pate l .

000 results (0. It’ s about brand names in titles tags — good benchmark: brand name in title tag About 29. using all the superstar link building methods at your disposal. T hen. go out and build your links j ust like you normally would! . the SE J page ranks # 3 for this term currently.n ame .titl e . and improvement to the 2 nd or 1 st spot would certainly drive more traffic to is.http://www.com/b ran d.31 seconds) thus the phrase [ brand name in title tag] is a SEARCH A s you can see.se arche n gin e j ou rn al .se o. thus more traffic to my landing page.100.tags/1 0 2 6 9 / STEP THREE How D oes The R eferring Page R ank? T he goal of linking to this second level page is to get it to rank higher and thus drive more referral traffic back to your site.

we’ ve used this techniq ue before. intitle:fashion About 87.12 seconds) SEARCH F ew important things about this search. W e’ re going to use this list. we’ re using the SE R P scraper to get the results into a tex t file. You’ re going to use G oogle to source your initial list of prospects.900.NO 13 SECOND LEVEL LINK PROSPECTING Suppose you run a fashion website — maybe you’ d want a link from elle. [1] Fine tune some G oogle S earches A gain. pull the top ten results into a tex t file.com? T his may come in due time.com or vogue.000 results (0. B ut how can you still take advantage of their linking authority sooner? G et links from sites they link down to . for importing into Screaming F rog. [2] Using the S ER Ps redux bookmarklet.to get only the B E ST results. . H ere’ s a really fast way to find your prospects.com or vogue. Suppose you have a fashion blog — you would want to get a link that’ s passed from elle. to get our final list. In this case though. this list is going to be the high authority sites we might get a link from in the future.com right? D o a search like this. u se b l og se arch se t to v ie w home page s u se the in titl e : ope rator T hese are all to provide some finer filtering . A gain.

There’s no need for images. the higher authority the site is likely receiving.[3] Crawl the 10 URLs with Screaming Frog The settings on this step are the most important part! You need Screaming Frog to crawl external sites one level away from the core list. Then export! . set search depth to 1 check external links crawl external nofollowed links Then you’re going to end up with a list like this. set to view HTML. make sure you’re viewing external links :) and sort by inlinks. JS etc to be in there. Notice some important tweaks to the list. Why? The more incoming links.

Prepare and D ownload C S V G o to www.ope n site e x pl ore r. INBOUND LINKS Change the Inbound L ink settings to the following.NO 14 W PERFORM A BACK LINK AUDIT 01 [1] W I T L A hether you’ ve done active link building on your site. it’ s ex tremely important to know how to read your own backlink portfolio. O S E Ex plorer . M ost of the features shown in this tutorial are available as a paid SE O moz member. with a variety of methods and tools.rich source of link info on the web. but we have to tweak it a bit.org and log in. e’ re going to run four reports and ex port them. R eports Start by entering your site and hit search.org is know to be the most comprehensive and data.com as the ex ample. O n l y e x te rn al P age s on this root domain .ope n site e x pl ore r. I’ m going to teach you some advanced ways of doing so. but you can still access many of them with a free membership. T he “ inbound link” report is the default report. or whether new or old. COLLECTING YOUR LINK DATA OPEN SITE EXPLORER (OSE) SE O moz’ s O pen Site E x plorer — www. n b ou n d L in ks op P age s in kin g D omain s n chor T e x t I’ ll be demonstrating this link audit using q uicksprout. W e’ re going to break it down and take it step by step.

You may have to wait a few minutes if OSE is busy. . TOP PAGES Next we’re going to download the top pages report. [2] OSE Explorer — Prepare and Download CSV Reports If you’ve been using Chrome as your browser of choice. ANCHOR TEXT Next and lastly we’re going to run the anchor text report for the site. there’s an easy trick to get to all four downloads at once. there is no configuration. Download your CSV. just click the top pages tab and download the CSV. LINKING DOMAINS For the linking domains report. Hit filter and export to CSV. we just want to filter for “Pages on this root domain” to get all linking domain information for the entire site. This one’s pretty simple.Hit filter and download the CSV file. Leave anchor text set to phrases Show links for all pages on this root domain Hit filter and export your reports.

You can of course come up with your own settings for display. but these are just some that I like.You see them all at the bottom of the browser. Drag the tab of each CSV sheet over to the new Excel document. and to the right you see where it says “show all”? Click “show all” and you can then open all four. [4] OSE — Create Headers and Freeze Frames I like to make a few final preps to the excel file to make it easier come time for analyzing. [3] OSE — Merge Four CSVs into one Excel spreadsheet. When they’re all brought over. Get all four CSVs opened up with Microsoft Excel. it should look something like this. So you will be dragging four tabs over to the new excel sheet. “Freeze Panes” Select cell A2 . Create a new spreadsheet. Bold the top row.

D o B E F those steps for the other three sheets: ol d H e ade r dit H e adin gs re e z e P an e s You should now have an ex cel document with four sheets of O SE data ready to ex plore! MAJESTIC SEO A lthough not as data. M aj estic SE O ’ s index is very fresh. L et’ s check it out free a free account ( y ou mu st cre ate an accou n t an d l ogin . E nter your site: T he first thing to be sure of is if you want to look at “ historic” index or “ fresh” index : L et’ s look at historic data first: If you own the site you can create a fre e report ( othe rwise y ou hav e to pay ) .rich as O pen Site E x plorer. which can be very useful for certain types of analysis. b u t y ou don ’ t n e e d to pay ) .G o to W indow F reeze P anes N ow the top row ( ou r he ade r ) will stay put when we scroll. and you can see historic data as well.

go to the “top pages” report: Scroll to the bottom and look for “download csv”: OSE + MAJESTIC MASHUP Lastly. Create one again for OSE if you don’t have a recent one: Export to csv and open in excel and we’re going to combine the two csv’s into one sheet: When doing the vlookup the two comparison columns have to be exactly the . For example. wouldn’t it be great to get Majestic and OSE data side by side? Create your file. We’re going to have two excel sheets in there: You should already have the top pages report from Majestic.Although the paid version gets you more data — there’s still a lot you can gather with the free version.

.. You may notice M aj estic ex ports without slashes at the end of the UR L and O SE has slashes... the A2:I 26............. N ex t: in order to drag this formula down through the rest of the table..2) .W hen doing the vlookup the two comparison columns have to be ex actly the same..ose! A2:I 26. the ose! .2) If you’ re not so familiar with vlookups: A2. the 2. the ce l l we ’ re goin g to match with the array s n ame of the othe r spre adshe e t we ’ re pu l l in g data from ran ge of the tab l e array we ’ re se archin g for a match se con d col u mn afte r the first col u mn to pu l l data from an d b rin g ov e r to the first she e t...ose! $ A2:$ I $ 26. R emove these with a regular ex pression find and replace in your tex t editor: $ is the grep command for “ end of the line” in T ex tW rangler Copy back to ex cel: W e’ re going to use a vlookup: =V L O O K UP( A2... you need to add the absolute sign ( dollar sign) before each column letter and cell number Your vlookup is now going to look like this: =V L O O K UP( A2.....

com Create a username and password.linkdetective. such as blogroll. The tool basically attempts to categorize all of your links into buckets. There are always some unknowns. . etc. Go to www.www. blog comments. footer. It gives you a very useful visualization of your OSE inbound link data.change the last number (increase by one) to grab the next column over from your source sheet) .linkdetective.is a new free tool. but for the most part it will gove you a really great idea of the types of links you (or a competitor) is getting.Drag it down all the rows: Rinse and repeat for each column going across to the right . Fill these all the way across and you’ll have a great mashup of Majestic and OSE data to analyze! ANALYZE LINK DATA WITH LINK DETECTIVE + OSE Link Detective .com .

com Create a username and password. etc. You’re going to name the project. such as blogroll.linkdetective.Drag it down all the rows: Rinse and repeat for each column going across to the right .com .www.change the last number (increase by one) to grab the next column over from your source sheet) . you’re going to . but for the most part it will gove you a really great idea of the types of links you (or a competitor) is getting.is a new free tool. Go to www.linkdetective. blog comments. Fill these all the way across and you’ll have a great mashup of Majestic and OSE data to analyze! ANALYZE LINK DATA WITH LINK DETECTIVE + OSE Link Detective . There are always some unknowns. The tool basically attempts to categorize all of your links into buckets. It gives you a very useful visualization of your OSE inbound link data. Then. footer.

link type and anchor tex t.6 0 minutes. You will see a confirmation message. This has to be the C S V from the “ inbound links” tab. T here are two basic types of reports you will see .You’ re going to name the proj ect. W hen the report is finished. T hen. F ollow the link in the email to view your report. LINK TYPE REPORT . you’ re going to upload your O SE CSV file. you will receive an email. which usually take about 1 0 .

THE TOOLS G mail C an n e d R e spon se s R apportiv e B oome ran g T ou t B u z z S tre am T han kT han kN ote s S e n d an d A rchiv e F ol l owU pT he n USING GMAIL CANNED RESPONSES F irst. make sure Canned R esponses is enabled in G mail T hen. F ortunately there are some tools to assist in this process. to start setting them up. so that your communication can be personable. you’ ll need to automate! You could more accurately call this “ semi. T hen. W e’ re going to take a look at what they are and some tricks for how to use them better.NO 15 SCALABLE OUTREACH T he key to effective large scale outreach is automation. start a new draft. You may be able to handle small scale outreach with more manual methods. Clear it of any signatures — it needs to be completely blank. but to scale it up and really get the most out of your efforts. P ut a draft of a common outreach type email in there.automation” because you still want to maintain some control over your outreach. save it as a canned response .

W e’ ve got one more section to go. when you’ re ready to use it in an outreach email — start a new draft USE FOLLOWUPTHEN http://fol l owu pthe n . and this is “ search verticals” . T his tool is perfect to use if. image. can you email me back in a month? ” — this is the reminder to use. although we’ ll j ust cover the free version here. or local? T his section is for you! WELL DONE! YOU MADE IT THROUGH CHAPTER EIGHT! ARE YOU READY FOR CHAPTER NINE: SEARCH VERTICALS? CHAPTER SEVEN TAKE ME TO TAKE ME TO CHAPTER NINE . D ealing with video.com/ is a newer tool. 3 days@ — this means the reminder will get sent back in 3 days. W ow! You’ ve made it so far and by now you must be flooded with traffic. Follow up with an outreach lead in 1 month If you’ ve contacted a prospect and they say something like “ now isn' t a good time for that link/ article/ story. B cc: this mean only you will receive the reminder 1 month@ — this will send the follow up back to you in one month. b u t ge t it ou t of y ou r in b ox fol l ow u p with an ou tre ach l e ad in a mon th se n d an au tomatic re min de r to b oth y ou rse l f an d the re cipie n t if n o re pl y W ith the paid pro version you can even receive reminders via tex t message and calendars.N ex t. the re ’ s an e mail y ou wan t to re spon d to in a fe w we e ks. Its like B oomerang but with a lot more features. S end an automatic reminder to the recipient CC: E ntering the special address in the cc: field means b oth you and the recipient will get the reminder.

SEARCH VERTICALS 09 NOTE: his method can be used for WordPress or any other PHP based CMS. T hese areas are not as often talked about in SE O . T here are two steps. [1] D etecting the User. slideshows. W e’ re going to walk through a method using dynamic CSS that eliminates any duplicate content issues and provides a better mobile ex perience. mobile.THE ADVANCED GUIDE TO SEO CHAPTER 09 If you operate in a search vertical. duplicate pages.A gent File [2] S erving the C orrect C S S . such as an ‘ m’ subdomain. youtube and more. Yet there remains the issue of duplicate content when using. NO 1 MOBILE FRIENDLY SITES — CSS M any options are available for displaying a uniq ue layout for mobile users. you’ re in a uniq ue place to capitalize on some great traffic. W e’ re going to cover local. but you can capture some high converting targeted traffic in these areas. essentially.

color: # 000. body { background: # fff. [c] Put it together . padding: 3px .link| mmp| symbian| smartphone| midp| wap| pho . O ption 1 Create an entirely new CSS file.if it detects a mobile browser it will serve the mobile CSS file ( which we ’ l l cre ate in the n e x t ste p ) . strtolower( $ _ SER V ER [ ' H T T P_ USER _ AG EN T ' ] ) ) ) { O MO B I L E C SS F I L E* * ". } ? >" /> Copy and paste the above code into your header. You’ ll have to start from scratch identifying all the class and id elements.STEP ONE C reate C ode To D etect The User A gent [a] You’ re going to start out with this line of code. T his P H P code is a basic if/ then . margin: 0. O N O N MO B I L E C SS F I L E* * ". S ome B asic R esets html. T his is where we’ re going to add a bit of P H P .and you get. such as.link| mmp| symbian| smartphone| midp| wap| pho ne| android) /i' .browser| up. if not ( “ e l se ” ) it will serve the normal CSS file. [b] Here’ s the PHP.Copy your ex isting CSS file and alter it to make it work for a mobile ex perience. <link rel="stylesheet" type="tex t/css" media="all" href="<? php if( preg_ match( ' /( up. O ption 2 ( B est O ption) . which is why I don’ t recommend this approach. T his often means a few fundamental things. <? php if( preg_ match( ne| android) /i' echo "* * L I N K T } else { echo "* * L I N K T } ? > ' /( up. } else { echo "* * L I N K T O N O N MO B I L E C SS F I L E* * ". T his will depend on how complex your site is and how savvy you are with CSS. <link rel="stylesheet" type="tex t/css" media="all" href="" /> N ote that the ‘ href’ portion is empty.browser| up. B e sure to replace “ L IN K STEP TWO T O … F IL E ” with your actual absolute file path File C reate a Uniq ue M obile C S S You have two main options for this. which normally appears in the header.php file ( or simil ar l ocation de pe n din g on C M S ) . } . strtolower( $ _ SER V ER [ ' H T T P_ USER _ AG EN T ' ] ) ) ) { echo "* * L I N K T O MO B I L E C SS F I L E* * ".

NO 2

OPTIMIZING ONLINE SLIDESHOWS

Slides are still an underutilized vertical of content on the net. T ons of people are optimizing for videos, images, news and blog comments. B ut the fact is, slideshare pages are ranking well in some competitive markets. J ust check out R and’ s slideshow showing up 7 th on the search “ marketing for startups” .

T here’ s several things you can do to rank well for slideshows — generate visits to your slideshow content, and possibly some referral traffic to your site. [1] Pick Your Target K eyword( s) In this case, R and chose; [ marketing for startups] [ inbound marketing for startups] [2] O ptimiz e Your Title, UR L W & O n- Page Elements

hen you first upload your slides, the title field becomes the < title> tag and the UR L . B e sure to get your target keywords in there.

R and’ s title is uniq ue but still has the keywords “ inbound marketing for startups”

You can see it ends up in the title and UR L - and the length is ideal.

You can see it ends up in the title and UR L - and the length is ideal.

[3] M

ake Your S lide L inks C lickable Include links in the bottom of your slides. T hey supposedly do not carry any SE O value, but can drive huge referral traffic.

[4] Embed the S lideshow O n Your W

ebsite

H ere you can see that R and has also embedded the slideshow into SE O moz’ s blog.

[5 ] G et Your Presentation O n The Homepage Slideshare will put your presentation on their homepage if it gets a good amount of shares and views in the first day. You’ ll get lots more views and referral traffic from this. D o not upload your slides until you are ready to share them Immediately when you post your slides - share them across your social channels and ask others to share them as well. Use bitly.com to make an easily shareable link. [6 ] O ptimiz e Your Profile Your slideshare profile allows you to add a link. T his is not a followed link, but if anything, still provides referral traffic value.

[B onus] Try These O ther Presentation S ites! T here’ s lots more sites besides slideshare. Such as;
www.sl ide b oom.com www.au thorstre am.com www.sl ide rocke t.com www.pre z i.com www.scrib d.com www.my pl ick.com

T hey are not as used but sometimes this will allow you to stand out more.

NO 3

DRIVE TRAFFIC TO YOUR SITE WITH YOUTUBE
Please use your own measure of risk

WARNING: Some of the tips in this section stretch a little beyond “white-hat”. tolerance and judgment. I am simply telling you some technical facts and while I don’t always advocate their use, it’s important for you to know the options.

L et’ s talk YouTube — you referral traffic.

how to get tons of eyes on your videos which will then send

A lso, you may be tempted to use less than awesome content to get your accounts filled with videos. It’ s always better in the long run to use the highest q uality content possible. I’ ll call these “ parts” because you can do these in many orders.

01

MAKE SEVERAL ACCOUNTS

L et’ s say you’ re in the home improvement industry. Your company is “ Q uality H ardware” You’ ll want a brand page /q u al ity hardware

A nd some other accounts that look like people. /diy gu y /home re pairman /tool shan dy man /hamme rsan dn ail s K eep them all in a spreadsheet so you can keep track of the accounts and your progress.

02

MAKE 3-4 VIDEOS

M ake 3 - 4 videos that present the main point of the website you’ re trying to promote. K eep them high q uality and short. 1 - 3 minutes is best.

ALTER THE VIDEOS SLIGHTLY (1 FOR EACH ACCOUNT)

03
chan ge chan ge sl ightl y chan ge W

ALTER THE VIDEOS SLIGHTLY (1 FOR EACH ACCOUNT)

N ex t - you’ re going to be posting the same video across several accounts. So you’ ll want to alter them slightly so YouT ube’ s auto detection doesn’ t pick them up as being the same and flag your account. You can alter them in several ways; the mu sic the b ackgrou n d col or chan ge the timin g ( this way y ou ’ l l al so ge t a diffe re n t pre v ie w image ) the col or of an y caption s y ou may hav e

04
T o Upload A [1]

UPLOAD

hen you’ re ready, upload the slightly different videos across all accounts. O nly use the same video on up to 3 accounts. So if you have seven accounts and 4 videos, spread them across the seven accounts. Use an optimized title, description and tags — practice optimization. target your keywords with best

Consider a tasteful clickable link also overlaid onto the video itself. Transcribe your video ( Y ou T u b e ’ s au to- tran scription is u su al l y pre tty b ad — make y ou r own an d u pl oad it ) T ranscription

S ee if one ex ists already [a] S ign into your YouTube account [b] G o to your video [c] G o to ‘ C aptions’

[2] S ee if one ex ists already You will see it broken up frame by frame — most of the time the auto- transcription is terrible ( e v e n fu n n y ) . Click D ownload, as shown below.

[3] Edit it and upload a new transcription file

06 INCREASE VIEW COUNT EARLY I will always advocate organic and natural marketing.this way it becomes clickable and active nofollow link.n e t http://u 2 b v ie ws. which is an important factor in YouT ube ranking. it goes in the description. I do not promote the actual use of the following websites. and the choice is yours. T hese free services will help you increase view.com/ http://v ie w2 .[3] Edit it and upload a new transcription file 05 W INCLUDE YOUR REFERRAL LINK hen including your referral link.py ? hl = e n & an swe r= 5 5 5 7 8 to Use the G oogle UR L B uilder track the success of each link more specifically. http://su pport.com/googl e an al y tics/b in /an swe r. P ut it first.term methods of getting eyes on your videos before falling back to less than honest options. O therwise it will get buried and the user may not see it.b e http://e n han ce v ie ws. If linking to a deeper page within your site. Include the full ‘ http:// ’ .count q uickly. F ollow the following guidelines. http://v age x . B ut they ex ist.googl e . use best practice UR L construction and have keywords and descriptive words in the UR L . .com/ You of course should ex ercise all natural and long.

if you embed a video on your website — do not let it autoplay. A lso. but can also work to optimize your YouT ube video to get views q uickly. .07 F av orite s S harin g T hu mb s U p S u b scrib e rs C omme n tin g OTHER YOUTUBE RANKING FACTORS E x te rn al L in ks to Y ou r P age /V ide os BONUS TIPS FOR OPTIMIZING YOUR VIDEOS: T he following takes a little more effort up front. [2] Use their title. description & tags and alter them slightly to fit your video. YouTube will see a connection in content and hopefully value: it will associate the highly viewed video with your new video and rank it higher. but N O N E of the views from the embedded version will count towards total view count. [3] Post your video [4] THEN get people to comment on your video and the one you used for the draft of your title and description. N ot only do users find this annoying. [1] Find another video similar to yours that has a high number of views and ranks well.

n av te q .NO 4 W LOCAL SEARCH TECHNIQUES hile many local SE O guides give you the usual tips.domain tool s. like keeping a consistent N A P across listings.com/ http://mapin sight. T I P [ 3 ] Upload or correct your listings with G P S data services.com/mapfe e db ack/in de x .php H ere’ s how you’ ll start that process for each site T hen you can either add a new listing or edit the ex isting one F ill out the info . register from the actual place of the business.M ake sure it matches your N A P L ook up your whois info with http://whois.te l e atl as. http://mapre porte r. or increasing the number of citations you receive — we’ re going to assume you’ re familiar with the basics.com/ TIP [2] W hen you register your local listings. TIP [1] W H O IS Info . T here are a few of these that I know of.

.TELEATLAS Its a very similar process for teleatlas T I P [ 4 ] Use the microformat hCard to display contact information hCards are most commonly used to display information semantically about people and organizations.piecoras.&nbsp. http://microformats. <span class="postal-code">98101</span> <div class="country-name">USA</div> </div> <div class="tel"> <span class="type">Work</span> +206-322-9411 </div> <div>Email: <span class="email">info@piecoras.com/">Piecoras</a> <div class="adr"> <span class="type">Work</span>: <div class="street-address">1401 East Madison Street</div> <span class="locality">Seattle</span>.com</span> </div> </div> You can use that as a basic template to create your own hCard.org/wiki/hcard If we were to make an hCard for the pizza place in Seattle it would look something like this: <div class="vcard"> <a class="fn org url" http://www. <abbr class="region" title="Washington">WA</abbr>&nbsp.

M ost websites do not fully integrate the F acebook like button into their website. we’ re going to assume you understand the benefits of a complete integration of the like button within your website.com/apps/ H ere. you can read their documentation http://de v e l ope rs. W # . [1] C reate a Facebook A pp I D [2] G et the L ike B utton C ode [3] G et the O pen G raph Tags [4] I ntegrate the L ike B utton C ode [5 ] I ntegrate the O pen G raph C ode [6 ] C heck I nstallation W ith the D ebugger P lease note for this entire section. W e’ re going to get very in depth and walk through the complete installation of the like button. you need to be logged into F acebook. F or the sake of this guide.face b ook. Click continue O n the nex t screen. this was only to get your A pp ID . :. e can now complete the rest of the process of creating the A pp. this is an in depth technical guide. https://de v e l ope rs. e’ re only You can fill in your website name for the A pp name. but we need to finish filling out the form. F or a full ex planation from F acebook. A s mentioned. which includes creating a basic app account as well as installing the open graph meta tags.face b ook.NO 5 R emember.) STEP ONE C reate A Facebook A pp I D G o to the apps for F acebook page and click “ create a new app” . W doing this to get an A pp I D # . „ INSTALLING THE FACEBOOK OPEN GRAPH „ . you’ re going to fill in some basic information to create your app. you’ re going to see your A pp ID Save this in your tex t editor for later.com/docs/re fe re n ce /pl u gin s/l ike / T his process is broken into six steps.

You can add an icon.face b ook. http://de v e l ope rs.com/docs/re fe re n ce /pl u gin s/l ike / T he first thing we’ re going to do is get the code for the like button. . You’ re done with the A pp step. T hen complete the form where shows and save changes. which is ex tremely simple. and ready to get your like button code! S T E P T W O G et The L ike B utton C ode T he forms for the like button and open graph can be found here.

B e sure to select the correct A pp I D y ou cre ate d in the prior ste p ) . ( T he on e A ll we’ re doing here is copying and pasting all three sections of the code and saving them in your tex t editor ( al on g with y ou r A pp I D ) for later. B ecause ( at the time I ’ m writin g this ) W ordP ress is not fully H T M L 5 compliant. you’ ll want to select X F B M L format. Choose what you’ d like! W hen you’ re doing. T he other options are simply design and function choices: button size. from the dropdown menu. time to get the O pen G raph tags! G et The O pen G raph Tags . go ahead and get you’ re O nce you click “ get code” the following window is going to pop up. W e’ ve got our code saved. and that’ s currently the best way to go. etc.You’ ll want to leave “ UR L to L ike” blank ( b e cau se we ’ re goin g to al l ow F ace b ook to fil l this dy n amical l y from whate v e r page the b u tton is on ) . showing faces. You should now also double check that your A pp ID ’ s match. M ost of you are probably using W ordP ress.

.php file. they’ ll get filled in later dynamically) . F or most of us in W ordP ress. I’ m assuming most of us are using W ordP ress. this is going to happen in the E ditor header. from earlier? You’ re going to copy and STEP FOUR I ntegrate The L ike B utton C ode A gain.php file So first go to A ppearance editor F rom here.face b ook.W e’ ve got our code saved. time to get the O pen G raph tags! STEP THREE G et The O pen G raph Tags T he O pen G raph T ags are going to go in the header of your website. http://de v e l ope rs. you’ ll need to navigate to the header. W e need to put that first big chunk of code j ust below the opening < body> tag.com/docs/re fe re n ce /pl u gin s/l ike / T here’ s only three fields to complete here. A nd remember the A pp ID paste that into “ A dmin” . E nter your site name. Select the type of your website from the dropdown. we’ re going to be on the same page as we j ust were ( scroll down) to get your open graph code. R emember. T he rest we’ re going to leave blank ( j ust as before.

this is going to mean having it in a widget in W we’ re going to navigate to A ppearance W idgets. I have my like button in the right. So D epending upon your theme. E verything else so far has been additional code that helps the like button out. you’ ll need to navigate to the header. L ocate the opening <body> tag. T he third and final piece code is the actual like button itself. F acebook’ s documentation says this is to enable compatibility in some versions of Internet E x plorer. N ex t. ordP ress. A nd copy the first chunk of code and paste it j ust below the <body> tag.php file. F or most of you. O n Q uickSprout. you’ re likely going to have a sidebar called “ right .F rom here.hand sidebar. we’ re going to paste the second bit of code in the <html> tag.

but this way we’ ll be able to see the code better. you’ re likely going to have a sidebar called “ right sidebar” or “ post sidebar” or “ pages sidebar” . and copy and paste it into the “ T ex t” widget. which will give the tex t area a heading if you’ d like. this will be j ust one sidebar spot. so don’ t give up! T he benefit you will receive from having a complete O pen G raph installation is very worth it! Since we’ ll be integrating a little P H P . You can fill in a title. D rag and drop the “ T ex t” box from “ available widgets” . it may be 2 or 3 . you’ ll want to follow these steps for every widget needed to place the button on the pages desired.php file. You can of course place other elements in the tex t box if you’ d like — buttons. You’ re going to take the third portion of the like button code. T he tex t box allows you to insert or write anything with H T M L etc into it. F or some of you. as your tex t editor should color it to match the syntax . while for others. .php fil e e x te n sion . D on’ t get scared! W e’ re mainly j ust going to be cutting and pasting to complete your open graph tags. B ut you’ ve made it this far. and perfect for our like button code.D epending upon your theme. Its a great all purpose widget. which will then get placed in the W ordP ress header. P interest etc T weet STEP FIVE I ntegrate The O pen G raph C ode T he last step is the most technical.php file. B asically. let’ s first move the open graph code to a new file and re n ame it with a . H ere’ s what the code looks like in a . W e won’ t be using this file.

your title tag code should always be. [2] Next. we have to fill in the URL property. we’re going to do so. This is the Yoast title tag code pasted into the title property of the open graph tag.this is the header. even though Facebook tells you not to leave the image field blank. Copy whatever is between <title> and </title> in your theme.php file of a WordPress theme. Assuming the title is working correctly on your website. What matters is you copy it exactly. There IS one instance where the code is quite predictable. With Yoast’s wonderful plugin. For this. this code may be slightly different for everyone’s theme or SEO plugins. . <?php wp_title(‘ ‘). we’re going to use this little code snippet. [3] Next.php file again (under Appearance -> editor) and located the <title> tag. like this. ?> Paste your title tag code in between the quotes of your title property in the open graph tags. Go to your theme’s header. Copy whatever is in between the title tags onto your clipboard. We’re going to dynamically insert the URL of the current page into this field. $_SERVER[“REQUEST_URI”] ?> Cut and paste that code straight into the URL property of the open graph tags. Why? Because the person sharing your content will (in most cases) be given the option to choose the image they would prefer to display. and that is if you’re using SEO for WordPress by Yoast. It doesn’t matter what the exact code is. <?php echo $_SERVER[“HTTP_HOST”] .

your facebook open graph tags are ready to go! of your website. we’ re to go to header. it’ s there as a tool in case you feel like testing your installation. You’ re going to paste these j ust below your other meta tags ( meta description etc) in the <head> area of the code. [5 ] R emember that A pp I D “ app_ id” field.php ( A ppearance editor) . Congrats! You’ re done on what’ s likely to be the trickiest step! O nto the debugging! STEP SIX Test and D ebug Your O pen G raph I nstallation W hile this last step isn’ t req uired. you’ re going to paste it into the W ith that.[4] Fill in your site name.face b ook. [6 ] Paste the entire open graph code into the < head> A gain. again? Yup. you go to: http://de v e l ope rs. I recommend also “ viewing source” on your site. T o get to the debugger. and have a look at the open graph code to see if everything looks right by eye.com /tool s/de b u g .

two percent of power users publish a blog post once a month.com/2 0 1 2 /0 1 /3 0 /1 0 0 .ly/ J lM cW i via @ neilpatel ” .to. P owe r u se rs are six time s more l ike l y to gu e st post. S ix ty . S e v e n ty . I have a post of 1 0 0 W B ecome a T witter P ower User - http://www." http://b it.two pe rce n t of powe r u se rs pu b l ish a b l og post on ce a mon th. S e v e n ty pe rce n t comme n t on othe r b l ogs.l y /J l M cW i < .b e come .powe r.u se r/ In it.NO 6 CREATE CLICK TO TWEETS Imagine you have a document that’ s a list of q uotes or short ideas. STEP TWO Use C lick To Tweet To C reate Your L ink [1] C onstruct Your Tweet Q u ote L in k A u thor In this case we’ d want to use: " Seventy.on e pe rce n t wil l l e av e comme n ts on n e ws site s. there is a list of twitter facts.bitly link L ink A uthor via @ neilpatel Q uote “ A nd we get: Seventy." http:/ / bit.way s.q u icksprou t.com/ STEP ONE Have Your C ontent R eady ays T o A ny list of short items works great.two percent of power users publish a blog post once a month.twitte r. F iv e time s more l ike l y to ru n a b l og.a.on e pe rce n t write at l e ast on e produ ct re v ie w a mon th. W ould it be cool to allow readers to tweet an ex act q uote at the click of a button? You can use a little tool called http://cl icktotwe e t. F or ex ample. so we can try it together.. S ix ty . S e v e n time s more l ike l y to post to W ikis. L et’ s turn these into easily tweetable tweets! I suggest you have your content ready to go.

<li><a href="http://clicktotweet. <li>Seventy-two percent of power users publish a blog post once a month. depending on how you want to display it.[3] C lick G enerate STEP THREE A dd Your L inks I n the C ontent A ll you need to do is add a hyperlink after each q uote.</a></li> Click to tweet this fact! D o this for each q uote or fact! .com/tL 7 9h">Seventy-two percent of power users publish a blog post once a month.</li> <a href="http://clicktotweet. like this.com/tL 7 9h">T weet this fact! </a> You can also make the q uote itself tweetable. like this.

php file L et’ s look at the code piece by piece: T his simply calls a basic stylesheet <link rel="stylesheet" href="styles. "# " + network + "Status") . STEP ONE A dd C ode To Header F or this ex ample.j s? ver=1. T his might seem similar to other methods that have been around for a while. <script type="tex t/j avascript"> { if ( status) { function show_ login_ status( network. F or facebook you can do this via A P I. G oogle P lus or G oogle. status) "# " + network + "Status") . It will then allow you to display content differently depending on which social network they are logged into.1/j q uery.css"> T his calls the T witter and G oogle A P I’ s <script src="https://aj ax .html( "C urrently logged + network + "</span>") . $ ( into <span class=' red' >" } else{ $ ( logged into <span class=' } } </script> L et’ s add some <body> stuff nex t! . I would also note that this code is dependent upon third party sources and it could break at any time. we’ re j ust going to set up an html document with our tex t editor.com/widgets.min.twitter. T he choice is up to you! I would simply advise to keep users privacy in mind and not do anything that might cause them concern.1' ></script> T his adds J avaScript function to display if logged in or not. Put this in the < head> section. directly in your website.googleapis.com/aj ax /libs/j q uery/1. T his will show you the functionality. and then you may use in any specific situation you wish. NOTE: If you’re using WordPress you can paste this into the header. but I’ ve worked out my own version if it for you.NO 7 DETECTING IF USERS ARE LOGGED INTO SOCIAL NETWORKS T he following code will allow you to detect if users are logged into T witter.html( "N ot currently green' >" + network + "</span>") .j s"></ script> <script type=' tex t/j avascript' src=' http://platform. but for these other networks you need a special workaround.7 .

It is the id’ s and classes which display if the user is logged in or not.STEP TWO HTM L To D isplay I f L ogged I n O r Not T his goes in the H T M L T he portion shown in red is the important part. G oogle or G oogle Plus. which gets G oogle and T witter to say if you’ re logged in or not. . T his part is a bit of a trick. <div class="container"> <section> <div class="row"> <div class="page-header"> <h1>D etecting Social N etworks L ogged I nto</h1> </div> <p>Y ou can see below it is detecting if I T witter.</p> am logged into <div id="T witterStatus" class="outputStatus"></div> <div id="G oogleStatus" class="outputStatus"></div> <div id="G ooglePlusStatus" class="outputStatus"></div> </div> </section> </div> W e j ust have one more part to add! STEP THREE A dd Your L inks I n the C ontent P ut this below the H T M L somewhere. H ere is the code.

com/login?redirect_after_login=%2Fimages%2Fspinn er.png" /> <img style="display:none. If the user is logged in. true)" onerror="show_login_status('Google'. true)" onerror="show_login_status('Twitter'. false)" /> This code works by calling for an image ( but not actually displaying that image ). <img style="display:none.com/up/?continue=https://www. false)" src="https://plus.google.com/intl/en/images/logos/accounts_logo.png&type=st&gpsrc=ogpy0" /> <img style="display:none. Here is the final output! . it returns ‘true’.google." onload="show_login_status('GooglePlus'.goo gle." onload="show_login_status('Google'.Here is the code." src="https://twitter.gif" onload="show_login_status('Twitter'.com/intl /en/images logos/accounts_logo. it returns ‘false’. If not logged in. false)" src="https://accounts. true)" onerror="show_login_status('GooglePlus'.com/CheckCookie?continue=https://www.google.

. M ake sure you see the check mark and “ looks good” nex t to the ID .googl e . G et yours and save it for later.googl e . A nd that long string of numbers is my ID . but it might confuse you more then help you.com/ and log in. In the UR L you will find your profile ID .con fig O n this page. T his is why I recommend heading straight to the P rofile Config T ool here https://de v e l ope rs. my page is.com/+ /pl u gin s/b adge /pe rson al .con fig M ost people will probably try to go here https://de v e l ope rs.com/+ /pl u gin s/b adge / to the G oogle B adge page. we’ re going to walk through the steps on how to install a G oogle P lus B adge into your site.com/+ /pl u gin s/b adge /pe rson al . STEP ONE G o To the B adge Profile C onfig Tool G o here https://de v e l ope rs. STEP TWO Enter Your Profile I D and G et The C ode R emember your profile ID we found a few minutes ago? T hat’ s what you should paste into the box as shown here. Select “ badge” and your language. you can easily generate everything you need to add the G oogle P lus B adge to your site. F or ex ample.NO 8 INSTALLING GOOGLE PLUS BADGES N ex t.googl e . T his is the badge which will link to your personal G oogle P lus page.googl e . PRELIMINARY STEP Find Your G oogle Profile I D N avigate to your G oogle P lus profile page — http://pl u s.

as it was the smallest size I could make the badge and have it keep my name. 170 is the best width to maintain the two badges with minimal extra whitespace around them. 260 looked the best.Display Two Badges Side By Side This should work for everyone.ADVANCED OPTIONS Google does not make this apparent.Display Your Name I found that playing with the width. you will see that it has automatically generated some code for you below. Option B . but you actually have some different display options. Option A . No matter the size you choose. Option C .The Two Badges Stacked 100 pixels wide is the minimum allowed size. and also gives you the best layout of the two badges stacked with minimal whitespace. .

[1] The j avascript which goes in the < head> ( assuming the badge is on every page) . which goes in the < body> wherever you want the button to appear. of every page of the HTM L [2] The actual button code. L et’ s add them! A gain ( as we ’ v e don e man y time s in the docu me n t! ) navigate to appearance. P aste the second piece of the code wherever you want your button to appear.T here are two pieces to this code. you should paste this near the other J avaScript code. .php file. STEP THREE A dd the C ode To Your S ite P aste the first part of the code into the <head> P referably. it would likely go here. if I were place the G oogle P lus badge on my account. In the case of Q uickSprout.> editor in W ordP ress and then find your header.

but it will all pay off! WELL DONE! YOU MADE IT THROUGH THE ADVANCED GUIDE TO SEO! CHAPTER EIGHT TAKE ME TO . so I would go to the widgets within W ordP ress to add the code. P aste the code within your tex t widget. on top of creating ex ceptional content and interacting on social networks. CONCLUSION Congratulations if you’ ve made it to the end and been able to implement the techniq ues in this guide! SE O can sometimes be hard work but very rewarding. N OTE: you can al ways adjust the si z e in t h is step too .I know that I have this area being managed with my widgets. depending upon where you need to place the button. i f you paste i t i n and it d oesn’t qui te l ook ri ght on your si te. If you’ ve done most of the things in this guide. you’ ve been working really hard. H ere’ s how you do it. N avigate to appearance widgets E ither use an ex isting tex t widget or create a new one.

Sign up to vote on this title
UsefulNot useful