#3

Product support

Get help in the plugin support forum.

Categories

  • Developer Tools
  • Marketing
  • Utility

Plugin adds SEO functionality to OctoberCMS. It supports CMS Pages, RainLab.Pages, RainLab.Blog out of the box.

With one line of code can be attached to any OctoberCMS model. One robust solution for all your SEO needs.

This plugin requires Stable version of OctoberCMS.

Features

  • Support for CMS Pages, RainLab.Pages, RainLab.Blog
  • Import default values from CMS Pages, RainLab.Pages, RainLab.Blog after installation
  • Import from SEO Extension Plugin
  • Open Graph support
  • Robots meta configuration
  • Canonical URLs
  • 301 Redirects
  • Easy edit robots.txt and .htaccess in CMS Settings
  • Easy integration with other plugins

Future plans

  • RainLab.Translate Plugin support (read more below)
  • Favicon Generator
  • Google snippet preview
  • Focus keywords check
  • Page analysis

Known issues

RainLab.Translate Plugin Support

RainLab.Translate Plugin does not support CMS Pages at the moment. It also lacks support for polymorphic relations in OctoberCMS models (in fact no relations are supported). SEO Manager is built with RainLab.Translate Plugin in mind, but with current state of this plugin, it does not provide the clean solution for multilanguage support out of the box. In current build it has only support for RainLab.Pages Plugin.

Read documentation section called Multilanguage Support Solution for possible solution.

Support

Please use OctoberCMS support forum to report any issues with plugin.

Reviews should not be used for getting support, if you need support please use the Plugin support link.

SEO Fields in CMS Page

Usage

After installation plugin will import meta title and meta description from existing CMS Pages, Static Pages, Blog Posts and Categories. All CMS pages, Static pages, Posts, Categories will now display additional tabs with SEO and Open Graph fields.

To display meta information on frontend page you must only place single SEO component in theme layout head section.

[seoTags]
==
<!DOCTYPE html>
<html>
    <head>
        {% component 'seoTags' %}
    </head>

Import

Plugin will detect if SEO Extension Plugin is currently installed and will import default values from his configuration. This will done automatically after SEO Manager installation.

So the transition process from SEO Extension Plugin to SEO Manager Plugin is done automatically for you.

Plugin will import data from CMS Pages, RainLab.Pages and RainLab.Blog even when SEO Extension Plugin is not installed.

Disable or remove SEO Extension Plugin after SEO Manager installation.

Settings

Plugin ships with a settings page. Go to Settings and you will see a menu item SEO configuration listed under SEO bookmark.

Settings allow you to specify SEO Title prefix/suffix.

You can write common meta tags used in all pages e.g.

<meta name="author" content="Renatio">
<meta name="viewport" content="width=device-width, initial-scale=1">

You can disable Open Graph tags output, specify Open Graph site name and Facebook Application ID.

You can edit robots.txt file and .htaccess file.

Editing .htaccess file may break your site if not set up properly, so proceed with caution.

SEO fields

Available SEO fields:

SEO Title

Defines the title of a document. Title tags are often used on search engine results pages (SERPs) to display preview snippets for a given page, and are important both for SEO and social sharing. Read more.

SEO Description

Meta descriptions are HTML attributes that provide concise explanations of the contents of web pages. Meta descriptions are commonly used on search engine result pages (SERPs) to display preview snippets for a given page. Read more.

Meta Keywords

A series of keywords you deem relevant to the page in question.

Meta Robots

The robots meta tag is not the same as the file called robots.txt. You should use these two together. Both are used by the seach engines like Yahoo and Google. Read more.

Canonical URL

Canonicalization for SEOs refers to normalizing (redirecting to a single dominant version) multiple URLs. Read more.

301 Redirect

Redirection is the process of forwarding one URL to a different URL. There are three main kinds of redirects: 301, 302, and meta refresh. Read more.

More fields can be added on request.

Open Graph fields

Available Open Graph fields:

OG Title

The title of your object as it should appear within the graph, e.g., "The Rock".

OG Description

A one to two sentence description of your object.

OG Type

The type of your object, e.g., "article".

Og Image

An image URL which should represent your object within the graph.

Read more about Open Graph Protocol.

More fields can be added on request.

Integration with models

SEO fields can be attached to any OctoberCMS model with single line of code. You just need to implement SEO Behavior in your model class like so:

public $implement = ['@Renatio.SeoManager.Behaviors.SeoModel'];

After implementing this behavior to your model class, SEO Manager will extend it with SEO fields and create relation to model.

To allow SEO Manager Plugin to recognize page with specific model attached you must passed it to the page view. This is most often done in component onRun() method like so:

$this->page['album'] = Album::find($id); // pass album record to page view

Extending SEO fields

Plugin will fire seo.extendSeoFields event to allow for extensibility. This can be used to modify or add more SEO fields. You can listen for this event like so:

Event::listen('seo.extendSeoFields', function ($fields) {

    // modify or add more fields

    return $fields; // remember to return modified fields array
});

Similar approach can be used to extend Open Graph fields with seo.extendOgFields event.

Model fields are saved to database, so you must add columns to renatio_seomanager_seo_tags table before you can use them.

Access SEO Tag before rendered on page

Plugin will fire seo.beforeComponentRender event to allow for extensibility. This can be used to access page with associated SEO Tag.

Event::listen('seo.beforeComponentRender', function ($page, $seoTag) {
    // do custom logic here
});

Multilanguage Support Solution

To display SEO tags in different languages you must overwrite default component partial. In your theme partials folder create seotags folder. If you used different alias than default for component you must rename seotags folder to match your alias. Now copy/paste file from /plugins/renatio/seomanager/components/seotags/default.htm. Use translate filter |_ to translate tags displayed on page render

<title>{{ meta_title|_ }}</title>

Refresh website on page that SEO Tags you want to translate. Now go to Backend -> Settings -> Translate Messages and Scan for new messages.

  • Found the plugin useful on 25 Aug, 2017

    Absolutely brilliant. Very quick to install and I love the way it works with models.

  • Found the plugin useful on 11 Apr, 2017

    Best SEO plugin. Would be even better if you extended it to JKShop

  • Found the plugin useful on 9 Apr, 2017

    Thank you for this nice plugin. You don't need much time to set it up. Everything is self-explanatory.

    It would be nice if the meta title and the description are translatable. Can you add this feature please?

  • Found the plugin useful on 13 Sep, 2016

    Great plugin! Helps a lot!!!

1.1.0

!!! Update only for Laravel 5.5 LTS Pending

Aug 14, 2017

1.0.7

Fix showing Seo fields in repeater

Apr 22, 2017

1.0.6

Fix repeater field error in RainLab.Pages plugin

Mar 12, 2017

1.0.5

Fix spaces on prefix/suffix title

Sep 01, 2016

1.0.4

Fix bug for PHP version < 5.6

Aug 31, 2016

1.0.3

Import SeoExtension Settings

Aug 05, 2016

1.0.2

Import data

Jul 30, 2016

1.0.1

First version of Seo Manager

Jul 26, 2016