studiobosco/wn-seo-extension

SEO Extension for Winter CMS Pages

v1.0.9 2023-01-05 13:45 UTC

This package is not auto-updated.

Last update: 2024-12-19 15:08:41 UTC


README

This is a fork of https://github.com/anand-patel/oc-seo-extension to make it work with Winter CMS.

Inject SEO fields to CMS Pages, Static Pages and Blog.

This plugin add SEO fields to CMS Pages, Static Pages and Blog, and for using it you simply need to drop component on layout/page.

currently included fields:

  • Meta Title
  • Meta Description
  • Meta Keywords
  • Canonical URL
  • Meta Redirect to other URL
  • Robot Index & Follow

*more fields will be added on request

Features

  • New Open Graph(og) Tags added for better sharing on social networking sites like Facebook
  • New Settings added in backend to configure meta and Open Graph tags

Future

  • Add more fields on request.
  • Integration of SEO optimizer to optimize page(if possible).

Like this plugin?

If you like this plugin, give this plugin a Like or Make donation with PayPal.

Documentation

Installation

To install this plugin you have to click on add to project or need to type StudioBosco.SeoExtension in Backend System > updates > intall plugin

The plugin currently includes three components:

  • SEO CMS Page
  • SEO Blog Post
  • SEO Static Page
SEO CMS Page

Drop this component in layout`s head section

code of layout look like this

    <html>
        <head>
            {% component 'SeoCmsPage' %}
        </head>
        <body>
           {% page %}
        </body>
    </html>
SEO Blog Post

Drop this component on CMS Page on which you have dropped blogPost Component(i.e you want to show blog post).

pass parameter data = post

here is code of CMS page for Blog Post Page.

    {% component 'blogPost' %}
    {% component 'SeoBlogPost' data=post %}

for using this component you must place SeoCMSPage component on layout.

SEO Static Page

Drop this component on Static Pages layout`s head section

code of static page layout look like this

    <html>
        <head>
            {% component 'SeoStaticPage' %}
        </head>
        <body>
            {% component 'staticMenu' %}
            {% component 'staticBreadcrumbs' %}
            {% page %}
        </body>
    </html>

Configuration

To configure this Plugin goto Backend System then find My Settings in left side bar, then click on SEO Extension , you will get Configuration options.(refer screenshots)