optimizing wordpress sites for seo and social media by miriam schwab

26
Optimize WP for social networks and search with plugins and code WordCamp Jerusalem Sept. 12, 2011 ב"ב: בבבב בבבבב

Upload: illuminea-web-presence-agency

Post on 10-May-2015

1.715 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Optimize WP for social networks and search with plugins and code

WordCamp JerusalemSept. 12, 2011

: שוואב" מרים י ע

Page 2: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Table of Contents

• Custom Tab in Facebook with WP• Open Graph• Yoast SEO• Twitter: Tweet and Get it

Page 3: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Greg Rogers of Pictela: “Nielsen says people visit 2.9 sites a

day, and one of them is Facebook.”

- Source: eConsultancy

Page 8: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Create custom tab

1. Go to http://facebook.com/developers

2. Give Developer permission to access your profile.

Page 9: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Create an app

1. Click on Create New App2. Choose a name for your app. This is

what will appear on the link to the tab.

Page 10: Optimizing WordPress sites for SEO and social media by Miriam Schwab

iFrame dimensions

• Max width 520 px• Max height 800 px. Scrolling bars can

be overcome by using the FB.Canvas.setSize javascript function. This will remove the scroll bars: http://developers.facebook.com/docs/reference/javascript/fb.canvas.setsize/

Page 11: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Page settings

• Canvas Page - URL for the app you are creating. This will become the URL for the Facebook app that will appear in your iFrame.

• Canvas URL - The actual page on your server with the content to appear in the iFrame. Secure version optional

• Same for Tab name and URL

Page 12: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Add to Page

• Now click on View App Profile Page. Here’s our test: http://www.facebook.com/apps/application.php?id=242524409112358

• Click on Add to My Page

Page 13: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Choose page to add to

Page 15: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Claim your domain

• Insights Dashboard - https://www.facebook.com/insights/

• To access the number of Send button impressions, messages, and referral clicks sent to your site.

Page 16: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Add tag to header code on

site

Page 17: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Facebook admin ID

• On http://www.facebook.com/insights/, click on Insights on top-right

• App ID can be used for Like button

Page 18: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Required Open Graph

• Og:type = activity, business, group, organization, people, places, products, entertainment, websites

• Og:URL = URL of object• Og:title = title as will appear in fb• Ob:image = URL of primary image, at least 50x50

px• Fb:admins or fb:app_id = A comma-separated list of

the user IDs or • Application IDs that have permission to access and

change information about your site. To manage multple users, use an Application ID

• Og:site_name = name of site/company/brand

Page 19: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Important Open Graph

• Og: description = one or two sentences describing the object, is what makes something seem click-worthy

Page 20: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Open Graph on site

Add this to opening <html> tag:xmlns:og="http://ogp.me/ns#" xmlns:fb=http://www.facebook.com/2008/fbmlLooks like this:<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">

Page 22: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Yoast’s SEO plugin adds Facebook meta data

• Yoast’s SEO plugin has an option to add Facebook OpenGraph meta data to the site.

• To do this, go to SEO > Indexation and select the checkbox that says Add OpenGraph meta data:

Page 23: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Check whether OpenGraph data on site is ok with Linter

Page 24: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Get people to “buy” your content with a tweet

Page 25: Optimizing WordPress sites for SEO and social media by Miriam Schwab

Really flexible social icon plugin

Page 26: Optimizing WordPress sites for SEO and social media by Miriam Schwab

THANKS!

illumineahttp://illuminea.com ▪ http://wpgarage.com@miriamschwab ▪ http://facebook.com/miriamschwabSlides available at http://illum.in/ourpresentations