Skip to content

A seo bundle as addition to the cmf content bundles as a wrapper around the SonatSeoBundle

Notifications You must be signed in to change notification settings

wouterj/SeoBundle

 
 

Repository files navigation

Symfony CMF Seo Bundle

This bundle is part of the Symfony Content Management Framework (CMF) and licensed under the MIT License.

This bundle enables contents to be shown in a SEO conform way. By the help of the SonataSeoBundle this bundle renders SEO-Metadata. For now it supports:

  • Title
  • Description
  • Keywords
  • duplicate content solutions

The SeoBundle adds a SeoAwareInterface with a SeoMetadata class as encapsulation for all the seo stuff.

Requirements

Documentation

###Configuration

started to add a configuration, which can live on top of the config for SonataSeoBundle. A configuration like:

cmf_seo:
    title:
        default: My SEO title
        bond_by: ' | '
    description: My default description
    keys: default, key, other
    content:
      strategy: canonical

Would create a title like content_specific | My SEO title cause the default title strategy is prepend. Other values are append and replace. This will add the default description combined with the config specific one into a meta tag. The same will be done for the keywords. Duplicate content will be solved by a canonical link, redirect will be default (todo: later)

###Later

For the install guide and reference, see:

See also:

Contributing

Pull requests are welcome. Please see our CONTRIBUTING guide.

Unit and/or functional tests exist for this bundle. See the Testing documentation for a guide to running the tests.

Thanks to everyone who has contributed already.

About

A seo bundle as addition to the cmf content bundles as a wrapper around the SonatSeoBundle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%