SPIP-Contrib

SPIP-Contrib

عربي | Deutsch | English | Español | français | italiano

273 Plugins, 191 contribs On SPIP-Zone, 45 visitors now

Homepage > Statistiques et référencement > Référencement, métadonnées et SEO > Plugin SEO > Plugin SEO

Plugin SEO

Search Engine Optimisation Plugin

6 August 2009 – by Pierre ROUSSET, Thomas Sutton – <blink style='color:red;'>public|spip|ecrire:commentaire</blink>

All the versions of this article: [English] [français]

7 Votes

The SEO plugin adds the possibility to automatically insert <meta> tags, canoical URL, Google webmaster tools meta code and Google Analytics javascript code in the <head> of your website.

It is fully configurable in the SPIP configuration page and meta tag values can be supplied for each article and section independently.

INSTALLATION

Manual installation

You may use the following tags in your templates:

  • #SEO_META_TAGS: to insert the configured <meta> tags.
  • #SEO_GWT: to insert the Google Webmaster Tools <meta> tags.
  • #SEO_URL: to insert the canonical <link> tag.
  • #SEO_GA: to insert the JavaScript Google Analytics tags.

You should insert #SEO_META_TAGS before your call to #INSERT_HEAD, and then #SEO_GWT.

The #SEO_GA tag can be inserted at the foot of the page.

Automatic installation

The #INSERT_HEAD tag must be present in all of your templates (before <INCLURE{fond=inc-head}>, if used).

ATTENTION: the plugin will not work correctly if you place #INSERT_HEAD in the inc-head.html file or another file that you include in the <head> of your squelettes. As a result the plugin is not compatible with the “squelettes-dist” include in SPIP base package.

CONFIGURATION

The plugin configuration is available in “Site Configuration / Search Engine Optimization” (see screenshot below).

If “Activate meta tags editing in rubriques and articles” is activated you can configure the <meta> tags in each section or articles through the form that is added to the editing pages.

PNG - 129.1 kb
Page de Configuration

HOW IT WORKS

  • Meta tags (if enabled): The <meta> tags are added to the home page and all article and section pages where #INSERT_HEAD is present. You can configure the default behaviour in the configuration of the plugin but if “Activate meta tags editing in rubriques and articles” is enabled these per-page values have the priority if specified.
  • Canonical URL (if enabled): Canonical URLs are added to the home page and all section and article pages.
  • Google Webmaster Tools (if enabled): The Google Webmaster Tools verification code <meta> tag is added only on the home page.
  • Google Analytics (if enabled): The Analytics JavaScript code is added to all pages where #INSERT_HEAD is present.
Back to top

Your comments

  • On 17 August 2009 at 04:14, by Thomas Sutton Replying to: Plugin SEO

    The plugin has a bug. It should specify canonical URLs with a <link rel=...>, not a <link rev=...>.

    A fixed has been committed to SVN and a new package will be available soon.

    Reply to this message

Comment on this article

Who are you?
  • [Log in]

To show your avatar with your message, register it first on gravatar.com (free et painless) and don't forget to indicate your Email addresse here.

Enter your comment here Les choses à faire avant de poser une question (Prolégomènes aux rapports de bugs. )
Add a document

Back to top

Here they're talking

  • (fr) Squelettes « Chez nous »

    17 avril 2008 – 26 <blink style='color:red;'>public|spip|ecrire:commentaires</blink>

    Jeu de squelettes prêts à l’emploi pour site de maison : visite des lieux, présentation des habitants, chronique et livre d’or.

  • (fr) Formidable, le générateur de formulaires

    23 janvier – 55 <blink style='color:red;'>public|spip|ecrire:commentaires</blink>

    Un générateur de formulaires facilement configurable pour les non-informaticiens et facilement extensible pour les développeurs. Introduction L’objectif était de créer un plugin permettant de générer des formulaires. Historiquement, 2 plugins avaient (...)

  • (fr) Transaction : créer des formulaires avec paiement en ligne

    13 mars 2011 – 33 <blink style='color:red;'>public|spip|ecrire:commentaires</blink>

    Transaction est une extension du plugin de création de formulaires Formidable pour concevoir des formulaires de paiement en ligne et les connecter aux principales API bancaires françaises. Présentation Transaction introduit 3 nouveaux types de (...)

  • (fr) Plugin SPIP-Géoportail

    17 août 2010 – 169 <blink style='color:red;'>public|spip|ecrire:commentaires</blink>

    Plugin pour l’intégration d’objets géographiques dans SPIP avec l’API Géoportail. Affichage de cartes Géoportail, OpenStreetMap (OSM), Google Maps ou Yahoo !... Préambule : Travaillant sur un projet utilisant SPIP et le Géoportail, il nous a semblé (...)

  • (fr) Navigation AJAX

    31 janvier – 13 <blink style='color:red;'>public|spip|ecrire:commentaires</blink>

    Ce plugin permet de modifier automatiquement une parties des liens internes de manière à ce qu’ils ne déclenchent pas un chargement complet de la page cible, mais un chargement en AJAX de certains éléments spécifiés à l’avance. Il permet aussi de (...)