Most developers hate it. SEO. That dirty word. The stereotypical “SEO Experts” that actually don’t do anything useful, et cetera. But, SEO is actually something that does matter. Unlike those spam emails that promise to get you on the first page of Google for every search someone will ever do.
What does matter, is content and the quality of the meta tags on a site. The better the descriptions are, the better a search engine can index your site.
The module
SilverStripe SEO is designed to help the CMS Editor.
composer require vulcandigital/silverstripe-seo
It will help editors improve their pages to be better findable and more importantly, better visible. By adding the right OG tags to pages, links on Facebook and Twitter will become a lot more informative.
Analysing your content
The module makes it easier to view how a page scores in SEO optimisation. It gives recommendations on how to improve the content and meta titles. Or you can create your own analyser, to add certain checks. This will help in creating useful content and meta tags.
If, like many, you are not using the standard Content field, but a Block system like Elemental, the content analyser will at first break. This is easily averted by configuring the right fields in your Page class to analyse:
public function seoContentFields()
{
return [
'Content',
'MyBlock.Title',
'MyBlock.Content',
'BottomTitle',
'BottomContent'
];
}
OpenGraph meta tags
By default, the generated OG tags are populated from the content or from the media specific items. But an extra for twitter, is the ability to have the author tag added. Members are given an extra field in the database to save their twitter handle. If the author has a twitter handle, it will be added to the twitter OpenGraph tag as the author of the page.
If you want, this feature can be disabled via the YML configuration like so:
Vulcan\Seo\Extensions\PageSeoExtension:
enable_creator_tag: false
An example of how the right open graph tags change the looks can be found on the SilverStripe Facebook page.
Additional features
In addition to the meta tags and content analysing, the module comes with the text target length module, which helps create long enough and useful titles and descriptions for several fields.
And if you didn’t have it installed yet, the sitemaps module comes with this module as well, giving you a sitemap to submit to the search engines for better indexation of all the pages.
Limitations
Currently, it is not possible to validate the status of a page through many_many relations. This is a known issue, so if you feel like helping out, it’s a nice starting point to fix.
Help your CMS editors overcome the myths of SEO, by giving the power to get their content noticed.
As per usual, give it a try, contribute and enjoy!
Post your comment
Comments
No one has commented on this page yet.
RSS feed for comments on this page | RSS feed for all comments