Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Kupası
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

WordPress Kurulumunu Yerel Sunucudan Canlı Siteye Taşıma

Yerel sunucunuzda WordPress ile biraz zaman geçirdikten sonra, sonunda onu canlı bir web sitesine taşımaya karar verdiniz. Ancak, bir sonraki adımınızın ne olması gerektiğini bilmiyormuşsunuz gibi görünüyor. Bu eğitim size yerel WordPress kurulumunuzu canlı web sitenize taşımak için gerekli adımları gösterecek.

Bu görevi üstlenmeden önce, halihazırda bir alan adınız ve bir web barındırıcınız olması çok önemlidir. Bir web barındırıcısında nelere dikkat etmeniz gerektiği ve blogunuz için en iyi alan adını seçmek için ipuçları hakkında bir makale yazdık. Bu eğitimde kullanılan tema Indeziner tarafından yapılmış ve Smashing Magazine tarafından yayınlanmıştır.

Açıklama: İçeriğimiz okuyucu desteklidir. Bu, bazı bağlantılarımıza tıklarsanız komisyon kazanabileceğimiz anlamına gelir. WPBeginner'ın nasıl finanse edildiğini, neden önemli olduğunu ve nasıl destek olabileceğinizi görün. İşte editoryal sürecimiz.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Ultimate WordPress Araç Kiti

Araç setimize ÜCRETSİZ erişim sağlayın - her profesyonelin sahip olması gereken WordPress ile ilgili ürün ve kaynaklardan oluşan bir koleksiyon!

Reader Interactions

25 yorumBir Cevap Bırakın

  1. Nashua Indigo

    Thank you, very helpfull !

  2. darrenth

    Hi,
     
    Have you ever tried uploading to a temporary url? Do you then change the web url and blog url to point to the temp url instead of the domain name?
     
    Thanks

    • wpbeginner

       @darrenth Yes, you would have to. Often when working on bigger projects what happens is that you upload on a subdomain, then use .htaccess to point the main domain to that subdomain and make it look like that everything is on the main domain. A little complex, but that is what we do when working with larger clients.

  3. MarkKeylon

    Thank you very much. I just followed your procedure to load my dev site onto my hosted site <a href=”http://best-forex-trading-signals.com>Best Forex Trading Signals</a> and for the most part, worked like a charm. The only problem I had was that even though I did the whole search and replace thing, there were still some links that I had to convert manually. Among them, custom menu links. I’m not sure if I did something wrong, but it wasn’t too bad to tweak it to finish it afterwards. Thank you.

  4. wpbeginner

    @harwood.wilson6 Yes, you may need to change the media path for that if you find images broken. Glad we were able to help.

  5. harwood.wilson6

    @wpbeginner Wow, that was an easy fix thanks for the help. The next thing I am going to do is track down some of the pictures that are broken.

  6. wpbeginner

    @harwood.wilson6 Make sure the pages exist in the wp-admin panel. If they do, then go to Settings > Permalinks page, and just click Save. Leave everything as is.

  7. harwood.wilson6

    @wpbeginner @harwood.wilson6 i am getting the 404 page not found error. Normally I would just make sure pages are on the server but since wordpress uses php it is a bit different. Please check out the site at elysianfieldsmusic.com/newsite. My goal is to get the site on the root folder eventually. Thanks for any help.

  8. wpbeginner

    @harwood.wilson6 don’t know without really looking at your site. What error are you getting?

  9. harwood.wilson6

    All of my pages broke when I uploaded the site. The homepage works but everything else is missing from the server. Does anyone know where I may have made this fatal error?

  10. jiri

    What about setting up a blog on localhost and latching it onto a subdomain wordpress installation on a server. is that possible?

    • Editorial Staff

      Yes… exact same process except the name would be changed to your subdomain.com rather than domain.com

      Yönetici

  11. Vijay39

    Great post, I almost stumbled on the last task where the database had to be imported. I tried to overwrite an existing databas and that was my error. A NEW DATABASE must be created in MySQL and the local database imported into this empty database.

    Very helpful & clear! Thank you very much!

  12. Chasen

    Seriously this was a time saving tutorial. I was desperately searching for a walk through, and this really hit the spot! Thank you so much for you time on this!

    The only issue I had was reconnecting some images from the :8888 … just simply re-upped them because of the script I am using for the thumbnails>> http://www.darrenhoyt.com/2008/04/02/timthumb-php-script-released/

    Great work! You have may a fan of me.

  13. T-trix

    Thanks, very useful video.

  14. Linda

    Thanks Adeline and “Editorial Staff” – I did manage to find my way back in by editing the URL in the local database.

    So I’ve got it up and going again, THANKS!!

    Again, great video – very helpful.

  15. Adeline

    This video was great and I was successful in moving a local WP to a web server.

    Linda,

    I had the same issue with mine and I found the WP Codex useful.

    Check out: http://codex.wordpress.org/Changing_The_Site_URL

    Make sure you back up your database.

    “Add these two lines to your wp-config.php, where “example.com” is the NEW location of your site.

    define(‘WP_HOME’,’http://example.com’);
    define(‘WP_SITEURL’,’http://example.com’);”

    This worked out fine for me.

  16. Linda

    Hi there, thanks so much for this clear video explanation of how to move the local site to a live server.

    I would like to gain access to my local site again, but before I exported my database I followed the instructions and changed the domain location in Settings > General. So now, of course, the domain points to the live site.

    I can’t figure out where I go to change those URLs back again on my local site. Thanks for your help on this!

    • Editorial Staff

      You access your phpMyAdmin and go to the Options table and edit the URL there back to localhost.

      Yönetici

  17. ebflute

    In the post and in custom fields the URL that I hard coded says something like http://localhost/wordpress/wp-content/uploads/myimagefile.jpg

    but my new URL should be http://www.mydomain.com/wp-content/uploads/myimagefile.jpg

    Do I need to go in after I move the site and change each one of the URLs by hand in the posts and pages?

    or is there a way to use relative URLs in custom fields and posts, I know I cannot use somethign like “TEMPLATEPATH” . because I can’t write PHP in my posts…

    • Editorial Staff

      You can simply edit it using the MySQL query. Go to your phpMyAdmin and select your database. Click the button SQL

      update wp_postmeta set meta_value =
      replace(meta_value,’http://localhost/’,’http://yourdomain.com’)

      Make sure you make a backup first. This will replace everything in that value. Meta

      Yönetici

      • ebflute

        Thank you so much, I will try it.

  18. ebflute

    How do you handle images that have absolute URLs in the blog? Can you edit the export file before importing it?

    • Editorial Staff

      Do you mean you want to replace the URLs of the image to point to something else?

      If they are all with the same domain and you are switching, then its just a simple query away.

      Yönetici

Bir Cevap Bırakın

Yorum bırakmayı seçtiğiniz için teşekkür ederiz. Lütfen tüm yorumların yorum poli̇ti̇kasi uyarınca denetlendiğini ve e-posta adresinizin yayımlanmayacağını unutmayın. Ad alanında anahtar kelime KULLANMAYIN. Kişisel ve anlamlı bir sohbet edelim.