Skip to main content

An add-on for Plone

Project description

This small behavior adds extra fields used for SEO optimisation. Inspired by collective.seo, but the data store now uses dexterity/behavior practice.

Features

Adds fields SEO Title, SEO Description, and Metatag Robots on an extra tab SEO on contenttypes where the behavior is activated.

When the fields contain values, the <title> and <meta name='description'> in the <head> section will be replaced. Also a <meta name="robots"> tag will be added.

In a control panel you can give a list of valid combinations of robot tags: follow/nofollow, index/noindex.

Translations

This product has been translated into:

  • Dutch

Installation

Install collective.behavior.seo by adding it to your buildout:

[buildout]

...

eggs =
    collective.behavior.seo

and then running bin/buildout. Or install it with pip.

Activate the add’on in the Plone Contron Panel. Then go to Dexterity Types in the Plone Control Panel and activate this behavior on selected content types.

Contribute

License

The project is licensed under the GPLv2.

Contributors

This add’on is a combination of several SEO add’ons and improvements for Plone 5.1:

Changelog

2.0.0 (2023-03-14)

  • Fix ValueError during editing when robot tags in control panel are not unique. Fixes issue 2. [maurits]

  • Add Continuous Integration for supported Plone and Python combinations. Uses tox, gh-actions, and collective/tox-action. [maurits]

  • Drop support for Python 2. Plone 5.2 and 6.0 on Python 3 are supported. For older versions, use releases from the 1.x branch. [maurits]

1.0.2 (2023-03-14)

  • Removed English locale. I think there used to be a need for this long time ago, but not anymore, as far as I know. [maurits]

  • Changed <head> to 'head' in help text and translations. <head> gets swallowed: you got “the section of a page” and now “the ‘head’ section of a page”. [maurits]

  • Fixed broken html in edit form on Plone 6 due to Dutch typo. We used <head and this made the Save/Cancel buttons show only on the SEO fieldset. And this fieldset showed an extra footer. [maurits]

1.0.1 (2020-09-09)

  • Make python3.8 compatible. [fredvd]

1.0.0 (2020-08-17)

  • Make python3 compatible. [erral]

  • Update uninstall profile. [fredvd]

1.0b1 (2018-10-30)

  • Add robots field, Add control panel form with configurable list of robot tag preset combinations for editors to pick from. [fredvd]

  • Don’t generate robots vocabulary on every request. [fredvd, mauritsvanrees]

  • Fix implementer decorator on SEOFields behavior in python. The zcml registration was correct though. [fredvd]

  • Revert name changes. [jladage]

  • Improve description of robots field. [jladage]

  • Autopep8 and fix code-analysis feedback. [jladage]

1.0a1 (2018-10-12)

  • Override update method on TitleViewlet instead of page_title, otherwise Site title still gets appended to the overriden title. [fredvd]

  • Basic version, only for Title and Description [fredvd]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.behavior.seo-2.0.0.tar.gz (25.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page