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’te 301 Yönlendirmesi Oluşturmak İçin Yeni Başlayanlar İçin Kılavuz

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.

Hiç bir bağlantıya tıkladığınızda ‘Sayfa Bulunamadı’ hatası ile karşılaştınız mı? Web sitenize gelen ziyaretçilerin bu hayal kırıklığını yaşamasını asla istemezsiniz.

Bozuk bağlantılar kötü kullanıcı deneyimine yol açar ve SEO çalışmalarınıza zarar verebilir. İşte bu noktada 301 yönlendirmelerinin gücü devreye girer.

Birisi taşınan bir sayfanın eski bağlantısını kullanarak sitenizi ziyaret ettiğinde, 301 yönlendirmesi otomatik olarak yeni sayfaya yönlendirir, böylece 404 ‘Sayfa Bulunamadı’ hatasını görmezler.

Bu makalede, daha iyi bir kullanıcı deneyimi sunmak ve anahtar kelime sıralamalarınızı iyileştirmek için WordPress’te 301 yönlendirmelerini nasıl oluşturacağınızı göstereceğiz.

Beginner’s Guide to Creating 301 Redirects in WordPress

WordPress’te Yönlendirme Nedir?

Yönlendirme, WordPress web sitenizin, ziyaret etmek istedikleri sayfa taşındığında veya değiştirildiğinde kullanıcıları otomatik olarak yeni bir adrese göndermesinin bir yoludur. Bu, evinizi taşıdığınızda postanenin postanızı yeniden yönlendirmesine benzer.

301, 302 ve 307 gibi numaralarla tanımlanan çeşitli yönlendirme türleri vardır. Bunlar, mevcut olmayan bir sayfayı ziyaret etmeye çalışan kullanıcının web tarayıcısını otomatik olarak farklı bir URL’ye yönlendirir.

Bu başlangıç kılavuzunda, en önemli tür olduğu için 301 yönlendirmelerine odaklanacağız. Tarayıcıya sayfanın kalıcı olarak yeni konuma taşındığını ve geri taşımak istemediğinizi söylerler.

Bununla birlikte, 301 yönlendirmesini ne zaman kullanmanız gerektiğine bir göz atalım.

WordPress’te 301 Yönlendirmesine Ne Zaman İhtiyaç Duyarsınız?

Bir 301 yönlendirmesi kullanmanın birincil nedeni, sitenizin veya sitenizdeki bir sayfanın taşınması ve kullanıcıyı bunun yerine yeni bir sayfaya yönlendirmek istemenizdir.

Bir gönderinin veya sayfanın kalıcı bağlantısını değiştirmeyi planladığınızda da gereklidir.

Yeniden yönlendirmeyi ayarlamazsanız, sayfa bulunamadığında kullanıcılarınızın 404 hatası görmesine neden olur. Bu kötü bir kullanıcı deneyimi sağlar ve WordPress SEO‘nuzu etkileyebilir.

404 Page Example

Sitenizde çok sayıda kırık bağlantı varsa değerli geri bağlantıları da kaybedebilirsiniz. Bu, alan adı otoritenizde ve anahtar kelime sıralamanızda önemli bir düşüşe neden olacaktır.

Bu yüzden 301 yönlendirmeleri çok önemlidir. Arama motorlarına ve kullanıcılarınıza, ulaşmaya çalıştıkları sayfanın kalıcı olarak yeni bir konuma taşındığını söylemenizi sağlarlar.

Bu şekilde, eski sayfanızın tüm trafiği ve geri bağlantıları yeni sayfaya aktarılır.

Şimdi, WordPress’te 301 yönlendirmelerini nasıl oluşturabileceğinize bir göz atalım. Bunu çeşitli WordPress yönlendirme eklentileriyle ve manuel olarak kod kullanarak nasıl kolayca yapabileceğinizi göstereceğiz.

Video Eğitimi

Subscribe to WPBeginner

Eğer yazılı talimatları tercih ediyorsanız, okumaya devam edin.

Yöntem 1: AIOSEO Eklentisi ile 301 Yönlendirmeleri Oluşturma

301 yönlendirmelerini yönetmenin ve oluşturmanın en basit yolu All in One SEO (AIOSEO) WordPress eklentisidir. WordPress için en iyi SEO ek lentisidir ve 3 milyondan fazla profesyonel tarafından sitelerinin SEO’sunu iyileştirmek için kullanılmaktadır.

AIOSEO, web sitenizdeki bozuk bağlantıları bulmayı ve bunları düzeltmek için 301 yönlendirmeleri ayarlamayı çok kolaylaştıran güçlü bir yeniden yönlendirme yöneticisi eklentisi sunar.

Not: Yeniden yönlendirme yöneticisini kullanmak için AIOSEO Pro ‘ya ihtiyacınız olacak. AIOSEO’nun ücretsiz bir sürümü de vardır, ancak 301 yönlendirmelerini içermez.

Öncelikle AIOSEO Pro eklentisini web sitenize yüklemeniz ve yapılandırmanız gerekir. Daha fazla bilgi için lütfen All in One SEO’nun doğru şekilde nasıl kurulacağına ilişkin adım adım kılavuzumuza bakın.

Eklenti etkin olduğunda, WordPress panonuzdaki All in One SEO ” Yön lendirmeler bölümüne gitmeniz ve ardından ‘Yönlendirmeleri Etkinleştir’ düğmesine tıklamanız gerekecektir.

Activate AIOSEO Redirects

Ardından, ‘Ayarlar’ sekmesine tıklayabilir ve Yönlendirme Yöntemi olarak ‘PHP’yi seçebilirsiniz.

Bu, yönlendirme oluşturmak için en basit yöntemdir ve herhangi bir sunucu tarafı yapılandırması gerektirmez.

Select the Redirect Method

AIOSEO ayrıca Web Sunucusu yönlendirme yöntemini seçmenize de olanak tanır. Ancak, web sunucunuzda Apache veya NGINX ‘in yapılandırılmasını gerektirir. Bu teknik bilgi gerektirir ve yeni başlayanlar için önerilmez.

301 Yönlendirmeleri Oluşturma

Artık 301 yönlendirmeleri oluşturmaya hazırsınız. Başlamak için ‘Yönlendirme’ sekmesine gidin.

İlk olarak, yönlendirmek istediğiniz bağlantıyı ‘Kaynak URL’ alanına girmeniz gerekir. Bundan sonra, ‘Hedef URL’ alanına bağlantı için yeni hedefi girmelisiniz.

Enter Source URL and Target URL

Şimdi Yönlendirme Türünün ‘301 Kalıcı Olarak Taşındı’ olduğundan emin olun ve ardından ‘Yönlendirme Ekle’ düğmesine tıklayın.

Birden fazla URL’yi yeni bir konuma yönlendirmek istiyorsanız, Kaynak URL’ler alanının altındaki ‘URL Ekle’ düğmesine tıklamanız yeterlidir.

Ardından, oluşturduğunuz yönlendirmelerin günlüklerini görüntülemek için aşağı kaydırabilirsiniz. ‘Hit’ sütunu altında yönlendirilen bağlantıyı ziyaret eden kişi sayısını ve 301 yönlendirmelerini tek tek etkinleştirmek veya devre dışı bırakmak için bir geçiş seçeneğini gösterir.

View Redirect Logs in AIOSEO

404 Hatalarını Düzeltmek için 301 Yönlendirmeleri Ekleme

AIOSEO ayrıca 404 hata sayfalarını izlemenize ve bunları düzeltmenize yardımcı olabilir.

Bu seçeneği açmak için Ayarlar sekmesindeki ‘Yönlendirme Günlükleri’ bölümüne gitmeniz gerekir. Ardından ‘404 Günlükleri’ ve ‘Yönlendirme Günlükleri’ seçeneklerini etkinleştirin.

Günlüklerin tutulacağı zaman aralığını da seçebilirsiniz. Sorunsuz ve hızlı sunucu performansı için bunları en fazla bir ay saklamanızı öneririz.

Enable 404 Logs

Bu seçenekleri etkinleştirdikten sonra, ‘Değişiklikleri Kaydet’ düğmesine tıkladığınızdan emin olun.

Şimdi Yönlendirmeler bölümünde yeni bir ‘404 Günlükleri’ sekmesi görmelisiniz. Burası AIOSEO’nun kırık bağlantılarınızı izleyip göstereceği ve yeniden yönlendirmeler ayarlamanıza izin vereceği yerdir. Ayrıca ‘Hit’ altında bağlantıya yapılan ziyaret sayısını ve son erişim tarih ve saatini de göreceksiniz.

404 Logs Under Redirects

Not: 404 günlüklerini ilk etkinleştirdiğinizde herhangi bir veri bulamazsınız. Eklenti yalnızca ayar etkinleştirildikten sonra 404 hata sayfalarını kaydetmeye başlar.

Ardından, yönlendirmek istediğiniz 404 hata URL’sinin yanındaki ‘Yönlendirme Ekle’ bağlantısını tıklayın. Bu, alttaki düğme değildir.

Şimdi bir Hedef URL girmek ve açılır menüden Yönlendirme Türünü seçmek için seçenekler göreceksiniz.

Redirecting a 404 Error Using AIOSEO

Devam edin ve yeni URL’nizi girin ve yönlendirme türünüz olarak ‘301 Kalıcı Olarak Taşındı’yı seçin. Şimdi ‘Yönlendirme Ekle’ düğmesine tıklamalısınız.

AIOSEO şimdi kırık bağlantınız için bir 301 yönlendirmesi oluşturacaktır. Yönlendirmenin düzgün çalışıp çalışmadığını görmek için eski URL’yi ziyaret ederek yeni hedefe yönlendirilip yönlendirilmediğinizi kontrol etmeniz yeterlidir.

Bir Gönderi veya Sayfadan Doğrudan 301 Yönlendirmeleri Ekleme

AIOSEO ayrıca yayınlanmış bir gönderiyi veya sayfayı düzenlerken yeniden yönlendirmenize de olanak tanır.

WordPress editöründe sayfanın en altına kaydırırsanız, bir AIOSEO Ayarları bölümü bulacaksınız. ‘Yönlendirmeler’ sekmesine tıklamanız gerekir.

Redirect a Post From the WordPress Editor

Kaynak URL sizin için doldurulmuştur. Yeni URL’yi ‘Hedef URL’ alanına girmeniz ve Yönlendirme Türü açılır menüsünden ‘301 Kalıcı Olarak Taşındı’ seçeneğini seçmeniz yeterlidir.

Ayrıca, düzenleme sırasında bir gönderinin kalıcı bağlantısını değiştirirseniz, AIOSEO eski URL’yi yenisine yönlendirmeyi teklif edecektir.

Her iki durumda da, ‘Yönlendirme Ekle’ düğmesine tıklayın ve işiniz bitti.

Tam Web Sitelerini Yönlendirme

Web sitenizi yeni bir alan adına taşırsanız, ziyaretçileriniz kırık bağlantılarla karşılaşabilir ve sitenizin SEO’su zarar görebilir.

AIOSEO’yu kullanarak web sitenizin tamamını trafik veya arama motoru sıralaması kaybetmeden yeni bir konuma taşıyabilirsiniz. Bu tam bir site 301 yönlendirmesidir.

AIOSEO Full Site Redirect

Bunu doğru şekilde yapmanız önemlidir, bu nedenle WordPress ile tam bir site yönlendirmesinin nasıl yapılacağına dair adım adım bir başlangıç kılavuzu oluşturduk.

Yöntem 2: Yeniden Yönlendirme Eklentisi ile 301 Yönlendirmeleri Oluşturma

WordPress’te yönlendirme eklemenin ve yönetmenin bir başka yolu da Redirection eklentisidir.

Öncelikle eklentiyi yüklemeniz ve etkinleştirmeniz gerekir. Bir WordPress eklentisinin nasıl kurulacağına ilişkin ayrıntılı kılavuzumuzu takip edebilirsiniz.

Not: Bir WordPress eklentisi kullanarak 301 yönlendirmelerini ayarlamak kolay olsa da, bazı küçük performans dezavantajları vardır. WordPress barındırma sağlayıcınıza bağlı olarak, yönlendirmeleriniz diğer yöntemlere göre birkaç mikrosaniye daha yavaş olabilir.

Yönlendirmelerinizi olabildiğince hızlı yapmak istiyorsanız, aşağıdaki Yöntem 5’i kullanarak .htaccess dosyanızı düzenleyerek bunu yapabilirsiniz.

Etkinleştirildikten sonra Araçlar ” Yeniden Yönlendirme ‘yi ziyaret edin ve ardından ‘Kurulumu Başlat’ düğmesine tıklayın.

 Start Setup of Redirection Plugin

Ardından, WordPress’teki kalıcı bağlantı değişikliklerini izleme ve tüm yönlendirmelerinizin ve 404 hatalarının günlüğünü tutma seçeneklerini belirleyebilirsiniz.

Bu seçenekleri etkinleştirebilir ve ‘Kuruluma Devam Et’ düğmesine tıklayabilirsiniz.

Basic Setup Redirection Plugin

Eklenti artık Rest API’yi otomatik olarak test edecektir.

Durum İyi olarak geri geldiğinde, devam edin ve ‘Kurulumu Bitir’ düğmesine tıklayın.

Rest API Test in Redirection

Yeniden yönlendirme eklentisi kurulumunu tamamlamak için birkaç görev daha gerçekleştirecektir. İlerleme çubuğu %100’e ulaştığında, ‘Devam Et’ düğmesine ve ardından ‘Başlamaya Hazır’ düğmesine tıklayabilirsiniz.

Eklenti artık 301 yönlendirmelerinizi oluşturmanız için hazır. Başlamak için WordPress panelinizin Araçlar ” Yeniden Yönlendirme bölümüne gidin. Ekranın altındaki ‘Yeni yönlendirme ekle’ bölümüne bakmalısınız.

Add a New Redirection at the Bottom of the Screen

Bir yönlendirme eklemek için temel ayarları göreceksiniz. Ancak, dişli simgesine tıklarsanız, yönlendirme türünüzü seçmek için daha fazla seçenek göreceksiniz.

Eski sayfanızın Kaynak URL’sini girmeniz ve yönlendirmek istediğiniz ‘Hedef URL’yi eklemeniz yeterlidir. HTTP kodu seçeneğinin ‘301 – Kalıcı Olarak Taşındı’ olarak ayarlandığından da emin olmalısınız.

Add New Redirection to Your Website

Tüm ayrıntıları girdikten sonra, devam edin ve ‘Yönlendirme Ekle’ düğmesine tıklayın.

Yöntem 3: Basit 301 Yönlendirmeleri Eklentisi ile 301 Yönlendirmeleri Oluşturma

301 yönlendirmeleri oluşturmanın en kolay yollarından biri Simple 301 Redirects eklentisidir. Adından da anlaşılacağı gibi, 301 yönlendirmelerini gerçekten basit hale getirir.

Başlamak için, eklentiyi web sitenize yüklemeniz ve etkinleştirmeniz gerekecektir.

Bundan sonra, Ayarlar ” 301 Yönlendirmeleri‘ni ziyaret etmeniz gerekir. Burada ‘İstek’ alanına eski URL’yi ve ‘Hedef’ alanına hedef URL’nizi girebilirsiniz.

Simple 301 Redirects

Bunu yaptıktan sonra, 301 yönlendirmesini oluşturmak için ‘Yeni Ekle’ düğmesine tıklayın. İşte bu kadar.

Basit 301 Yönlendirmeleri hemen çalışmaya başlayacaktır.

Bazen sitenizin akışındaki bir gönderiyi veya sitenizde belirli bir şekilde listelenen bir sayfayı tutmak, ancak içeriğin başka bir yerde barındırılmasını isteyebilirsiniz. İşte bu noktada Page Links To eklentisi işe yarar.

Eklentiyi kurup etkinleştirdiğinizde, WordPress editörünüze bir meta kutusu ekler. Buraya kullanıcılarınızı göndermek istediğiniz yeni konumun adresini girebilirsiniz.

Page Links To in WordPress Editor

‘Güncelle’ veya ‘Yayınla’ düğmesine bastığınızda, WordPress yazıya veya sayfaya normal şekilde davranacak, ancak birisi ziyaret ettiğinde bunun yerine seçtiğiniz özel URL’ye yönlendirilecektir.

Örneğin, zaman zaman indirilebilir içerik oluşturduğunuz bir blogunuz olabilir, ancak çevrimiçi mağaza sitenizdeki kullanıcıların belirli gönderileri ürün olarak görmesini istiyorsunuz. Google’dan yinelenen içerik cezaları alma veya kullanıcı tabanınızı bölme riski olmadan bunu yapmak için bu eklentiyi kullanabilirsiniz.

Yöntem 5: .htaccess Kullanarak 301 Yönlendirmelerini Manuel Olarak Oluşturma

WordPress kullanıcıları .htaccess web sunucusu yapılandırma dosyasını düzenleyerek de 301 yönlendirmelerini ayarlayabilirler.

Lütfen .htaccess kodunuzdaki küçük bir hatanın WordPress sitenizi erişilemez hale getirebileceğini ve Dahili Sunucu Hatası göstermeye başlayabileceğini unutmayın.

Bu nedenle, herhangi bir değişiklik yapmadan önce .htaccess dosyanızı yedeklemeniz önemlidir.

All in One SEO Eklentisini Kullanarak .htaccess Dosyanızı Düzenleyin

All in One SEO eklentisi yüklüyse, .htaccess dosyanızı düzenlemenin kolay bir yolunu sunar.

Not:.htaccess editörünü kullanmak için All in One SEO Pro ‘ya ihtiyacınız olacaktır.

Basitçe All in One SEO ” Araçlar sayfasını ziyaret edin ve ‘.htaccess Editor’ sekmesine geçin.

Editing .htaccess File Using All in One SEO

Buradan, editörde .htaccess dosyanızın içeriğini göreceksiniz. Eklemek istediğiniz herhangi bir yönlendirme kodunu ‘# END WordPress’ satırından sonra en alta yerleştirebilirsiniz.

Burada, eski bir gönderiyi ziyaret eden bir kullanıcıyı yeni bir gönderiye göndermeye çalıştığımız basit bir yönlendirme var.

RewriteEngine On
Redirect 301 /a-very-old-post/ http://yoursite.com/a-very-new-post/

Eski gönderi ve yeni gönderi URL’lerini değiştirmeyi unutmayın. İşiniz bittiğinde, ayarlarınızı kaydetmek için ‘Değişiklikleri Kaydet’ düğmesine tıklayın ve All in One SEO .htaccess dosyanızı güncelleyecektir.

WordPress .htaccess Dosyanızı Doğrudan Düzenleme

Yönlendirmeleri ayarlamak için WordPress .htaccess dosyanızı doğrudan da düzenleyebilirsiniz.

.htaccess dosyanızı düzenlemek için bir FTP istemcisi kullanarak web sitenize bağlanmanız gerekecektir. .htaccess dosyası WordPress sitenizin kök dizininde bulunur.

.htaccess dosyanızı göremiyorsanız, WordPress sitenizde .htaccess dosyasını neden bulamadığınızla ilgili kılavuzumuza bakın.

.htaccess dosyasını bilgisayarınıza indirebilir ve Notepad gibi bir metin düzenleyici kullanarak düzenleyebilirsiniz.

Eski bir yazıyı ziyaret eden bir kullanıcıyı yeni bir yazıya göndermek için aşağıdaki yönlendirme kodunu kullanabilirsiniz. Kodu .htaccess dosyanızın sonuna ‘# END WordPress’ satırından sonra yapıştırmalısınız.

RewriteEngine On
Redirect 301 /a-very-old-post/ http://yoursite.com/a-very-new-post/

Eski gönderi ve yeni gönderi URL’lerini değiştirdiğinizden emin olun. Bundan sonra, değişikliklerinizi kaydedebilir ve .htaccess dosyasını sunucuya geri yükleyebilirsiniz.

Şimdi yönlendirmenizin istediğiniz gibi doğru yönlendirildiğinden emin olmak için yönlendirmenizi test edebilirsiniz.

Edit .htaccess File

Ayrıca, barındırma sağlayıcınızın kontrol paneli ve yerleşik dosya yöneticisi aracılığıyla .htaccess dosyanıza erişebilir ve dosyanızı düzenleyebilirsiniz.

Örneğin, .htaccess dosyanızı SiteGround‘un dosya yöneticisinde Site Araçları “ Site Dosya Yöneticisi ‘ne gidip sitenizin /public_html/ klasörüne giderek bulabilirsiniz.

SiteGround File Manager in Site Tools

Ardından, .htaccess dosyasına sağ tıklayıp ‘Düzenle’yi seçebilirsiniz.

Sadece 301 yönlendirme kodunu doğrudan ekleyin ve dosyayı kaydedin. Yine, güvende olmak için yedekleme amacıyla orijinal .htaccess dosyasını indirdiğinizden emin olun.

Editing your htaccess using SiteGround's file manager

WordPress yönlendirmeleri oluşturmaya yeni başlayanlar için hazırladığımız bu kılavuzun sitenizde yönlendirmeleri ayarlamanıza yardımcı olacağını umuyoruz. Ayrıca bir WordPress blogunun doğru şekilde nasıl başlatılacağına ilişkin kılavuzumuzu veya küçük işletmeler için en iyi e-posta pazarlama hizmetlerine yönelik uzman seçimlerimizi görmek 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

163 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. cipriana leme says

    How do I redirect from a wordpress blog (free) to a .com blog? I cannot install plugins in the free blog, so how could I do the redirect? Any advice?
    Thanks in advance

  3. Hannah says

    Hello! I just created a website on WordPress.org and imported all of my content from my old site, example.wordpress.com (using WordPress.com). Is there a way to redirect all of the content from that site to my new one? The redirect instructions provided by WordPress gave me an error that the domain already exists, probably because it thought I was trying to create a new domain on WordPress.com.

    My website traffic before is pretty minimal, so if anyone clicks on previous blog posts on my social channels, they’d be taken to the shut down version of my old site without the redirects – not the end of the world because I don’t have the following that would generate clicks at a later date, but you never know?

    Any advice anyone has would be great!

    Thanks,

    Hannah

  4. Shakoat Hossain says

    Brilliant solution to reduce redirects for worpress!

    For a few days, I’m looking to solve my WP redirects issues. I don’t find out better solution even read this content.

    Here, I got few good points and try to reduce redirect to increase my page load speed.

    Thanks! :)

  5. Roshni Kanchan says

    Hello,
    Please can you tell me – in the simple 301 redirect in the request URL column does wordpress / plugin take it as starting from http or https? Form where does it pick up this value?

    Thanks for the article. It was useful. However the redirects using 301 redirect plugin is not working and landing on ‘Page does not exist’ page.

  6. Nalin says

    Hi,

    If I want to change the url structure of my posts, even then redirection is necessary? Isn’t that already taken care of in WP?

    Also if I don’t redirect, will it be harmful for seo or search engines can figure out WP’s automatic redirection?

  7. Walter A. says

    Thanks so much, I would’ve spent so much time doing it the long way. So happy Redirection worked instantly after install.

  8. Cristian Adam says

    Hi Wpbeginner, I have a question about 301 permanent redirect and your advice will be great. I have an website about snoring and on that website are 2 related articles, 1 of them ranks for a lot of kws position 2-10 ( article A) and the other one just for 4-5 kws position 1-3 (article B). Both articles are on first google page and I want to permanent redirect the article B to A. Also on my website are some articles that point to article B and I want them to point to article A using same anchor texts. Now my question: Does this changes will pass the juice to article B to A and it will increase the article A rankings? And if I do this changes should I delete article B and reuse the content on other websites? Thank you very much for your time I will wait your answer, please excuse my bad english.

    • WPBeginner Support says

      Hi Christian,

      A 301 redirect will pass the link juice to new article. However, other search ranking factors would also apply to the new article, like relevance, context, keyword density, and more. Search engines may not find it relevant for the old keywords.

      Yönetici

  9. Raj says

    Hi WP beginner team,

    A quick question.

    Last year, when we changed URLs, WordPress was automatically redirecting Old urls to new urls.

    But after a recent wordpress core update, the automatic redirection is not happening.

    Would you be able to explain? Or am I missing anything

  10. Adebowale Adewale says

    I am changing the domain of a wordpress website example.com to example.com.ng . I tried several 301 redirect rules in .htaccess , only the homepage redirects.
    Please, assist me on the right code.

    I have tried each seperately :

    # BEGIN WordPress
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www.example.com
    RewriteRule (.*) http://www.example.com.ng/$1 [R=301,L]
    # END WordPress
    

    and

    RewriteEngine on
    
    RewriteCond %{HTTP_HOST} ^example.com [NC,OR]
    
    RewriteCond %{HTTP_HOST} ^www.example.com [NC]
    
    RewriteRule ^(.*)$ http://example.com.ng/$1 [L,R=301,NC]
    

    None is working for me.

  11. Shubham Davey says

    Do I need to own the domain while redirecting? My Domain is getting expired on 31st July and I will be redirecting to a new domain. So while it is redirected do I need to own the domain after 31st?

  12. christian says

    I have over 850 old post which I recently deleted on my site due to some reasons. I want to ask if there is an easy and automated way to redirect all the old post to just one post. The methods you listed are easy to do if you are trying to redirect 1 or 2 posts. pls, help me. Your reply is important.

    • Haitham Alnaqeb says

      You can try the permanent redirection methods from the cPanel. You can redirect all your 404 error into particular page.

  13. Ahu says

    Hi, this is a very helpful post thank you, but it seems like the instructions are for redirects from WP to WP.

    I am moving my website from WordPress to New Kajabi platform.

    I have around 250 post/pages in WP to 301 redirect to my new kajabi site.
    My domain name will be the same but the url structures and names of the posts/pages will be different.

    Would the tools you recommend still work in my case? If yes, how?
    I would appreciate your urgent reply, Thank you
    Ahu

  14. Zoltan says

    One thing I’m not clear about. Actually 2 things. 1 – Do I do the redirect on my new site or my old site. 2 – Where do I get a full list of my web pages from the old site?

  15. Lokesh thota says

    Hi. I have a WordPress website with 100 posts. But most of the backlinks are to the post rather than to the homepage. Does any of the methods above redirect all the posts to the new URL also. I want a 301 redirect to my new domain from only one URL.not all the 90 URLs.but at the same time I don’t want to lose link juice from those posts. Please specify a way to first redirect all the old posts to old homepage then redirect the old homepage to new URL.

  16. Ado says

    Hi, thanks for this info, very helpful.
    So I decided to use the Simple 301 Redirects plugin… but did something REALLY dumb….
    My wordpress site is still located in a subdirectory, with the Site address set to the main url (so WordPress Address URL is http://example.com/dev2017 and Site Address URL is http://example.com and .htaccess file updated)
    There were some google search results showing the subdirectory address, so I installed the plugin and set a redirect with a wildcard for the subdirectory (obviously wasn’t thinking very well) and so now I can’t get in to the WP admin (as it’s in the subdirectory!!)
    Is there a way to undo the redirects somehow? If I uninstall the plugin via FTP is it going to break the website???
    Silly me….

    • WPBeginner Support says

      Hey Ado,

      First you need to deactivate plugin. After that you need to delete the .htaccess file in your site’s root folder. You will be able to login to your WordPress site. Once logged in you will need to regenerate .htaccess file. Simply visit Settings » Permalinks and then click on the save changes button without changing anything.

      Yönetici

  17. Philemon O'Arpelleh says

    Please, I changed the permalink of my WordPress site from http://www.example.com/blog/%postname% to http://www.example.com/articles/%category%/%postname% and ALL my previous posts are affected.

    Please help me on how to setup a onetime redirection for ALL posts.
    Thank you.

  18. Mark says

    What is the best way to redirct adress like that: mywbsite.com/wp-content/uploads/2008/12/mybook.pdf to normal web page. Tha it not normal wordpress page or post but is ranking on some keywoords and i would like to redirect to specyfic wordpres page. WHAT metod redirection should i use ? In that case simple 301 edirect plugin not work for me.

    thanks

  19. Chrissy says

    I have what may be a silly question. I have a site that is not a WordPress site (it’s using Shopify right now) and I am recreating the site on a new URL in WordPress. Will the redirect plugins still work to direct the old (Shopify) links to the New (WordPress) ones?

    • WPBeginner Support says

      Hey Chrissy,

      WordPress plugins will be installed on your WordPress site. They can redirect users to correct post/page/product once the user reaches your website. You will have to redirect Shopify visitors to your WordPress site, and then redirect plugins take it from there.

      Yönetici

  20. Thom Duncan says

    I’m able to create a redirect using the Redirection plug-in, but with this problem:

    /old/ to /new/ works fine, but

    /old to /new/ picks up pages that I do not want to redirect, such as
    /old-2016 which then points to the non-existent /new/-2016.

  21. Charles D. Shell says

    I have an annoying problem. My site had the default settings for the blog posts, so I set up redirects and changed it to the %postname% option. Unfortunately, when I do that, my home (blog) page disappears. I’ve been chasing this problem for a while. Do you have a video with a solution? Or at least a way to point me in the right direction?

  22. Yeshna says

    I want to redirect my site form wordpress.com to wordpress.org. Is there any other way to redirect for free?

    By the way,are those plugins free?

  23. Steve says

    I want to redirect my current live wordpress site (hosted by Hostgator) to a new domain name that I just bought from Godaddy. My questions are: 1) does my new domain name need to be hosted by HG in order to have my live site redirect to the new domain name. 2) does the new domain site need to have content already?

    Thank you for your help.

  24. Aleen says

    Is there a way to do bulk redirects with one of these plugins? I want to update my permalinks to exclude the date, but don’t want to have to manually redirect 200+ posts. Please help!

    Also, thanks for all of your great articles. You are great at putting them in non-technical terms.

  25. nelson says

    i want to know if this could be done. have a user that had a site working, after i installed wordpress they wanted to change to wordpress so i created them a space and a site that calls wordpress/newsite.

    now i want:
    when typing my.old.url/site the information that comes out should be worpress/newsite

    could this be possible whith the redirect.

  26. Aslam Khan says

    I have deleted some of my posts from my website earlier.
    Now, I am getting not found errors for those pages as expected.
    I tried to redirect old URLs using a method provided by my hosting provider. But those redirects are not working.
    I want to ask, if I use .htaccess redirects and keep previous redirects setup on hosting provider, can it cause any problems?
    I need expert advice.

  27. Laura says

    Ok, I am not sure why the .htaccess method is not working for me. I would like to avoid installing any more plugins on the client’s site. They have too many already for my liking. I’ve used your instructions because what I’ve used for redirect in the past didn’t seem to be working on her site for some reason. But this isn’t either. Not sure what the problem is. Have you run into this before? I’ve flushed the Permalinks, but am still getting a 404 when I try to go to the old URL I’ve rewritten.

    • Rhys Clay says

      @Aslam & @Laura,

      One little got ya with 301’s and wordpress via the .htaccess file is that you need to place your redirects between:
      RewriteEngine On

      And:
      RewriteBase /

      This is because wordpress has its own mods to the htaccess file to apply and changes the RewriteBase setting which I think causes problems with regular ol 301 redirects on shared hosting.

  28. Sumit says

    I think in wordpress, there is no need to set redirection when changing slug of the post. It is done automatically. Right ?

    • Laura says

      If someone has bookmarked the old URL, for instance, or if the search engines have indexed the old URL and are still serving it in search results, you need to have a redirect in place so you aren’t losing traffic.

  29. Allahlea says

    I research everywhere and I want to confirm what I learned.

    I want to redirect my site form wordpress.com to wordpress.org. There is no other way to redirect but to pay for site redirect. Right? Is there any other option?

    If there is no other way, can I redirect every single post for free? if there is HOW?

  30. SK says

    Thank you very much. You saved my day. I need this post to redirect all my old posts to new posts. I have a question though. I just forwarded the old post to the new updated post, but I didn’t delete the old post contents. My old and new post have the same contents, but I redirected the old post to new post. Should I delete the contents of the old article to avoid plagiarism issues? Does it affect my SEO? Thanks again for this valuable post.

  31. Aditya Mankad says

    How I can have a redirect on a free wordpress account. I am pretty sure I cannot add a plug-in.

    Is it possible or if not; another way to redirect the users to my new page (which is NOT a free hosting)

    P.S gave the info about the new site as not free hosting because maybe something can be done about it.

  32. Danny Flood says

    Thanks for this, but nothing is working for me. I have tried 3 different plugins – Quick Page / Post Redirect, Simple 301 Redirects, and Redirection. The only thing they are able to accomplish is redirect me when I am logged in to WP-Admin. For non-logged in users, the redirect does not work. How do I fix this?

  33. Jim says

    I changed a TAG name.

    How can I use your .htaccess solution to redirect old-tag to new-tag?

    Is that possible?

    Thx!

  34. Anand says

    Oops…my comment, which was actually a question, doesn’t seem to have struck well with you.

    It’s alright if you don’t have an answer. It just means, you need to work more & better.

    Thanks anyway :)

  35. Anand says

    Hi,

    Thanks for introducing the redirection plugins.

    Using the ‘redirection’ pluginsis it possible to add bulk redirects?

    The case in point is change in domain name, where you would want to redirect all pages from old domain to new domain. Adding redirects one by one for each page doesn’t sound like a good solution.

    Appreciate you help please.

  36. Denika says

    When using the coding way to get a redirect, do you need to include RewriteEngine On for each redirect? Or do you include it once and just follow through with each redirect on it’s own line?

  37. nina says

    So, do we keep google search positions with redirects, lets say my posts i want to redirect are on the first page of google What happens after redirect? Thanks, hoping for an answer.

    • WPBeginner Support says

      If you are doing a 301 redirect, then Google will consider replacing your new url with the old one. However, the position of that page in search results will depend on whatever content it has. For example, if your old page was about “apples” and your new page is about “oranges” then it will certainly not appear for apples related keywords anymore.

      Yönetici

      • Nina says

        Thanks, i have one more question. I forgot to tell you i want to redirect some posts from blog A, to new blog B. I can still use these techniques? I have to copy paste old content to new post on blog B then am i right ? I want content to stay the same, only want it to be shown on blog B instead of blog A. In this case google also keeps rankings or not?
        Thanks a lot again:)!

  38. Raghu koorthy says

    Can you pls run a article on how to create a landing page or squeeze page and link it to mail chimp. Thank you.

  39. Raghu Koorthy says

    Simple but very useful information.
    I started working with WP recently and YOUR BLOG is the first point of reference when I need help.
    Thank you team for your help.

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.