Skip to content

Graphiques-Digitale/silverstripe-seo-google-plus-authorship

Repository files navigation

Screenshot Screenshot Screenshot

Overview

This is a modular extension for graphiques-digitale/silverstripe-seo-metadata

It enables authorship i.e. who wrote and/or published the page.

Favicon inspired by: audreyr/favicon-cheat-sheet, Jonathan T. Neal - Understand the Favicon and High Quality Visuals for Pinned Sites in Windows 8

It requires:

It is intended to be used alongside it's siblings:

These are all optional and fragmented from the alpha version SSSEO, which is now redundant.

The whole module bunch is based largely on 18 Meta Tags Every Webpage Should Have in 2013.

Also, a good overview: 5 tips for SEO with Silverstripe 3.

Installation

Composer

  • composer require graphiques-digitale/silverstripe-seo-authorship
  • run ~/dev/build/?flush

From ZIP

  • Place the extracted folder silverstripe-seo-authorship-{version} into silverstripe-seo-authorship in the SilverStripe webroot
  • run ~/dev/build/?flush

Template Usage

Depending on your configuration, the general idea is to replace all header content relating to metadata with $Metadata() just below the opening <head> tag and $BaseHref() function, e.g.:

<head>
<% base_tag %>
$Metadata()
<!-- further includes ~ viewport, etc. -->
<!-- however, really don't include CSS & JS here ~ do it in the *_Controller of this class -->
</head>

This will output something along the lines of:

<!-- SEO -->
<!-- Metadata -->
<meta charset="UTF-8" />
<link rel="canonical" href="http://dev.seo.silverstripe.org/" />
<title>Your Site Name | Home - your tagline here</title>
<meta name="description" content="Welcome to SilverStripe! This is the default home page. You can edit this page by opening the CMS. You can now access the developer documentation, or begin the tutorials." />
<!-- Google+ Authorship -->
<meta property="article:author" content="AuthorFacebookProfileID123" />
<link rel="author" href="https://plus.google.com/AuthorGooglePlusID123/" />
<link rel="publisher" href="https://plus.google.com/PublisherGooglePlusID123/" />
<!-- END SEO -->

Issue Tracker

Issues are tracked on GitHub @ Issue Tracker

Development and Contribution

Please get in touch @ hello@graphiquesdigitale.net if you have any extertise in any of these SEO module's areas and would like to help ~ they're a lot to maintain.

About

Enhanced SEO authorship module for the SilverStripe framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages