Sites SEO

Quick how-to guide..

1. Page title tag
[sourcecode language=”html”]<title>Key Search Terms</title>[/sourcecode]

The title element is the single most important on-page SEO data. Consider it carefully.

2. Keywords and description metadata tags
[sourcecode language=”html”]<meta name="keywords" content="keyword1, keyword2" />
<meta name="description" content="Key Search Terms" />[/sourcecode]

1 and 2 are key, keep the content focused and short, search engines can black-list on the basis of repetitive, long content.

3. Site verification
Submit your site via Google Web Master Tools and verify using the metadata tag technique.
[sourcecode language=”html”]<meta name="google-site-verification" content="PgmB4If5NAcmMRrSxC9Lim4VFy6bldSB2VY" />[/sourcecode]
Bing, Yahoo etc. offer similar site verification mechanisms.

4. Add a VF page called RobotsTxt (or similar)
And add content below, this page should be set as the robots.txt file in the Site config detail page.
[sourcecode language=”html”]<apex:page contentType="text/plain" showHeader="false">
User-agent: *
Allow: /

The default is to block all crawler activity. The entry above provides full-access to all pages to all search engines. This can be adjusted to fit your preference – reference for further detail.

Optional 5. Add the site to Google Analytics and verify by adding the tracking code to the Site via the config detail page *this adds in the necessary markup.