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.

47 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.

  11. kawhi leonard shoes

    I have to voice my respect for your kindness in support of folks that have the need for guidance on this niche. Your personal dedication to passing the message along had been astonishingly functional and have in every case encouraged many people much like me to reach their objectives. This valuable report means a lot to me and even more to my mates. Best wishes; from all of us.

  12. nike kyrie 5

    I want to get across my affection for your kindness supporting people that really want assistance with this content. Your personal dedication to passing the message across came to be wonderfully functional and have continuously encouraged many people like me to get to their goals. Your entire warm and helpful guidelines can mean this much a person like me and substantially more to my peers. Best wishes; from each one of us.

  13. pg 4

    I want to voice my appreciation for your kind-heartedness supporting folks that require assistance with in this concern. Your very own dedication to getting the solution across had become exceedingly insightful and have constantly made women much like me to arrive at their objectives. Your entire useful report can mean this much to me and far more to my colleagues. Thank you; from everyone of us.

  14. supreme hoodie

    I want to show my respect for your kind-heartedness for individuals that need help with in this area of interest. Your special dedication to getting the message around became certainly advantageous and have specifically enabled some individuals like me to attain their pursuits. Your personal interesting guideline implies a great deal to me and much more to my colleagues. With thanks; from everyone of us.

  15. golden goose

    I definitely wanted to develop a message to appreciate you for those amazing guides you are showing on this site. My considerable internet search has at the end of the day been paid with reputable knowledge to write about with my friends and classmates. I ‘d believe that we visitors actually are truly endowed to be in a remarkable place with many wonderful people with insightful methods. I feel pretty happy to have discovered your webpage and look forward to really more thrilling minutes reading here. Thank you once again for all the details.

  16. goyard outlet

    Thanks so much for giving everyone remarkably remarkable chance to read in detail from here. It is often very terrific and stuffed with amusement for me and my office colleagues to visit the blog at a minimum thrice in one week to read through the newest stuff you have. And definitely, I’m also at all times fulfilled for the splendid hints served by you. Certain 4 facts on this page are surely the simplest we’ve ever had.

  17. yeezy 500

    I intended to write you this very small remark in order to thank you yet again over the amazing knowledge you have discussed in this article. This has been tremendously generous of people like you to make unhampered just what most people would’ve supplied as an electronic book in making some cash on their own, mostly seeing that you might well have tried it if you ever considered necessary. Those advice additionally served as the good way to comprehend the rest have similar dreams much like mine to understand a whole lot more related to this problem. I think there are thousands of more fun moments ahead for folks who go through your site.

  18. cheap kyrie 6

    I wanted to compose you one tiny note in order to give thanks the moment again with the gorgeous ideas you have contributed on this site. It’s certainly strangely open-handed of you to offer unreservedly what a number of people could possibly have offered as an e-book to help make some money for their own end, most notably considering that you might have done it in case you desired. Those good ideas likewise worked like the fantastic way to recognize that other individuals have the identical dream like my own to know the truth a good deal more when it comes to this matter. I’m certain there are numerous more fun opportunities ahead for folks who examine your website.

Laisser un commentaire

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