Google sitemap WordPress SPIP

Pour mieux référencer son site, Google propose de créer un plan du site au format XML ou compressé en .gz. Voir à cette adresse.

Sitemap est un protocole plus d’infos ici
Exemple simple de sitemap.xml :

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

Ce sitemap est limité à 50 000 URLs et 10MB. Si on a un sitemap qui dépasse on peut utiliser un index, comme cet exemple :

<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

Plugin WordPress

Un plugin existe http://www.arnebrachhold.de/redir/sitemap-home/

Plugin SPIP

Il y a un plugin  disponible sur SPIP zone au nom de sitemap_x_x.zip pour Spip 1.9. Prenez la dernière version et décompressez le contenu dans le répertoire « plugins/ » à la racine du SPIP (créez le si besoin). Vous aurez alors accès au lien vers la page des plugins. A lire aussi http://www.spip-contrib.net/Sitemap-Google

A lire pour Spip 2

Pour une adresse en .XML vous pouvez ajouter dans htaccess :

RewriteRule ^sitemap[.]xml$      spip.php?page=sitemap [QSA,L]


la version sitemap est à 0.9 Le plugin déclare la page sommaire, je préconise d’effacer cette boucle. Regarder le source (le xml généré) de ce plugin et adapter le à vos besoins. Préférez le codage utf8 du XML, un filtre existe pour vos URLS |utf8_encode

Activez votre plugin nouvellement créé. Vous pourrez ensuite accéder à votre sitemap directement par l’url :



Allez dans votre interface de gestion Google et soumettez votre sitemap.


Vous pouvez renseigner votre sitemap dans le fichier robots.txt placé à la racine de votre site :

User-agent: *
Sitemap: http://www.monsite.fr/spip.php?page=sitemap

  1. ERP Guatemala

    I have learned new things by means of your site. One other thing I would really like to say is the fact newer computer system operating systems are likely to allow more memory to use, but they in addition demand more storage simply to run. If someone’s computer is not able to handle additional memory and also the newest application requires that memory space increase, it might be the time to buy a new Computer. Thanks

  2. urine warmer

    Thank you, I have recently been searching for info about this topic for a long time and yours is the best I have found out till now. But, what about the conclusion? Are you positive about the supply?

  3. 3d printer filament near me

    Thanks for the several tips contributed on this site. I have realized that many insurance firms offer consumers generous discount rates if they elect to insure many cars together. A significant quantity of households have got several automobiles these days, specifically those with old teenage kids still residing at home, plus the savings for policies might soon mount up. So it will pay to look for a bargain.

  4. nuestros departamentos

    Thanks for helping me to attain new suggestions about pcs. I also contain the belief that certain of the best ways to keep your laptop computer in perfect condition is a hard plastic case, or perhaps shell, that will fit over the top of one’s computer. A majority of these protective gear are generally model specific since they are made to fit perfectly within the natural housing. You can buy these directly from the owner, or through third party sources if they are readily available for your laptop, however only a few laptop could have a cover on the market. Once again, thanks for your suggestions.

  5. how to start a payment processing company

    Thanks for revealing your ideas in this article. The other thing is that if a problem arises with a personal computer motherboard, folks should not go ahead and take risk with repairing the item themselves because if it is not done right it can lead to irreparable damage to the complete laptop. It is almost always safe just to approach the dealer of that laptop with the repair of that motherboard. They’ve already technicians who may have an competence in dealing with laptop motherboard troubles and can get the right analysis and perform repairs.

  6. off white outlet

    I must show my respect for your kind-heartedness supporting those people that must have help on your area of interest. Your special commitment to getting the message along has been certainly good and has frequently permitted most people just like me to attain their ambitions. Your amazing interesting facts signifies a lot a person like me and especially to my fellow workers. With thanks; from all of us.

  7. merchant services ISO program

    Thanks for the suggestions you have discussed here. Yet another thing I would like to mention is that personal computer memory demands generally increase along with other developments in the know-how. For instance, when new generations of cpus are made in the market, there is usually a matching increase in the scale preferences of all laptop or computer memory along with hard drive space. This is because the program operated by simply these processor chips will inevitably rise in power to leverage the new technological know-how.

  8. off white

    I want to express my admiration for your generosity for those individuals that should have help with in this topic. Your special dedication to getting the message throughout became extraordinarily practical and have surely made individuals just like me to get to their objectives. Your entire important tutorial can mean a whole lot a person like me and even more to my office workers. Regards; from all of us.

  9. yeezy shoes

    I am just writing to make you know what a remarkable encounter my friend’s child enjoyed browsing your site. She realized some things, most notably what it is like to have an incredible giving style to let others quite simply completely grasp specific very confusing subject areas. You undoubtedly exceeded visitors’ expected results. Many thanks for presenting such effective, healthy, educational not to mention cool thoughts on the topic to Mary.

  10. paul george shoes

    I am glad for commenting to let you know what a remarkable experience my cousin’s girl went through studying the blog. She mastered plenty of things, most notably how it is like to possess an awesome giving character to let other folks without hassle have an understanding of various hard to do subject matter. You undoubtedly exceeded my expectations. I appreciate you for churning out the informative, dependable, informative and in addition fun thoughts on your topic to Tanya.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée.