Loading...
web2.0

Transfert site WP sur nouveau serveur

Si vous êtes un fidèle lecteur de ce Blog, vous avez noté que la mise en page a changée. En effet, jordimir.com est désormais sur un nouveau serveur plus puissant. Le site a donc été transféré et j’en ai profité pour mettre à jour WordPress et revu la mise en page.

Transférer un site sur un nouveau serveur, ce n’est pas compliqué mais c’est risqué et il faut être méthodique. Voici comment j’ai procédé pour tranférer ce site WordPress :

1- Transfert FTP (j’utilise FileZilla) des fichiers du site de l’ancien serveur sur mon ordinateur local. Inutile de prendre les fichiers du cache.

2- sauvegarde de la base. Connection ssh au serveur via Putty cd /home/dossierdusite

mysqldump –host=localhost –user=nomduuser –password=monpassword  nomdelabase >nomdelabase.sql

3- Transfert de la sauvergarde locale vers le nouveau serveur et de la base nomdelabase.sql

4-  « Restore » de la base cd /home/dossierdusite là où vous avez mis votre nomdelabse.sql

mysql –host=localhost –user=nomduuser –password=monpassword nomdelabase < nomdelabase.sql

Il faut que la base existe. Vous pouvez la créer par exemple avec phpMyAdmin

5- Mise à jour WordPress. récupérer la dernière version et tranférer cette version sur le nouveau serveur.

6- Configuration

Editer le fichier wp-config.php et le mettre à jour par rapport à votre nouveau serveur. Le transférer.

7- Tester le site. Votre site est donc à cette adresse http://hebergeur.net/~nomdudossier

Mais pas de chance vous n’accéderez pas à votre section admin de WordPress. En effet votre nom de site DNS n’étant pas encore propagé ou tranféré, vous allez être redirigé vers l’ancien serveur. Pour éviter celà, aller dans phpMyAdmin et modifier la table siteurl et mettre http://hebergeur.net/~nomdudossier

Vous aurez ainsi accés à wp-admin et donc faire un upgrade : http://hebergeur.net/~nomdudossier/wp-admin/upgrade.php

8- Aprés avoir testé votre site sur le nouveau serveur. faire la modification des DNS. Il faut patienter entre 24 et 48 heures pour la propagation des DNS. C’est bien long à l’heure du temps réel!

N’oubliez pas dans wp-admin de remettre votre nom de site à la place de http://hebergeur.net/~nomdudossier

P.S Merci de m’indiquer si vous trouvez des bugs sur le nouveau site.

32 comments
  1. kd 12

    I and also my pals have already been looking through the nice secrets located on the blog and so instantly I had an awful feeling I had not thanked the blog owner for those tips. All of the people are already absolutely joyful to read all of them and already have pretty much been enjoying them. We appreciate you indeed being well kind as well as for picking varieties of magnificent topics millions of individuals are really needing to be aware of. My sincere regret for not saying thanks to sooner.

  2. curry

    I as well as my friends appeared to be checking the great helpful hints on the website and then instantly I got an awful feeling I had not expressed respect to you for those tips. Those boys were for this reason warmed to see them and already have extremely been tapping into them. Many thanks for actually being indeed accommodating and for having such really good information millions of individuals are really wanting to be informed on. Our honest regret for not expressing appreciation to you earlier.

  3. kobe

    I would like to voice my admiration for your kindness giving support to persons that have the need for guidance on the situation. Your very own dedication to passing the solution throughout appears to be extremely invaluable and has in most cases encouraged individuals like me to realize their desired goals. This helpful recommendations can mean a great deal a person like me and substantially more to my mates. Thanks a ton; from everyone of us.

  4. kyrie 4

    I would like to express my love for your kind-heartedness in support of all those that really need help with this important niche. Your special dedication to passing the solution throughout ended up being exceedingly informative and have usually allowed people much like me to get to their targets. Your own insightful guide implies so much to me and especially to my mates. Thanks a ton; from everyone of us.

  5. golden goose sneakers

    I simply wanted to jot down a small word to be able to express gratitude to you for these fabulous tactics you are showing on this site. My time intensive internet research has at the end of the day been honored with good knowledge to go over with my friends and family. I would assume that most of us readers are quite fortunate to dwell in a perfect place with very many perfect people with beneficial secrets. I feel very happy to have used your entire web page and look forward to tons of more pleasurable moments reading here. Thank you once more for all the details.

  6. supreme

    I have to get across my respect for your kind-heartedness giving support to persons who should have help on this particular field. Your real commitment to passing the message all through appeared to be remarkably invaluable and has helped individuals just like me to arrive at their dreams. Your entire invaluable advice implies a great deal to me and a whole lot more to my fellow workers. Best wishes; from everyone of us.

  7. Sanora

    Your method of explaining the whole thing in this article
    is really pleasant, every one be able to effortlessly be aware of it, Thanks a lot.

  8. Chas

    I do consider all of the concepts you have offered to your post.
    They are very convincing and can definitely
    work. Still, the posts are very short for beginners. May just you
    please prolong them a bit from next time? Thanks for the
    post.

  9. yeezy

    I have to voice my admiration for your kind-heartedness supporting men and women who require help with the topic. Your special dedication to passing the message throughout became extraordinarily practical and has consistently enabled guys like me to reach their aims. Your own informative guideline entails so much to me and even more to my colleagues. Thanks a ton; from all of us.

  10. supreme

    I precisely wished to thank you so much again. I’m not certain the things I might have created in the absence of the entire information contributed by you relating to such a theme. Entirely was the fearsome case in my opinion, but viewing your well-written technique you treated that made me to cry with happiness. Extremely grateful for the help and even expect you realize what a powerful job you have been doing instructing many people through the use of a site. I am sure you haven’t encountered any of us.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *