{"id":50355,"date":"2020-03-16T20:51:13","date_gmt":"2020-03-16T15:21:13","guid":{"rendered":"https:\/\/www.quickonlinetips.com\/archives\/?p=50355"},"modified":"2026-10-08T18:53:03","modified_gmt":"2026-10-08T13:23:03","slug":"link-juice-from-deleted-subdomains","status":"publish","type":"post","link":"https:\/\/www.quickonlinetips.com\/archives\/2020\/03\/link-juice-from-deleted-subdomains\/","title":{"rendered":"How to Recover Link Juice from Deleted Subdomains (301 Redirect Guide)"},"content":{"rendered":"<p>Did you delete a subdomain years ago? It may still have valuable backlinks pointing at it, and every one of them now lands on an error page. You can recover that lost link juice from deleted subdomains with a simple 301 redirect, and it takes only a few minutes. We did exactly this on our own site and reclaimed links from high-authority websites that had been wasted for years.<\/p>\n<p><strong>Quick answer:<\/strong> Re-create the subdomain (or just its DNS record) in your hosting or DNS panel, then 301 redirect it to your main domain. Add a redirect in your hosting panel, or put a rewrite rule in the subdomain&#8217;s <code>.htaccess<\/code> file, such as <code>RewriteRule ^(.*)$ https:\/\/yoursite.com\/$1 [R=301,L]<\/code>. Check the old backlinks now return a 301 to a working page.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_89 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6ae9e3c94c0ad\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #1a202c;color:#1a202c\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #1a202c;color:#1a202c\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6ae9e3c94c0ad\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/03\/link-juice-from-deleted-subdomains\/#Why_deleted_subdomains_lose_link_juice\" >Why deleted subdomains lose link juice<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/03\/link-juice-from-deleted-subdomains\/#Step_1_Find_backlinks_to_your_old_subdomains\" >Step 1: Find backlinks to your old subdomains<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/03\/link-juice-from-deleted-subdomains\/#Step_2_Re-create_the_subdomain\" >Step 2: Re-create the subdomain<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/03\/link-juice-from-deleted-subdomains\/#Step_3_301_redirect_the_subdomain\" >Step 3: 301 redirect the subdomain<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/03\/link-juice-from-deleted-subdomains\/#Option_A_Use_your_hosting_panel\" >Option A: Use your hosting panel<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/03\/link-juice-from-deleted-subdomains\/#Option_B_Use_htaccess\" >Option B: Use .htaccess<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/03\/link-juice-from-deleted-subdomains\/#Option_C_Cloudflare_redirect_rules\" >Option C: Cloudflare redirect rules<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/03\/link-juice-from-deleted-subdomains\/#Step_4_Check_the_redirects_work\" >Step 4: Check the redirects work<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/03\/link-juice-from-deleted-subdomains\/#Frequently_asked_questions\" >Frequently asked questions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/03\/link-juice-from-deleted-subdomains\/#Does_a_301_redirect_pass_link_juice\" >Does a 301 redirect pass link juice?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/03\/link-juice-from-deleted-subdomains\/#How_long_should_I_keep_the_redirects\" >How long should I keep the redirects?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2020\/03\/link-juice-from-deleted-subdomains\/#Should_I_redirect_a_subdomain_with_no_backlinks\" >Should I redirect a subdomain with no backlinks?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Why_deleted_subdomains_lose_link_juice\"><\/span>Why deleted subdomains lose link juice<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Many sites once created subdomains for side projects, forums, job boards or old blogs, then deleted them. Some were removed to clean up thin content after Google updates such as <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2011\/10\/recover-google-panda-update\/\">Google Panda<\/a>; others simply weren&#8217;t worth maintaining.<\/p>\n<p>But the content had already earned likes, shares and backlinks. When the subdomain disappears, every link to it hits a DNS error or a 404 page, and the authority those links carried is lost. Google can&#8217;t pass value through a link that leads nowhere.<\/p>\n<p>For example, we once ran a jobs subdomain with a job board. It was thin content that never got much traffic, so we deleted it long ago for a cleaner site. Years later, after moving to new hosting, I ran a link audit on our old subdomains. Several of them still had backlinks from high domain authority websites:<\/p>\n<p><img decoding=\"async\" class=\"border alignnone wp-image-50361 size-full\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/subdomain-backlinks.png\" alt=\"Backlinks to a deleted subdomain\" width=\"847\" height=\"208\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/subdomain-backlinks.png 847w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/subdomain-backlinks-300x74.png 300w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/subdomain-backlinks-150x37.png 150w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/subdomain-backlinks-768x189.png 768w\" sizes=\"(max-width: 847px) 100vw, 847px\" \/><\/p>\n<p>That was free link value we&#8217;d thrown away, so we decided to reclaim it.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_1_Find_backlinks_to_your_old_subdomains\"><\/span>Step 1: Find backlinks to your old subdomains<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Check each old subdomain in a backlink tool:<\/p>\n<ul>\n<li><a href=\"https:\/\/ahrefs.com\/backlink-checker\" target=\"_blank\" rel=\"noopener\">Ahrefs Backlink Checker<\/a> or the free <a href=\"https:\/\/ahrefs.com\/webmaster-tools\" target=\"_blank\" rel=\"noopener\">Ahrefs Webmaster Tools<\/a>.<\/li>\n<li><a href=\"https:\/\/search.google.com\/search-console\" target=\"_blank\" rel=\"noopener\">Google Search Console<\/a>: if you verify your whole domain as a Domain property, the <strong>Links<\/strong> report includes subdomains. Here&#8217;s how to <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2012\/12\/dns-txt-verify-all-subdomains-in-google-webmaster-tools\/\">verify all subdomains in Search Console with a DNS TXT record<\/a>.<\/li>\n<\/ul>\n<p>Note which old URLs have the most links, so you can redirect them to the most relevant pages.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_2_Re-create_the_subdomain\"><\/span>Step 2: Re-create the subdomain<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In your hosting control panel (cPanel, hPanel or similar), add the subdomain back. It doesn&#8217;t need any content; it just needs to exist so it can redirect.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-50359\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/create-subdomain.png\" alt=\"Create a subdomain in cPanel\" width=\"427\" height=\"529\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/create-subdomain.png 427w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/create-subdomain-242x300.png 242w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/create-subdomain-121x150.png 121w\" sizes=\"(max-width: 427px) 100vw, 427px\" \/><\/p>\n<p>If you use Cloudflare or another DNS provider, make sure there&#8217;s a DNS record for the subdomain pointing to your server.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_3_301_redirect_the_subdomain\"><\/span>Step 3: 301 redirect the subdomain<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Option_A_Use_your_hosting_panel\"><\/span>Option A: Use your hosting panel<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Most control panels have a <strong>Redirects<\/strong> tool. Choose the subdomain, set a <strong>Permanent (301)<\/strong> redirect, and enter your main domain or a relevant page.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-50360\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/manage-subdomain.png\" alt=\"Manage subdomain redirect in cPanel\" width=\"796\" height=\"220\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/manage-subdomain.png 796w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/manage-subdomain-300x83.png 300w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/manage-subdomain-150x41.png 150w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/manage-subdomain-768x212.png 768w\" sizes=\"(max-width: 796px) 100vw, 796px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Option_B_Use_htaccess\"><\/span>Option B: Use .htaccess<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>On Apache or LiteSpeed servers, open the subdomain&#8217;s folder with the file manager or FTP, and add rules to its <code>.htaccess<\/code> file (in the subdomain folder, not your main site&#8217;s root).<\/p>\n<p>To send every old URL to your homepage:<\/p>\n<pre><code>RewriteEngine On\r\nRewriteCond %{HTTP_HOST} ^sub\\.yoursite\\.com$ [NC]\r\nRewriteRule ^(.*)$ https:\/\/yoursite.com\/ [R=301,L]<\/code><\/pre>\n<p>To keep the same path on your main domain (sub.yoursite.com\/page\/ \u2192 yoursite.com\/page\/):<\/p>\n<pre><code>RewriteEngine On\r\nRewriteCond %{HTTP_HOST} ^sub\\.yoursite\\.com$ [NC]\r\nRewriteRule ^(.*)$ https:\/\/yoursite.com\/$1 [R=301,L]<\/code><\/pre>\n<p>Use the second version only if those pages actually exist on your main site; otherwise visitors land on 404s again.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Option_C_Cloudflare_redirect_rules\"><\/span>Option C: Cloudflare redirect rules<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If your DNS is on <a href=\"https:\/\/www.cloudflare.com\/\" target=\"_blank\" rel=\"noopener\">Cloudflare<\/a>, add a proxied DNS record for the subdomain and create a <strong>Redirect Rule<\/strong> that sends it to your main domain. No hosting changes are needed.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_4_Check_the_redirects_work\"><\/span>Step 4: Check the redirects work<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Open a few of the old backlinked URLs and confirm they arrive at the right page. A tool that shows HTTP status codes should report <strong>301<\/strong> followed by <strong>200<\/strong>. See how to <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2010\/07\/verify-301-redirects\/\">verify 301 redirects<\/a>.<\/p>\n<p>Redirect each old URL to the <strong>most relevant<\/strong> page you have. Google may treat mass redirects to an unrelated homepage like a soft 404, so a relevant destination keeps more of the value.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Frequently_asked_questions\"><\/span>Frequently asked questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Does_a_301_redirect_pass_link_juice\"><\/span>Does a 301 redirect pass link juice?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Yes. Google has confirmed that 301 redirects pass PageRank, so links to the old subdomain help the page you redirect to.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_long_should_I_keep_the_redirects\"><\/span>How long should I keep the redirects?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Keep them permanently, or at least as long as the backlinks exist. Removing the redirect loses the value again.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Should_I_redirect_a_subdomain_with_no_backlinks\"><\/span>Should I redirect a subdomain with no backlinks?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>It isn&#8217;t necessary. If a subdomain has no links or traffic, you can let it go. Focus on the ones with valuable backlinks. For a broader check, see how to <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2013\/04\/find-toxic-backlinks-link-detox\/\">find toxic backlinks<\/a> while you&#8217;re auditing links.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Did you delete a subdomain years ago? It may still have valuable backlinks pointing at it, and every one of&#8230;<\/p>\n","protected":false},"author":4,"featured_media":50359,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"default","_kad_post_title":"default","_kad_post_layout":"default","_kad_post_sidebar_id":"","_kad_post_content_style":"default","_kad_post_vertical_padding":"default","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[6,25,41],"tags":[49],"class_list":["post-50355","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogging","category-domain-hosting","category-search-engine-optimization","tag-tutorials"],"_links":{"self":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/50355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/comments?post=50355"}],"version-history":[{"count":1,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/50355\/revisions"}],"predecessor-version":[{"id":63641,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/50355\/revisions\/63641"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media\/50359"}],"wp:attachment":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media?parent=50355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/categories?post=50355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/tags?post=50355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}