Upgrader WordPress en 5 étapes sécurisées

A l’heure où WordPress 2.3 vient de sortir avec toutes ses incertitudes quant à la compatibilité des plugins et des thèmes que l’on utilise et cette nouvelle version, voilà que BlogSecurity publie une contribution intéressante de Roland Rust au sujet de la sécurisation de l’upgrade de WordPress.

L’idée générale est de faire une sauvegarde de son installation de WordPress et de la faire tourner sur une installation en local.

Je vais reprendre ici un résumé de ces 5 étapes.

Première étape- Backup.

Installer et utiliser le plugin BackUpWordPres. Sélectionner l’option « backup complet » (full backup) qui permet de récupérer à la fois la base de donnée et les fichiers uploadés par FTP.

Téléchargez la sauvegarde.

Deuxième étape – XAMPP.

Installer un XAMPP sur votre ordinateur personnel. XAMPP (ou WAMP5 sous Windows) contient Apache, Mysql et PHP pour faire tourner en local une installation de WordPress.

Importer votre backup dans votre installation locale. Pensez à utiliser bigdump pour vous faciliter le travail.

Attention il aura fallu soit créer dans MySql une base de donnée et un utilisateur identique à ceux de votre hébergement, soit modifier votre fichier wp-config.php pour utiliser la base locale.

Troisième étape- un peu de SQL.

Il s’agit de modifier un peu les enregistrements dans la base de donnée. Cela se passe sous phpMyAdmin :

UPDATE wp_options SET option_value = ‘http://localhost’ WHERE option_value = ‘[your_blog_url]’;

UPDATE wp_options SET option_value = ‘http://localhost’ WHERE option_value LIKE ‘[your_wordpress_url]’;

Changez [your_blog_url] et [your_wordpress_url] par les paramètres présents dans l’onglet option de votre installation web de WordPress.

Désactivez tous les plugins de votre WordPress local qui ne seraient pas absolument indispensable avant de passer à l’étape 4.

Quatrième étape – Installation de WordPress 2.3.

Téléchargez la dernière version de WordPress 2.3 et copiez tous les fichiers dans l’emplacement de vos fichiers locaux.

Naviguez jusqu’à http://localhost/wp-admin/upgrade.php et suivez les instructions pour mettre à jour votre installation locale.

Réinstallez vos plugin un à un et testez votre WordPress en local soigneusement.

Cinquième étape – Mise à jour distante.

Quand vous êtes sur que tout va bien en local, assurez vous que vous avez une sauvegarde récente de votre site et lancez vous à l’étape 4 ci dessus après avoir désactivés vos plugins « distants ».

Un plugin comme Demo Mode permet de défendre l’accès à votre blog pendant que vous êtes en train de faire les mises à jour.

Notes.

L’article original est complété par quelques conseils pour répondre à des problèmes particuliers.

Je crois que c’est cette procédure que je vais essayer de suivre pour passer en 2.3. Je vous tiendrais au courant de mes observations…


Tags : , , , ,
Trackbacks Commentaires
  • nico dit :

    Ah…
    Troisième article que je lis sur le sujet, troisième procédure différente !
    Tu nous tiens au courant ?

    Je ne vois pas l »intérêt de le faire tourner en local…
    Une simple sauvegarde de la base et du répertoire du blog devrait suffir en cas de foirage, l’upgrade peut alors se faire en direct sur le serveur ?

    Merci pour l’info, à suivre !

  • libretto dit :

    Oui mais quand on ne veux pas prendre de risque cette proposition en 5 étapes est vraiment préférable.

  • lebazaar dit :

    Moi je vais suivre cette procédure car je n’ai pas envie que mon blog se barre en c…..Donc merci pour ce tuto ;-)

  • Thierry dit :

    J’ai la version 2.3 sur mon blog et la mise a jour s’est passée sans probleme excepté un probleme de table avec le plugin tag cloud. Je vois qu’il fonctionne impec ici alors je vais voir si je trouve une solution. En tout cas merci pour ce tutoriel tres intéressant (excepté l’étape en local un peu inutile a mon avis.

  • john dit :

    J’ai (stupide et inconscient que je suis) utilisé le plugin Instant Upgrade après avoir sauvegardé ma base de données … et c’est passé :)

  • MArc dit :

    XAMP, WAMP toujours les mêmes… et MAMP alors ? y’a une communauté Mac aussi ! ;)

  • cmos-isem dit :

    2. Blade There are some snowblowers that feature a blade on the auger, which is extremely convenient

    with ice and stiff snow. It can be a pain removing all snow from the driveway and sidewalks after

    freezing to the ground. Having a blade can help with the process of quickly breaking up the ice and

    removing it from the walkway.
    3. Power As expected, there are different powers to choose from as far as the engine goes with the

    snow machine. Although it can become quite pricey, there are some powerful snowblowers. Think about

    how much snow you typically get during the winter and decide how much power you really need. If the

    winter consists of several large snow storms, a larger nine horsepower engine may be needed. But if

    you are used to nothing more than small two to three inch snowstorms, a smaller engine will get the

    job done.

  • greenzee dit :

    A military mission requires that the soldier not only be in the right state of mind in order to perform the job correctly, but also that they have the right gear in order to get through the mission safely. When going on any type of mission, there are a few standard pieces of gear that each member should have in their possession.
    Tactical BootsThe first is tactical boots. These boots allow for the personnel to trudge through anything. They are waterproof so that the soldier does not have to worry about contacting diseases and illnesses of the foot that were so common during the times of the Vietnam War. Plus, these boots are designed for high mileage, meaning that the member does not have to worry about wearing out the soles of the boots after trudging through the wilderness or any other type of environment. These boots are usually issued to the member once they join. However, most members prefer to have a slightly worn, but new pair before they begin the mission since they want boots that are going to hold up to the conditions, but not end up blistering their feet because they have not been worn in properly.

  • Tactical PantsThe second piece of gear is tactical dress uniform (TDU) pants. These pants are made

    with a thicker material than just average pants, which means that they are going to hold up when

    coming in contact with other objects, such as thorns on bushes, as well as being able to withstand

    the member having to drop and crawl on the ground. These pants are usually somewhat waterproof and

    can be sprayed with a protector in order to keep the water from penetrating too badly. Plus, the

    tactical pants come in a wide array of colors, which means that the military member can blend in with

    the environment. This is very important when going on a high risk mission.
    Combat JacketThe last piece of gear is a combat jacket. These jackets can be worn with or without

    protective plates that can save personnel from being injured if they come under fire. These do weigh

    quite a bit, however, most members have trained with the combat jackets on, so they are prepared and

    know what to expect. These jackets are camouflaged to blend in with the environment, which can give

    personnel further protection, just as the pants do. They also protect the military member from the

    environment by providing cover during the scorching sun, as well as warmth during cold winters.

  • As Halloween approaches, you may be looking for Halloween costume ideas. Or, you may have a costume already in mind and are just looking to find it for sale. Yes, you can perform a standard internet search to find a handful of online Halloween costume websites or you can visit a local seasonal store, but I have another suggestion for you. That suggestion is turning to Craigslist.org. Why should you buy a costume from Craigslist?

  • rampartfestif dit :

    - Hard to Find or Unique Costumes
    Not only will you find a wide range of costumes on Craigslist, but some of those may be limited edition, vintage, or just hard to find ones. Once again, you can expand your reach by searching more than just your local city page. When it comes to tracking down a vintage or rare costume, you may need to ask the seller to ship the purchase to your home. While Craigslist warns against shipping (because they are designed to connect local buyers and sellers) it is usually safe if shipping was your idea.

  • So you are thinking about Buying a K-Cup coffee brewer? Here are 5 reasons here are a few good reasons why I switched to this system.
    A few years ago when I first used a Keurig K-Cup coffee machine I knew it would be the only way I would be making coffee in the future. There are many benefits of using K-Cups instead of brewing instant coffee or brewing a pot of coffee.

  • weight brand dit :

    to the conditions, but not end up nike requin blistering their feet because they have not been worn in properly

  • blogs plait dit :

    L’idée générale est de faire une sauvegarde de son installation de WordPress et de la faire nike tn tourner sur une installation en local

  • Riding a motorcycle gives us a great adrenaline rush. We love the rugged, masculine charm that comes with a Ducati, a Harley Davidson or a Yamaha. But every responsible rider needs to take care of his safety too, by wearing a proper helmet. This is a protective head gear worn by motorcyclists to avoid injury to their face and heads, in the event of a fall or an accident.
    There are many companies who manufacture various types of helmets. One company that has gained the trust of motorcycle riders across the UK is Arai. Arai motorcycle helmets stand for handmade quality, unsurpassed comfort and fit. Arai has been making helmets for generations, ever since it was started by Hirotake Arai 60 years ago. Every helmet they make is a 100 per cent handmade and goes through three separate quality-control checks – one after the shell is made, one after painting and graphic completion and one after it is assembled.

  • The Chaser collection boasts of a very innovative design along with expert craftsmanship. The outer shell is made of strong fiber glass tested for penetration, while the bottom shell features the hyper ridge for extra strength, and yet these Arai motorcycle helmets are feather light to carry. They also come with a unique ventilation system that includes an inlet duct on the front and an exhaust duct at the back, easily operable by large buttons. This ensures the visor doesn’t fog up and keeps the rider comfortable even on the longest of journeys. Replaceable cheek pads add to the comfort of the rider.

  • lvx-occulta dit :

    Arai helmets offer products for various purposes and the choice is unending. One of most popular series of helmets is the Chaser helmet series. These helmets offer a variety of race replicas in a myriad of colors and graphics. The outer shell is constructed of super fibre and has a triple density inner that is singularly formed. The patented polycarbonate visor can be easily removed with the aid of the lever release system provided.
    The Astro Light collection of Arai helmets is another one worth checking out. Specifically designed for smaller head sizes they are ideal for women riders and children. Its light complex laminate construction and triple density inner liner make it amazingly strong, and yet this lightweight helmet sits high on the shoulders. This helmet is available in 4 different finishes and is safety tested.

  • version serveur dit :

    voilà que BlogSecurity publie une polo ralph lauren contribution intéressante de Roland Rust au sujet de la

  • make serveur dit :

    This helmet is available in 4 nike free run different finishes and is safety tested

  • Julien Amaury dit :

    Je vais reprendre ici un nike tn requin pas cher résumé de ces 5 étapes

  • Arai helmets offer products for various purposes and the choice is unending.Retro Air Jordan Femmes . This helmet is available in 4 different finishes and is safety tested.

  • This helmet is available in 4 different finishes and is safety tested. TN Requin Femmes This ensures the visor doesn’t fog up and keeps the rider comfortable even on the longest of journeys. Replaceable cheek pads add to the comfort of the rider.

  • bien pratiques dit :

    The Astro Light collection of Arai helmets is another one worth air yeezy 2 checking out by wearing a proper helmet.

  • offer very dit :

    Importer votre backup dans votre nike blazer pas cher installation locale

  • idée pour dit :

    This is a pretty big deal for anyone that has spent a lot of money on air max pas cher styling agree to receive payments after the goods have been shipped

  • sarentn dit :

    A few years ago when I first used a Keurig K-Cup coffee machine I knew it would be the only way I would be making coffee in the future. http://www.sarentn.com There are many benefits of using K-Cups instead of brewing instant coffee or brewing a pot of coffee.

  • most members prefer to have a slightly worn, but new pair before they begin the mission since they want boots that are going to hold up to the conditions, http://www.lerenfortdupalais.fr but not end up blistering their feet because they have not been worn in properly.

  • Bonnie Gordon dit :

    Mysql et PHP pour faire tourner en local survetement femme une installation de WordPress

Réagissez