Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Some viewlets to do SEO work in Plone sites

Project Description

Introduction

This product adds some viewlet to improve SEO in Plone sites:

  • Meta tag to tell robots “noindex, follow” the batch pages

  • Canonical url link for all pages. We have followed these rules for canonical urls:

    • For normal content, the url is the object’s url without the trailing ‘/’:

      • yoursite.com/news/ -> yoursite.com/news
    • Default page (and its trailing ‘/’) is removed from the canonical url:

      • yoursite.com/news/aggregator -> yoursite.com/news (aggregator is the default page of news)
      • yoursite.com/news/aggregator/ -> yoursite.com/news (aggregator is the default page of news)
    • View or template name is preserved in the canonical url:

      • yoursite.com/@@search?SearchableText=query -> yoursite.com/@@search?SearchableText=query
      • yoursite.com/folder1/folder_listing -> yoursite.com/folder1/folder_listing
  • Customized batching template to create batching base urls based on canonical urls.

Tested with Plone 4.2.x. It should work all previous Plone 4 versions, but it’s untested.

In Plone 4.3.x the changes in batching template will not be available, because of the use of plone.batching product and this product provides replacement just for batch_macros.pt template.

Changelog

1.1 (2013-11-18)

  • Added <meta name=”robots” value=”noindex,follow” /> for the default pages [libargutxi]
  • Added zcml:condition=”not-have plone-43” for canonical viewlet [libargutxi]

1.0.3 (2012/09/10)

  • Batch template needs base urls without parameters [erral]

1.0.2.1 (2012/09/10)

  • Brown bag release: Remove debugging output from template. [erral]

1.0.2 (2012/09/10)

  • Fix batch url for 2nd and next pages [erral]

1.0.1 (2012/09/07)

  • One more check in baching [erral]

1.0 (2012/09/07)

  • Fix batches’ base url with canonical urls [erral]
  • Remove trailing / for the canonical urls, rely on the default view (template or default page) [erral]
  • Added <link rel=”canonical” …> tag for all pages. [erral]
  • Added meta noindex, follow tag for batch pages [erral]
Release History

Release History

This version
History Node

1.1

History Node

1.0.3

History Node

1.0.2.1

History Node

1.0.2

History Node

1.0.1

History Node

1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cs.seopack-1.1.zip (19.6 kB) Copy SHA256 Checksum SHA256 Source Nov 18, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting