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 için Kolayca Hazırlama Sitesi Oluşturma (Adım Adım)

Editoryal Not: WPBeginner üzerindeki ortak bağlantılardan komisyon kazanıyoruz. Komisyonlar, editörlerimizin görüşlerini veya değerlendirmelerini etkilemez. Editoryal Süreç hakkında daha fazla bilgi edinin.

WordPress için bir hazırlık sitesi oluşturmak istiyor ancak nereden başlayacağınızdan emin değil misiniz?

WordPress hazırlama sitesi, yayına geçmeden önce eklenti güncellemelerini ve diğer değişiklikleri “güvenli bir şekilde” yapmak için kullanabileceğiniz bir test sitesidir.

Bu adım adım kılavuzda, WordPress siteniz için nasıl kolayca bir hazırlama ortamı oluşturacağınızı göstereceğiz. Birkaç farklı yöntemi ele alacağız ve bunların çoğu yalnızca birkaç tıklama gerektiriyor.

How to create a staging site for WordPress

Hazırlık Sitesi Nedir?

Hazırlama sitesi, canlı web sitenizin, değişiklikleri canlı hale getirmeden önce test etmek için kullanılan bir klonudur. Hazırlama siteleri hataları yakalamanıza yardımcı olur, böylece canlı web sitenizi bozmazsınız.

Eskiden bir WordPress hazırlık sitesi kurmak çok zordu, ancak şimdi bu durum değişti ve teknik olmayan bir kişi bile bunu yapabilir.

Birçok kullanıcı değişiklikleri test etmek için WordPress’i Windows veya Mac bilgisayarlarına yerel olarak yükler. Güncellemeleri tamamladıklarında, bu değişiklikleri localhost’tan canlı sunucuya yüklemeleri yeterlidir.

Bu yaklaşımla ilgili en büyük sorun, localhost’unuzda çalışan bir şey canlı sunucuda çalışmazsa ne olacağıdır.

Genellikle yerel siteler ve canlı WordPress barındırma sunucuları aynı ortamda çalışmaz.

Hazırlama sitesi web barındırma sunucunuzda bulunduğundan, canlı sitenizle aynı sunucu yapılandırmasını çalıştırdığı için tüm bu hataları kolayca önleyebilirsiniz.

Bununla birlikte, WordPress için bir hazırlama sitesinin nasıl kurulacağına bir göz atalım.

Kolayca WordPress Hazırlama Sitesi Oluşturma

WordPress için bir hazırlık sitesi oluşturmanın birden fazla yolu vardır. En kolayı, barındırma sağlayıcınızın yerleşik hazırlama sitesi özelliğini kullanmaktır.

En iyi WordPress barındırma şirketlerinden bazıları zaten tek tıklamayla hazırlama siteleri sunuyor. Web siteniz bunlardan birinde barındırılıyorsa, herhangi bir güçlük çekmeden kolayca bir hazırlık sitesi oluşturabilirsiniz.

Bu popüler barındırma çözümlerinden birine sahip değilseniz, bir eklenti kullanarak (ve hatta manuel olarak) bir WordPress hazırlama sitesi oluşturmanıza yardımcı olacak bir çözümümüz de var.

Daha hızlı gezinmek için aşağıdaki navigasyonu kullanarak sizin için en uygun bölüme atlayabilirsiniz:

Bluehost’ta Hazırlama Sitesi Oluşturma

Bluehost en iyi WordPress barındırma şirketlerinden biridir. Tüm planlarında tek tıkla hızlı bir hazırlama sitesi çözümü sunuyorlar.

İlk olarak, Bluehost kontrol panelinize gitmeli ve ‘Sitelerim’ bölümünü ziyaret etmelisiniz.

Ardından, ‘Eklentiler’ sekmesine geçin ve ‘Bluehost Eklentisi’ seçeneğinin yanındaki anahtarı değiştirin.

Turn on Bluehost plugin

Bundan sonra, WordPress sitenizin kontrol paneline gidin ve Bluehost ” Staging sayfasını ziyaret edin.

Şimdi devam edin ve ‘Hazırlama Sitesi Oluştur’ düğmesine tıklayın.

Click create staging site button

Bluehost şimdi web siteniz için hazırlama ortamını hazırlayacaktır.

Bu işlem tamamlandığında, “Şu anda düzenlenmiyor” kutusunu işaretlemeniz gereken bir “Hazırlama Sitesi” bölümü görüntülenecektir.

Click not currently editing button

Şimdi ekranınızda hazırlık sitesine geçmenizi isteyen bir istem açılacaktır.

Buradan, ‘Değiştir’ düğmesine tıklayın.

Click switch button

Geçiş yaptıktan sonra, ekranda hazırlık web sitesinde çalıştığınızı belirten bir düğme göreceksiniz.

Canlı sitenizi etkilemesi konusunda endişelenmeden web siteniz üzerinde çalışmaya devam edebilirsiniz.

Activate theme on staging site

Bluehost’ta Değişiklikleri Hazırlama Aşamasından Canlı Siteye Dağıtma

Değişiklikleri hazırlama aşamasından canlı siteye aktarmaya hazır olduğunuzda, WordPress yönetici kenar çubuğundan Bluehost “ Hazırlama sayfasına gitmeniz yeterlidir.

Buradan, hazırlama web sitenizin yanında dağıtım seçenekleri açılır menüsünü göreceksiniz. Yalnızca dosyaları, yalnızca veritabanını veya tüm değişiklikleri dağıtabilirsiniz.

Emin değilseniz, devam etmek için ‘Tüm Değişiklikleri Dağıt’ düğmesine tıklayın.

Choose the Deploy All Changes option from the Staging Site option

Bundan sonra, açılır menünün yanındaki ‘Siteyi Dağıt’ düğmesine tıklayın.

Bu, hazırlama sitesini üretim sitesine dağıtmak istediğinizi onaylamanız istenecek bir açılır pencere getirecektir. Devam etmek için ‘Dağıt’ düğmesine tıklayın.

Click the Deploy button in the prompt

Bluehost şimdi hazırlık sitenizi canlı siteye dağıtmaya başlayacaktır. Web sitenizin büyüklüğüne bağlı olarak bu işlem biraz zaman alabilir.

Artık Üretim sitesi seçeneğinin altındaki Radyo düğmesine tıklayarak değişikliklerinizi çalışırken görmek için canlı web sitenize geri dönebilirsiniz.

Switch to the Production Site

Üretim Sitesini Evrelemeye Klonlama

Şimdi, üretim web sitesine geri döndüğünüzde, orada yaptığınız herhangi bir değişiklik otomatik olarak hazırlık web sitenizle senkronize edilmez.

Gelecekte, hazırlama web sitenizde daha fazla şeyi test etmek isterseniz sitenizi çoğaltmanız gerekecektir.

Bunu yapmak için Bluehost ” Staging sayfasını ziyaret etmeli ve ‘Clone to staging’ düğmesine tıklamalısınız.

Click Clone to staging button

Bluehost daha sonra canlı web sitenizdeki en son değişiklikleri hazırlık web sitenize klonlayacaktır. Bundan sonra, test ve geliştirme için hazırlama web sitesine geçebilirsiniz.

SiteGround’da Hazırlama Sitesi Oluşturma

SiteGround, GrowBig ve GoGeek planlarıyla tek tıklamayla sahneleme özelliği sunan bir başka üst düzey WordPress barındırma şirketidir.

Web siteniz SiteGround ile barındırılıyorsa, bu şekilde bir hazırlık web sitesi kurarsınız.

İlk olarak, SiteGround kontrol panelinize giriş yapmanız ve Web Siteleri sekmesine geçmeniz gerekir. Buradan web sitenizin altındaki Site Araçlarını seçmeniz gerekir.

SiteGround dashboard

Bir sonraki ekranda sol sütundan WordPress ” Staging menüsüne tıklamanız gerekiyor.

Buradan web sitenizi seçin ve ardından hazırlık kopyanız için bir ad girin.

SiteGround make a staging copy of your website

Devam etmek için ‘Oluştur’ düğmesine tıklayın ve Siteground web sitenizin aşamalı bir kopyasını oluşturacaktır.

Bundan sonra, hazırlama web sitenizi parola ile koruyabilmeniz ve gizli tutabilmeniz için ‘Korumalı URL’lere git’ düğmesine tıklamanız gerekir.

Siteground staging site created

Bir sonraki ekranda, Siteground otomatik olarak hazırlama web siteniz için URL ve yolu dolduracaktır.

Hazırlama sitenizi korumak için kullanmak istediğiniz kullanıcı adı ve parolayı girmeniz gerekir.

Protect staging website

Ayarlarınızı kaydetmek için ‘Koru’ düğmesine tıklayın.

Artık WordPress “ Hazırlama sayfasına geri dönebilir ve hazırlama web sitenizin yanındaki ‘Yönetici Panelinde Oturum Aç’ düğmesine tıklayabilirsiniz.

Login to your staging website

SiteGround şimdi hazırlık web sitenizin WordPress yönetici alanını açacaktır. Değişikliklerinizi bu hazırlık web sitesinde test edebilirsiniz.

Değişiklikleri Canlı Web Sitenize Geri Dağıtın

Değişikliklerinizi hazırlık web sitesinde denedikten sonra, bunları canlı web sitenizle birleştirmek isteyebilirsiniz.

SiteGround bunu da kolaylaştırır.

Sol sütundan WordPress ” Staging menüsüne tıklamanız yeterlidir. Ardından ‘Hazırlama Kopyalarını Yönet’ bölümü altında hazırlama sitenizin yanındaki üç noktalı menüye tıklayın.

Deploy all changes from staging to live website

Menü size iki dağıtım seçeneği gösterecektir. ‘Tam Dağıtım’ ya da ‘Özel Dağıtım’ seçeneklerinden birini seçebilirsiniz.

‘Tam Dağıtım’ seçeneği, hazırlık web sitesindeki her şeyi canlı web sitenizle birleştirir. ‘Özel dağıtım’, hangi dosyaları veya verileri birleştirmek istediğinizi seçmenize olanak tanır.

Emin değilseniz, ‘Tam Dağıtım’ seçeneğini seçin.

SiteGround daha sonra hazırlık sitesini canlı web sitenize kopyalayacaktır.

Canlı Yayını Evreleme Web Sitenizle Birleştirme

Canlı web sitenizde yaptığınız değişiklikler otomatik olarak hazırlama web sitenize kopyalanmaz.

Hazırlama web siteniz üzerinde her çalışmanız gerektiğinde, yeni bir hazırlama web sitesi oluşturmak için yukarıdaki işlemi tekrarlayın.

WP Engine’de Hazırlama Sitesi Oluşturma

WP Engine, dünyanın en iyi WordPress yönetimli barındırma şirketidir. Yönetilen WordPress barındırma, WordPress siteniz için barındırma sağlayıcısının güncellemeler, yedeklemeler, güvenlik ve performansla ilgilendiği bir konsiyerj hizmetidir.

WP Engine, tüm planlarında tek tıklamayla hazırlama çözümü sunar. Web sitenizi barındırmak için WP Engine kullanıyorsanız, siteniz için bir hazırlama ortamını bu şekilde kurarsınız.

İlk olarak, WP Engine kontrol panelinize giriş yapmanız gerekir. Ardından, ‘Siteler’ sayfasına gidin ve üzerine tıklayarak web sitenizi seçin.

WP Engine sites

Bu sizi web sitenizin kontrol paneline götürecektir.

Şimdi, sol sütundan ‘Evreleme Ekle’ bağlantısına tıklamanız veya üstteki site adınızın altından seçmeniz gerekir.

Click to add staging environment in WP Engine

Bu sizi ‘Ortam Ekle’ ekranına getirecektir.

Hazırlama ortamınızla nasıl devam etmek istediğinizi seçmeniz istenecektir.

Copy existing environment to staging site

İşte bu seçeneklerin her birinin ne yaptığı:

  • ‘Yeni bir boş site ile başla’ yeni bir boş site oluşturur.
  • ‘Rehberli bir deneyimle başlayın’, rehberli bir deneyim ve demo içeriğine sahip yeni bir site oluşturur.
  • ‘Mevcut bir ortamı bu siteye kopyala’, üretim veya geliştirme ortamınızı bu siteye kopyalayacaktır (örneğin, canlı sitenizi bu ortama kopyalayın).
  • ‘Mevcut bir ortamı taşı’ bir ortamı bu siteye taşır (örneğin, geliştirme ortamını Staging’e taşımak)
  • ‘Bir WooCommerce sitesiyle başlayın’ seçeneği, WooCommerce’in önceden yüklenmiş olduğu yeni bir WordPress sitesi oluşturur.

Canlı web sitemizin aşamalı bir kopyasını oluşturmak istediğiniz için, ‘Mevcut bir ortamı bu siteye kopyala’ seçeneğine tıklamanız gerekecektir.

Choose environment you wish to copy

Bir ortam seçtikten sonra kopyalamak istediğiniz en son yedeği seçin ve ardından devam etmek için ‘İleri’ düğmesine tıklayın.

Şimdi, hazırlama siteniz için bir ad sağlamanız gerekir. Bu ad, hazırlama sitenizin URL’sinde kullanılacaktır. Bundan sonra, ortam türünüz olarak STG’yi (evreleme) seçin.

Staging site name

Devam etmek için ‘Ortam Oluştur’ düğmesine tıklayın.

WP Engine şimdi sizin için bir hazırlık sitesi oluşturacaktır. Bundan sonra, Hazırlama ortamı kontrol panelinize yönlendirileceksiniz.

Password protect your staging environment

Ardından, hazırlama siteniz için parola korumasını etkinleştirmek üzere Asma Kilit düğmesine tıklamanız gerekir.

Bundan sonra, hazırlama sitesi kullanıcı adınızı ve şifrenizi kopyalamak için ‘Yardımcı Programlar’ sekmesine geçmeniz gerekir.

staging site password

Artık hazırlama web sitenizde oturum açmak için üstteki ‘WP Admin’ düğmesine tıklayabilirsiniz.

Tıpkı başka bir yere kurduğunuz tipik bir WordPress sitesinde yaptığınız gibi, hazırlık web sitesinde değişiklikler yapmaktan ve özellikleri denemekten çekinmeyin.

login to staging website

WP Engine’de Değişiklikleri Evrelemeden Canlı Web Sitesine Dağıtma

Hazırlama web sitesinde yaptığınız değişiklikleri canlı web sitenizle birleştirmek mi istiyorsunuz?

Dağıtıma başlamak için ‘Ortamı Kopyala’ düğmesine tıklamanız yeterlidir.

Copy staging environment

Bu sizi seçenekler sayfasına götürecektir. Buradan, kopyalama için kaynak ve hedef ortamlarınızı seçmeniz gerekir.

Burada kaynak ortam olarak hazırlama web sitenizi ve hedef ortam olarak üretim veya canlı web sitenizi seçeceksiniz.

Deploy options

Neyi kopyalamak istediğinizi seçebilirsiniz. Örneğin, tüm veritabanı tablolarını ve dosyalarını, belirli dosyaları ve veritabanı tablolarını veya yalnızca dosya sistemini kopyalayabilirsiniz.

Not: Her şeyi kopyalarsanız, hazırlama ortamını oluşturmak için kullandıktan sonra canlı web sitenizde depolanan tüm verileri kaybedersiniz. Bu, yeni gönderiler, sayfalar, müşteriler ve siparişler gibi önemli verileri içerebilir. Bu nedenle, hazırlama ortamından dağıtım yapmadan önce canlı sitenizin bir yedeğini çalıştırmak iyi bir fikirdir.

Ardından, dağıtıma başlamak için ‘İncele ve Onayla’ düğmesine tıklayın. Her şeyin canlı web sitenize kopyalanması biraz zaman alacaktır.

İşlem tamamlandığında bir e-posta bildirimi alacaksınız.

WordPress Eklentisi Kullanarak Hazırlama Sitesi Oluşturma

WordPress barındırma şirketiniz bir hazırlık sitesi özelliği sağlamıyorsa, bir WordPress eklentisi kullanarak yine de bir hazırlık web sitesi oluşturabilirsiniz.

Bu yöntemi kullanmanın bazı dezavantajları vardır.

İlk olarak, bir eklenti barındırma sunucunuz üzerinde sınırlı kontrole sahip olacaktır. Bu yüzden her zaman en iyi sonuçları vermeyebilir.

İkinci olarak, kullanacağımız eklenti hazırlık sitenizi kendi sunucularında depolayacaktır. Gizlilik ve veri koruma konusunda endişeleriniz varsa, bu sizin için ideal olmayabilir.

Son olarak, eklentinin bilinen birkaç uyumsuzluğu vardır. Web sitenizin uyumlu olduğundan emin olmak için lütfen uyumsuzluklar sayfasını kontrol edin.

Bununla birlikte, bir WordPress eklentisi kullanarak bir hazırlama WordPress sitesinin nasıl oluşturulacağını görelim.

Yapmanız gereken ilk şey WP Stagecoach eklentisini kurmak ve etkinleştirmektir. Daha fazla ayrıntı için, bir WordPress eklentisinin nasıl kurulacağına ilişkin adım adım kılavuzumuza bakın.

Etkinleştirmenin ardından eklenti, yönetici çubuğunuza WP Stagecoach etiketli yeni bir menü öğesi ekleyecektir. Üzerine tıkladığınızda sizi eklentinin ayarlar sayfasına götürecektir.

Enter WPStagecoach API keys

WP Stagecoach kullanıcı adınızı ve eklenti web sitesindeki hesabınızda bulabileceğiniz API anahtarını girmeniz gerekecektir.

Bundan sonra, WP Stagecoach ” WP Stagecoach sayfasını ziyaret etmeniz ve hazırlık siteniz için bir ad seçmeniz gerekir. Bu ad aynı zamanda WordPress hazırlama web sitenizin alt alan adı olarak da kullanılacaktır.

Connect WP Stagecoach

‘Hazırlama sitesini parola ile koru’ seçeneğinin yanındaki kutuyu işaretlemeyi unutmayın. Bu, hazırlama web sitenizi genel görünümden ve arama motorlarından koruyacaktır.

Devam etmek için ‘Posta Arabasına Bin’ düğmesine tıklayın.

WP Stagecoach progress

Eklenti şimdi WordPress dosyalarınızın ve veritabanınızın bir yedeğini oluşturarak bunları hazırlama siteniz için dışa aktaracaktır.

WordPress web sitenizin boyutuna bağlı olarak biraz zaman alabilir.

Tamamlandığında, hazırlık sitenizin ve yönetici alanının bağlantısını göreceksiniz.

WP Stagecoach fiinished creating a staging site

Hazırlama sitenizi ziyaret etmek ve üzerinde çalışmaya başlamak için bağlantıya tıklayabilirsiniz.

En üstteki yönetici çubuğunda, hazırlık siteniz üzerinde çalıştığınızı belirten parlak turuncu bir mesaj göreceksiniz.

WPSC staging preview

WP Stagecoach Kullanarak Evreleme Sitesini Canlıya Dağıtma

Değişiklikleri canlı sitenize aktarmaya hazır olduğunuzda, WP Stagecoach ” Değişiklikleri İçe Aktar sayfasına gidin ve değişiklikleri kontrol et düğmesine tıklayın.

Check for changes

Eklenti şimdi hazırlık sitenizdeki değişiklikleri kontrol edecek ve ardından bunları içe aktarmak için seçenekler gösterecektir.

Tüm değişiklikler, dosya değişiklikleri veya veritabanı değişiklikleri arasından seçim yapabilirsiniz.

Changes options

Eklenti size içe aktarma işleminin ilerleyişini gösterecek ve tamamlandığında sizi bilgilendirecektir.

Artık tüm değişikliklerin başarıyla içe aktarılıp aktarılmadığını görmek için canlı sitenizi test edebilirsiniz.

WordPress için Manuel Olarak Hazırlama Sitesi Oluşturma

Bu yöntem size WordPress kurulumunuz için manuel olarak bir hazırlama sitesi oluşturmayı öğretecektir. İleri düzey kullanıcılar içindir ve yukarıda açıklanan diğer yöntemlerden daha fazla çalışma gerektirir.

Bu yöntemin bir başka dezavantajı da, değişiklikleri hazırlama aşamasından canlı sunucuya geri dağıtırken web sitenizin geçici olarak kullanılamayacak olmasıdır.

Bununla birlikte, WordPress siteniz için manuel olarak nasıl bir hazırlama ortamı oluşturacağınızı görelim.

Öncelikle, hazırlık web siteniz için bir alt alan adı oluşturmanız gerekir. Bluehost kullanıyorsanız, hosting hesabınızın kontrol paneline gidin ve ‘Gelişmiş’ sekmesine geçin.

Ardından, ‘cPanel’ seçeneğinin yanındaki ‘Yönet’ düğmesine tıklayın.

Click Manage button next to the cPanel option

Bu işlem cPanel’i yeni bir sekmede açacak ve burada ‘Alan Adı’ bölümüne ilerlemeniz gerekecektir.

Buradan, ‘Alan Adları’ seçeneğine tıklayın.

Click the Domain option in the cPanel

Bu, hosting hesabınızdaki tüm alan adlarının bir listesini açacaktır. Burada, ‘Yeni Alan Adı Oluştur’ düğmesine tıklamalısınız.

Bunu yaptığınızda, ekranda yeni bir sayfa açılacak ve burada ‘Alan Adı’ alanının altına alt alan adınızı ve ardından alan adını aşağıdaki gibi yazmanız gerekecektir:

subdomain.example.com

Bundan sonra, ayarlarınızı kaydetmek için ‘Gönder’ düğmesine tıklamanız yeterlidir.

Create a sub domain

Not: Örnek ekran görüntülerimizde Bluehost kullanıyoruz, bu nedenle ekranınız farklı görünebilir.

Hosting kontrol paneliniz şimdi canlı WordPress sitenizi içe aktarmak için kullanabileceğiniz alt alan adınızı ekleyecektir.

Ardından, Duplicator eklentisini canlı sitenize yüklemeniz ve etkinleştirmeniz gerekir. Tüm özelliklere ihtiyacınız varsa, Duplicator’ın premium sürümünü buradan edinebilirsiniz.

Etkinleştirmenin ardından, WordPress yönetici kenar çubuğunuzdaki Duplicator menüsüne tıklamanız ve Paketler altındaki ‘Yeni Oluştur’ düğmesine tıklamanız gerekir.

Create new Duplicator package

Bundan sonra, devam etmek için ‘İleri’ düğmesine tıklamanız istenecektir. Duplicator şimdi web sitesi çoğaltıcı sihirbazını çalıştıracaktır.

İlk olarak, her şeyin yolunda olup olmadığını görmek için bazı testler yapacaktır. Tüm öğeler ‘İyi’ olarak işaretlenmişse, ‘Oluştur’ düğmesine tıklayın.

Duplicator build package button

Eklenti şimdi WordPress siteniz için bir Duplicator paketi oluşturmaya başlayacaktır. Bu işlem web sitenizin büyüklüğüne bağlı olarak birkaç dakika sürebilir.

Tamamlandığında, Yükleyici ve Arşiv paketi için indirme seçenekleri göreceksiniz. Her iki dosyayı da bilgisayarınıza indirmek için ‘Her İki Dosyayı da İndir’ düğmesine tıklamanız gerekir.

Download Duplicator package and installer to your computer

Bu dosyaların her ikisini de yeni oluşturduğunuz alt alan adının dosya dizinine yüklemeniz gerekir. Ayrıntılar için WordPress web sitenize dosya yüklemek için FTP’yi nasıl kullanacağınıza ilişkin kılavuzumuza bakın.

Ardından, yeni hazırlık WordPress sitenizin yeni bir veritabanına ihtiyacı olacaktır. Hadi bir tane oluşturalım.

WordPress hosting hesabınızın kontrol paneline gidin ve ‘Gelişmiş’ sekmesine geçin.

Bundan sonra, ‘Veritabanları’ bölümüne gidin ve yanındaki ‘Yönet’ düğmesine tıklayın.

Click the Manage button next to the Database option

Bluehost kullanmıyorsanız, WordPress barındırma ortamınız biraz farklı görünebilir. Endişelenmeyin ve sadece Veritabanları bölümünü arayın.

Bu sizi veritabanınız için bir ad vererek başlayabileceğiniz ‘MySQL Veritabanları’ sayfasına götürecektir.

Ardından, ‘Veritabanı Oluştur’ düğmesine tıklayın.

Click create database button to create a  Staging site database

Ardından, veritabanınız için bir MySQL kullanıcısı oluşturmanız gerekir.

MySQL Kullanıcıları bölümüne ilerleyin ve yeni veritabanı kullanıcınız için bir kullanıcı adı ve parola girin.

Database username and password

Şimdi bu kullanıcıya daha önce oluşturduğunuz veritabanına erişim ve veritabanını değiştirme izni vermelisiniz.

Basitçe ‘Veritabanına kullanıcı ekle’ bölümüne gidin ve veritabanınızı ve yeni oluşturduğunuz kullanıcıyı seçin.

Add user to database

Bundan sonra, devam etmek için ‘Ekle’ düğmesine tıklayın.

Kullanıcı için ayrıcalıkları seçmeniz istenecektir. Devam edin ve ‘Tüm Ayrıcalıklar’ onay kutusunu seçin ve ardından ‘Değişiklik yap’ düğmesine tıklayın.

Manage user privileges

Artık veritabanınız hazırlık web siteniz için kullanılmaya hazırdır.

Ardından, yeni bir tarayıcı sekmesi açmanız ve hazırlama sitenizin alt alan adını şu şekilde girmeniz gerekir:

https://yoursubdomain.example.com/installer.php

yoursubdomain ifadesini gerçek alt alan adıyla ve example.com ifadesini kendi alan adınızla değiştirmeyi unutmayın.

Bu, Duplicator yükleyici sihirbazını başlatacaktır.

Enter database details

‘Kurulum’ bölümü altında, yükleyici sizden WordPress veritabanı bilgilerinizi girmenizi isteyecektir.

Ana bilgisayarınız muhtemelen localhost olacaktır. Bundan sonra, bir önceki adımda yeni alan adınız için oluşturduğunuz veritabanının ayrıntılarını gireceksiniz.

Duplicator’ın veritabanınıza bağlanabildiğinden emin olmak için ‘Doğrula’ düğmesine tıklayın.

Duplicator validated

Tamamlandığında, devam etmek için ‘İleri’ düğmesine tıklayın.

Duplicator şimdi WordPress veritabanınızı ve dosyalarınızı açacak ve bunları hazırlama sitenize aktaracaktır.

Tamamlandığında bir başarı mesajı göreceksiniz.

Duplicator wizard finish

Yeni hazırlama sitesinde web sitenizin WordPress yönetici alanına girmek için ‘Yönetici Girişi’ düğmesine tıklayabilirsiniz.

Artık hazırlama sitenizi kurdunuz. Alt alan adına parola koruması ekleyerek onu koruyabilirsiniz.

Hosting hesabınızın kontrol paneline gidin ve ‘Gelişmiş’ sekmesine geçin.

Bundan sonra, ‘cPanel’ bölümüne gidin ve yanındaki ‘Yönet’ düğmesine tıklayın.

Click the Manage button next to the cPanel option

Bu, cPanel’i ‘Dosyalar’ bölümüne kaydırmanız gereken yeni bir pencerede açacaktır.

Buradan, ‘Dizin Gizliliği’ simgesine tıklayın.

Click on the Directory Privacy option in the Files section

Ardından, alt alan adı klasörünüzü seçmeniz ve ardından ‘bu dizini parola ile koru’ onay kutusunu işaretlemeniz gerekir.

Bu ayar için bir ad vermeniz ve ardından ‘Kaydet’ düğmesine tıklamanız istenecektir.

Configure directory privacy settings to password protect staging site

Hazırlama siteniz artık parola korumasının arkasına gizlenecek ve arama motorlarının ve halkın gözünden uzak tutulacaktır.

Artık hazırlık siteniz üzerinde çalışabilir ve istediğiniz değişiklikleri yapabilirsiniz.

Hazırlama Sitesini Canlıya Elle Dağıtma

Hazırlama sitenizdeki değişiklikleri canlı sunucuya dağıtmaya hazır olduğunuzda, yukarıda açıklanan aynı adımları izleyeceksiniz.

Hazırlama sitenizde yeni bir Duplicator paketi oluşturun ve Yükleyici ve Arşiv dosyalarını bilgisayarınıza indirin (Yukarıdaki talimatlara bakın).

Ardından, canlı sitenize gitmeniz ve eksiksiz bir WordPress yed eği oluşturmanız gerekir (eksiksiz bir yedek oluşturmak için Duplicator ‘ı da kullanabilirsiniz).

İşiniz bittiğinde, canlı web sitenizden tüm WordPress dosya ve klasörlerini silmeniz gerekecektir. Bu, WordPress sitenizin bir süre kapalı kalacağı anlamına gelir.

Son olarak, hazırlama sitesini canlı sunucuya aktarmak üzere Duplicator yükleyici sihirbazını çalıştırmak için yukarıdaki talimatları izleyin.

Gördüğünüz gibi, son yöntem hiç de iyi bir yöntem değil. İşlem sırasında sitenize zarar verebilecek birçok şey vardır.

Başka seçeneğiniz olmadığı sürece bu yöntemden kaçınmanızı öneririz. Bluehost, SiteGround veya WP Engine gibi yerleşik hazırlama sitesi özelliklerine sahip güvenilir bir barındırma sağlayıcısı kullanmanızı öneririz.

Bu makalenin WordPress siteniz için kolayca bir hazırlama ortamı oluşturmayı öğrenmenize yardımcı olduğunu umuyoruz. Herhangi bir sorunla karşılaşırsanız, en yaygın WordPress hatalarını düzeltmeye yönelik nihai kılavuzumuza göz atın. Test için tarayıcınızda WordPress Playground’u nasıl kullanacağınızı da öğrenmek isteyebilirsiniz.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

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

205 yorumBir Cevap Bırakın

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Beulah Wellington says

    If I download WAMP on my computer and use the localhost, couldn’t install the UpdraftPlus plugin and let that be my staging site? Isn’t this another alternative?

  3. Jan Stetson says

    I’m trying to set up a staging environment on my WordPress site hosted by Bluehost. I’m stopped at step one! when I go to the WordPress admin area, I don’t see bluehost at the top of the page. The topmost option in the nav menu on the left is “Dashboard”. No sign of “Staging” anywhere. Help?

    • WPBeginner Support says

      You likely removed the BlueHost plugin, if you reach out to BlueHost’s support they should be able to let you know their current methods available :)

      Yönetici

  4. Shashank Sachan says

    Hello
    I tried but did not succeed. Getting error ” this site can’t be reached”.
    I am on Godaddy and using Cloudflare. And I have not created a separate FTP account.

  5. simona says

    thank you for the article. one question: If I update WordPress ONLY on the staging site, will it affect also my live-site?
    thank you for your answer. regards, s.

  6. oshibiko says

    Thank you for this article.

    Do you know of a way to test membership (loginlogoff ) functionality without going live on the actual site. In the staging environment or developing. TIA

  7. Mark E says

    Great article, with one step missing for the manual instructions.
    After downloading the duplicator files to your computer, you then have to upload the installer file and archive file to your newly created subdomain directory.
    Otherwise when you try to run the installer you get a 404 page.
    Otherwise great guide!
    Thanks….

  8. Charlene Marsh says

    No option to try the staging feature on Bluehost yet. Message says “Please contact support to find out how to enable staging.” I was just on the phone with Bluehost about another issue and the rep I was speaking with never heard of this new feature.

    • WPBeginner Support says

      It would depend on what rep you were talking to as it is a new feature so not all reps may be knowledgeable yet

      Yönetici

    • Matt Stephen says

      To be able to use the staging feature provided by Bluehost, you must install and activate the Blushost plugin.

  9. Sean says

    Thank you for this great info, as always. Now is this something I could use to play around with a new page builder? I want to test out Thrive Architect but want to do so without messing anything up. Or, suppose I wanted to play around with a new theme. These may be 2 different questions.

    • WPBeginner Support says

      You could certainly test those changes with a staging environment without having to worry about what people see on the site.

      Yönetici

  10. Vanessa says

    Thanks for the info. I currently use Bluehost but don’t have the staging site option I would love to test it out for a new theme I’d like to try before purchasing it. I contacted BH tech support the rep told me the feature is in development. Thanks again for the info.

    • WPBeginner Support says

      Glad we could bring this feature to your attention even if it is currently being developed

      Yönetici

      • Vanessa says

        I was able to access the feature today. I’m excited to use it. Thanks again for the info. I’m excited to try out the staging feature.

  11. Ani Chijioke says

    this is a great information, I have two websites, but I don’t feel like having both look the same.

    pls, I need help.

    is there any code I can add on >dashboard >customize >additional css,,, for the font color of my site to be pure black in color..

    I have this theme that I am using, it gives me everything I want. but the font color of my blog posts are light black. I will like to change the color to pure black

    any solution?
    thank you.

  12. alykhan says

    Great article but the push back to live is a little brief. I have a WooCommerce site that needs a theme change. I used Duplicator Pro to make a copy on a staging server. I’ve made all the changes to the site including adding a couple of new plugins.

    Now I want to push the site back but I can’t do the same thing as there are new orders on the live site. How do I copy the site back without affecting the orders etc..?

  13. Jennifer Verdin says

    I haven’t read the comments yet, but I’ve been at this all day. The reason why is because this page does not tell you how to create a database user and assign privileges to the said user.

    Thankfully, I was able to figure it out, but that’s a KEY step that is missing to connect the site and database.

    • WPBeginner Support says

      Apologies about the confusion, we will certainly look into clarifying that. If you reach out to your hosting provider they normally have a user already created.

      Yönetici

  14. Max says

    Hi guys,
    Thanks for your awesome post. I like the idea that the provider has the staging, productive and a test environment out of box.
    But I have two questions:
    1. Can write a little bit how it works by your suggested providers?
    2. Have you also providers which are located in the EU or better in Germany? And offer staging environment out of box?

    Kind regard

  15. Jess says

    Hi there

    I am in the process of setting up a new WordPress site but I was planning to start building everything in my staging environment because I would like my live site to have a “under construction” landing page.

    What I am not sure of is how to push my changes from the staging site to my live site when I am ready. Would you mind describing this process please?

    Thank you
    Jess

    • Johnny says

      If it’s simply a matter of wanting a “Under Construction” page while keeping the rest of the sight off limits to the public, there are plugins that will do that. Search “under construction.”

  16. Fernando Lisboa says

    Hi, my question is, i created a staging environment, work there make some updates on structure of pages, layouts, new categories, new pluig-in.

    Ok, but in real live, my site is growing with new posts, comments, images, videos, etc…

    When i push stage back to life, i will lost thes new itens that were create in real live ??? I test this in sitegroud, and i loose ever with advanved “push to live”

    tks

  17. Chris says

    Hi, thanks for such a useful article,

    I’m having a small issue when I give it a go,

    I have got as far down as

    “Once WordPress has connected to your staging database, it should detect that WordPress has been installed, and prompt you to login” and I am stuck – it autoredirected to the wp-login and gave me a blank page. Not a 404, just a clean white screen.

    On the main page the login has been renamed so I try to navigate to that instead and again just a clean white screen.

    Can anyone give me any pointers on where I’m going wrong?

  18. Smitha says

    Hi,

    Thanks for this article!
    I followed all the steps but I think I have missed one

    I created a staging environment and checked site url in wp-options and updated wp-config file but the staging site is being redirected to the primary site.

    Do I need to change any other setting?

  19. Ruth says

    Hi! Thanks for the useful article!
    Question, is it necessary to create a new database for your subdomain? Can’t you just use your root domain’s database?
    Same for the FTP account, is it necessary to create a new one? I can now access my subdomain easily through my main FTP.
    Thanks!
    Best,
    Ruth

  20. Courtney says

    Hello!

    Perhaps this was already covered. Do I need a child theme on my sub-domain serving as my staging site? I am adding custom code and modifications to the new theme on my subdomain with the intention of switching all of this over to the live site when finally ready. Would this complicate things when switching from the staging site to replacing what is currently the live site?

    Thank You!

  21. Lee Perry says

    Hi, this article is super helpful. I have encountered one problem though, when I go to visit my staging URL, I have the following message appear ‘server DNS address could not be found’. I have also cleared my cache and browser history as someone wrote this might help, but it hasn’t worked. I’m wondering what I am doing wrong. Any help would be great.

    Lee

  22. Adrien says

    While I appreciate the detailed instructions (I don’t like installing plugins to accomplish such tasks), I don’t see any advice concerning keeping the staging and live sites in sync. WordPress sites are generally edited live with respect to content—posts, products, media, etc. Once you follow these directions, the two content sets will diverge as users add content to the live site while the developer’s staging version remains an old copy. I don’t see a good solution for this save a cron rsync job. Any tips?

  23. Jason says

    After you create the staging subdomain and ftp account.

    Skip all the other copying and database junk.

    Install duplicator on your live site. Make a duplicate backup, which includes a zipped copy and an install. Php file.

    Upload both to your staging area. (Maybe go in and create a database and user for the staging site in cpanel while you wait for the two fingers to upload)

    Point your browser to staging.domain.com/install.php and follow the prompts.

    Then go back to the rest of this tutorial for locking it down.

  24. Gus Reyes says

    Hi, I followed another tutorial before I found this one and I installed WordPress BEFORE copying files over and running the SQL queries. My staging site does not populate with live site’s data. Any help you can offer about what to do at this point would be appreciated…

  25. Martin says

    The staging site does not look exactly like my primary site. The default banner is there instead of my uploaded media (even though that file has transfered) and rather than a nav bar with drop down menus, I have a list of all of my site’s webpages. Is this normal? If not, could you point me where to sort it out?

    Thanks for this article!

  26. BLZ says

    I keep getting this error when I try to run SQL queries ” #2013 – Lost connection to MySQL server during query”

  27. Stefan says

    Thank you for the great tutorial! I followed it thourgh and created a staging site. However, the staging site seems to be missing some settings from the original site (where I am working with a template), e.g. the font is different, the menu and logo is missing and some other settings are just off. Are there additional files I need to copy?
    Thanks a lot!

  28. Lynn Fontaine says

    Very thorough instructions! We currently have WordPress 4.3.6 version. I think there is a newer version 4.7; however, I am not updating due to past problems with my theme and child after an update. If I follow your instructions to install WordPress on computer, it most likely will affect the existing site as well which will cause a problem. Do you agree? and how do I proceed? thanks.

    • WPBeginner Support says

      Hi Lynn,

      You can safely install WordPress on your computer and import content from your live site. This way you will be able to test drive new WordPress version with your current theme and child theme.

      Yönetici

    • Sandy says

      Lol, Mike, you’re my kinda person! And although you’ve probably sped ahead to something easier by now, I thought I would mention something that I saw but haven’t tried: Backup Buddy. I don’t know how thorough it would be for this purpose. Since my site is pretty static, I used a subdomain to reconstruct my site – just copied and pasted my content as ascii text. Bluehost said they could make it my main site (not subdomain with redirect – make it a domain) when I’m done. Of course you have to set up the widgets, plugins, etc. Still working on it because I’m definitely a beginner. This would be really laborious for a more sophisticated site.

  29. Luke Marshall says

    I like the well documented article but maybe it’s just me but I can’t find anything anywhere which starts a github repository with a site that’s only on your live server! How do I pull it down to the repository and why does Cloudway s have all the addressing options. What all do I need to pull down do I need to use My SQL Work Bench?

  30. David Borrink says

    Well done tutorial. I gave up on a staging plug-in after several attempts failed, and found this one to be easy to follow and implement.

    One issue to mention and that’s the need to have a database user set up. I had to redo the process and choose the database wizard on CPanel in order to be able to set that up. That allowed my wp-config file to be set up with the info and then it worked. (My first attempt resulted in “unable to establish a database connection.” Once I established a database user, it went through.

    And thank you for the the note to check the URL, with the notes to look at site URL and home on the wp-options table. That allowed to me to confirm and get going on a re-design.

  31. Martin Klasson says

    I guess I found an easier way – that works for me in a project right now!

    1. I just clone the files in the ftp to a /staging/ site,
    2. clones the database to a dbname_stage
    3. Changes the wp-config.php in /staging/ – by changing database to dbname_stage
    4. Adds in wp-config in /staging/ the new WP_HOME and WP_SITEURL
    define(‘WP_HOME’,’http://example.com’);
    define(‘WP_SITEURL’,’http://example.com’);

    Then it is super-easy to just copy the dbname_stage back to the live database called dbname

    Super easy.

    And if you like, you can also in the wp-config change default uploads directory to the same as the live one.. as long as you just dont have the need to “delete” media files that is.

    And your changes in the theme files are easily moved back to the live site.

    What about that?

  32. Mike says

    I love the article – so clear instructions and well written. I’m having problems getting it working though.

    I followed the instructions to get from production (www.) to test (test.) and dev (dev.)

    I’ve tried all this several times in dev … two things happen

    dev.example.com … goes to http://www.example.com
    test.example.com … goes to test.example.com

    On test when I open a post form the menu as a user – it does not show the post but a reference to the post which when I click on it, it takes me back to the same page

    I’m wondering if you have any ideas on what may not have worked?

    Thanks

    • Julio says

      The problem is in your DB, maybe you did left some original (www.example.com) URL’s on your dev.example.com database

  33. sat says

    Thanks for the great article. It helped me to set up a staging website for testing my new theme. But you have omitted one critical information, after copying the database the MySQL user setup for the wp to access the database needs to be given permission to access the database through the CPanel -> Mysql databases -> add a user to the database option. Otherwise, you will get “cannot connect to the database” when trying to access the admin page through the URL.

  34. Hesli Brito says

    I am getting lost here:

    After copying your database, you need to copy your WordPress files, plugins, themes, and uploads. First download a fresh copy of WordPress from WordPress.org. Upload the contents of WordPress to your staging site. Note, do not run the WordPress install yet.
    Once you have uploaded WordPress, the next thing you need to copy is media files, plugins, and themes. The following folders will need to be copied :

    Could you guys be more detailed here? Cause I don’t know the right way to upload WordPress without installing… I am missing something here, cause I can’t get it right…

    Please, could you guys update this article with more information in this part?

    Thanks

  35. Sion says

    Thank you for this amazing guide! I’ve successfully created a staging site with this.
    What steps do you recommend to do from Staging to Live?
    Right now, I’m just writing down every changes I make and repeat it on the live site.
    I’m not sure I know the appropriate method to copy Stage site to Live.

  36. Barbara says

    I have set up the staging site as outlined above – but now how do I get it to the live site?

    I’ve been looking here, but can’t seem to find the answers. Help please?

  37. Peter says

    What about using Git to track the changes made in DB ? with wordpress, there is a very high likelihood that changes made are in DB instead of in files on hosting server

  38. Rajit says

    Hi, got stuck at the first step itself. I followed the steps but for some reason not being able to set up a staging environment through cpanel. When I type the link i get the message ‘This site can’t be reached’.

  39. Craig Watson says

    Hi, I have followed your steps as above but for some reason the staging URL is redirecting to the normal live URL.

    I have ran the queries in the database and copied the files including updating the wp-config.php

    Do you have any idea what may be going on here as the staging URL was not redirecting yesterday when I put a small test HTML page up there..

    Hope you can advise
    Craig

    • Craig Watson says

      OK so I was inpatient and didn’t clear cache…. However now I’m on the staging site the database has clearly not moved well…

      Lots of setting seem to have been lost.

  40. Glauber Oak says

    Hi there,
    Thank you so much for the detailed instructions.
    Does this work for MU site?
    Multi-site is at the root, and I would like to copy only the root to an especial folder. Server has other sites as subdirectories. Do not need to be copied at this point (in the futures, a couple of sites will be cloned as well)
    Root should go to a subdomain for testing purposes.
    Thank you in advance!

  41. Gemma says

    HI. I am following your tutorial and i got stuck in media files has been copied section. Checking with my FTP and Cpanel files are existing but is not showing in my media library . How can i rectify this? Thanks and your tutorial is very helpful for noobs . 5 thumbs up.

    • WPBeginner Support says

      While your media files are stored on server. WordPress can’t show them unless you import data and database. Information about your media files is stored in WordPress posts table as attachment post type.

      Yönetici

  42. Serhan says

    Thank you for this article; very helpful.

    I’d like to add one more point; as it might help other readers too.

    After you make a copy of your database, you may need to add the user from previous database to the newly created one.

    Otherwise, while setting up your wp-config, you might face with authentication problem.

  43. Guvenc Kaplan says

    Very nice and helpful article. However;

    Replacing all the references in the DB (example.com with staging.example.com) will most likely break all the serialized values and you will have BIG issues on the staging site. You need to use a replacer that has serialization support.

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.