SharePoint SEO - Western Carolinas SharePoint User Group

nostrilshumorousInternet and Web Development

Nov 18, 2013 (3 years and 10 months ago)

85 views

SHAREPOINT

SEO

SharePoint 2010 Search Engine Optimization

WE’LL BE
COVERING…

1. How
to
create custom page titles

2
. Creating and making use of the “Description” Meta tag.

3. Should you still include “Keywords” Meta Tag
?


This information will be available as a blog at GetSharePoint.com/blog


SEARCH ENGINE
RESULTS


Meta Title (Custom Page Title)


Meta
Description
(Custom Page Description
)



<TITLE>PAGE TITLE</TITLE>

The Title tag
indicates
the current pages title.


<title
> Title Text Goes Here </
title
>


Out of the box SharePoint sets the site title and appends the page
navigation name to the end of the site
title


Example: Site Title


Page Name


Example Demo:
http
://
www.wcspug.org


<
META NAME="DESCRIPTION" CONTENT
=" " />

Out
of the box SharePoint
doesn’t have
a way for you to populate the
page
Description
Meta
Tag.



Demo: Lets do a search
for Western Carolinas SharePoint User Group


TO THE CODE!

1. Create Site Columns: Site Settings > Galleries: Site Columns > Create:

MetaTitle

(Single line of text)

MetaDescription

(Single line of text)


2. Hidden
ASP Panel at the closing body tag to contain
PlaceHolderPageTitle
:

<
asp:Panel

visible="false"
runat
="server">

</
asp:Panel
>


3. SEO
Code Snippet:

<
asp:ContentPlaceHolder

id="
PlaceHolderMetaTags
"
runat
="server">

<title
runat
="server"><
SharePoint:ListItemProperty

Property='
MetaTitle
'
runat
='server'/></title>

<meta name="description" content="<
SharePoint:ListItemProperty

Property='
MetaDescription
'
runat
='server' />" />


</
asp:ContentPlaceHolder
>


PLEASE NOTE!


The
only drawback is the next time you go to edit the master page you will need
to replace Meta Description tag again before saving a new version of the master
page.


For
some reason when you
open & edit
the master page the
SharePoint:ListItemProperty

adds additional code that breaks the tag.


Replace
it with the clean code before saving the master page again.


<meta name="description" content="<
SharePoint:ListItemProperty

Property='
MetaDescription
'
runat
='server' />" />


META KEYWORD

Should you still use Meta Keywords?


NO!
N
ot since the late 90’s.


Meta Keywords Tag
became very popular in the mid 90’s and were widely used
and
abused
. A few years later search engines started
enforcing

strict rules
and
ignoring
Meta Keywords altogether because of the

abuse
and false search
results from
keyword spam
.


Meta Keywords Tag Example:

<meta name="keywords" content="keywords, keyword, keyword phrase, etc
.">


Google and Yahoo
completely ignore
the Keywords Meta Tag. Microsoft Bing
uses it to detect
spammers and
blocks them.


QUESTIONS?

Matthew Skinner, MCP

Email: matthew@getsharepoint.com

Company:
dataBridge





THANK YOU!