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 details)

Uploaded Source

File details

Details for the file collective.behavior.seo-2.0.0.tar.gz.

File metadata

  • Download URL: collective.behavior.seo-2.0.0.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for collective.behavior.seo-2.0.0.tar.gz
Algorithm Hash digest
SHA256 33acf801f839559edee25d78959435931a27321f09921466eaf7ef65fb1087d6
MD5 35ba8d8469e6165ef07ed6b9473e6a67
BLAKE2b-256 d92108745ba10c046cf36d7a484e6271953a45fe709731283672803cac2f4c83

See more details on using hashes here.

Supported by

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