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.

79 comments
  1. golden goose

    I would like to show my love for your kindness in support of all those that need guidance on this one topic. Your special commitment to getting the solution all around appeared to be definitely powerful and have specifically enabled individuals like me to reach their dreams. The valuable help entails this much to me and especially to my mates. Many thanks; from each one of us.

  2. yeezy

    I intended to create you this little bit of observation to be able to give many thanks yet again for those unique knowledge you have contributed in this case. This is simply seriously open-handed of people like you to make without restraint what a lot of folks could have offered for an e book to generate some money for their own end, particularly since you could have tried it if you considered necessary. Those tricks likewise served as the good way to recognize that most people have the same zeal like mine to know a great deal more in regard to this issue. Certainly there are thousands of more pleasant instances in the future for many who scan your blog.

  3. jordans

    I have to get across my appreciation for your kindness supporting people that should have guidance on the question. Your real dedication to passing the solution all through had been particularly useful and has in most cases encouraged folks just like me to achieve their targets. The invaluable guide signifies a whole lot to me and substantially more to my office colleagues. Warm regards; from everyone of us.

  4. kyrie 9

    Thank you for all your valuable efforts on this site. My aunt really loves carrying out research and it’s really simple to grasp why. My partner and i notice all concerning the powerful manner you offer great tactics by means of the website and in addition inspire participation from people on the idea then our own child is always learning a lot. Enjoy the rest of the new year. You are carrying out a terrific job.

  5. off white outlet

    I precisely needed to say thanks yet again. I do not know what I might have accomplished without the tips shared by you directly on such theme. It has been a alarming circumstance in my opinion, nevertheless finding out the very professional strategy you solved that forced me to cry with joy. I will be happier for your work and in addition hope that you comprehend what an amazing job you are always putting in training the mediocre ones with the aid of your website. I am sure you’ve never met all of us.

  6. supreme

    I simply needed to say thanks yet again. I do not know the things that I would have used in the absence of those suggestions shared by you about such question. Previously it was a very intimidating matter in my view, however , understanding a skilled avenue you managed that forced me to jump over fulfillment. Now i’m happier for the advice and even sincerely hope you comprehend what a great job you are always getting into teaching many others using a site. Probably you’ve never got to know all of us.

  7. kobe sneakers

    I precisely had to say thanks all over again. I’m not certain the things that I would’ve achieved in the absence of the information documented by you directly on such theme. It was an absolute terrifying case for me personally, however , taking note of a specialized technique you handled it took me to weep with joy. I’m happy for this work and hope you comprehend what a great job you have been doing educating the mediocre ones with the aid of your webpage. More than likely you’ve never met all of us.

  8. supreme clothing

    I wish to get across my affection for your kind-heartedness supporting men and women that have the need for assistance with this particular study. Your real commitment to getting the solution all through had become rather helpful and have always encouraged regular people much like me to attain their endeavors. Your warm and helpful tips and hints denotes a whole lot to me and much more to my peers. Best wishes; from each one of us.

  9. kyrie 7 shoes

    My spouse and i got really thankful Louis managed to deal with his basic research through the precious recommendations he was given when using the blog. It’s not at all simplistic just to be handing out techniques which the others have been selling. And now we do know we have got the writer to give thanks to for that. The type of explanations you made, the straightforward site menu, the friendships you will make it easier to engender – it’s mostly spectacular, and it is leading our son in addition to our family do think that matter is pleasurable, which is certainly extraordinarily important. Thank you for all the pieces!

  10. kyrie spongebob

    I simply had to thank you so much once again. I’m not certain the things that I might have gone through without these tips contributed by you directly on such a theme. This was a traumatic matter in my circumstances, but considering the professional style you solved that forced me to jump over happiness. Extremely thankful for this service and even pray you find out what a powerful job you are always accomplishing instructing other individuals using your website. More than likely you’ve never met all of us.

  11. supreme hoodie

    I am only commenting to let you know what a incredible experience my friend’s daughter undergone using your blog. She picked up a wide variety of details, which included what it is like to possess a very effective giving spirit to get a number of people easily know just exactly several tortuous issues. You actually surpassed people’s desires. Thanks for providing those valuable, dependable, edifying not to mention cool thoughts on your topic to Julie.

  12. off white t shirt

    I want to voice my love for your generosity in support of those people who really need guidance on that content. Your personal commitment to getting the message along turned out to be rather beneficial and have usually helped others like me to arrive at their aims. Your entire informative instruction denotes a great deal a person like me and far more to my fellow workers. Warm regards; from each one of us.

  13. curry 6

    I enjoy you because of all of your labor on this site. Debby delights in conducting internet research and it’s really simple to grasp why. My partner and i hear all relating to the lively medium you present helpful secrets via this blog and therefore invigorate participation from some others on this matter plus my princess has always been starting to learn a whole lot. Take advantage of the remaining portion of the year. You’re doing a pretty cool job.

  14. off white nike

    I want to show my admiration for your generosity in support of folks that must have assistance with this important question. Your personal commitment to passing the solution across came to be wonderfully valuable and has in every case empowered some individuals like me to reach their aims. Your entire helpful tips and hints means a whole lot a person like me and somewhat more to my colleagues. Thanks a lot; from all of us.

  15. steph curry shoes

    I would like to point out my affection for your kind-heartedness giving support to individuals who require help on the study. Your special commitment to passing the solution throughout ended up being extraordinarily insightful and have specifically enabled associates just like me to attain their ambitions. This warm and helpful information denotes much a person like me and substantially more to my fellow workers. With thanks; from all of us.

Laisser un commentaire

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