Old Content after 301 Redirect Success
-
Hi,
I want to ask what need I do to the old content after my 301 redirect to the new domain with the same content success?
Do I need to remove that old content? Nothing bad happen right?
Thanks
-
No problem Matthew,
we all have lives away from the internet.
I am glad your issue is now resolved.
Steve
-
Hi Steve,
Sorry for my delayed reply. I was busy on my offline business.
But, thanks for you help. It really help and my question has been solved wit your answer above
-
Hi Matthew,
No problem, apologise for not replying yesterday. I was spending time with the family.
Your redirect code looks good to me, that should redirect all the old URLs to a replica new URL.
so www.example-old.com/content will go to www.example-new.com/content
everything after the domain name will stay the same.
I suspect you only see 1 URL on your old domain in screamingfrog due to the redirect. That makes sense and is fine.
Keep an eye out for 404's in Google analytics and search console and also keep an eye on search console for crawl errors.
From the information you have posted, it looks like you have done everything correctly. It is now just a case of monitoring for any little niggles that may pop up.
Steve
-
Hi Steve, thanks for still being here to solve my problem.
For sure, I will do what you tell me to do. I will still use 301 redirect for the moment and maybe permanently to make sure it'll goes correctly.
I'm using WordPress as my CMS. And Steve, I want to ask you about Screaming From crawl. When I crawl my old domain on the software, it shown that just my homepage alone not all my article/post/inner page. You can check my screenshot below.
Is it true? Or I was implemented a wrong redirect code?
Can you tell me how to implement 301 redirect correctly via htacess file? I need this. Or you can check my current implementation below.
<ifmodule mod_rewrite.c="">RewriteEngine on
RewriteCond %{HTTP_HOST} ^old-domain.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.old-domain.com [NC]
RewriteRule ^(.*)$ https://new-domain.com/$1 [L,R=301,NC]</ifmodule>Is that true? Or I need to add some code more?
Thank you before.
15167685e9a3183b6303c7110790e1d88d59c29c40d32a12cb00b60ae76a1b744aa5d745.jpg
-
Hi Matthew,
No problem,
Great, I would backup the site and monitor for a few weeks to a month just to be sure. Then you can delete the old content. Make sure you verify the backup first.
You can do this by setting up a local web server on your laptop/pc and restoring the backup there. If you need guidance on taking the backup let me know which CMS you are using and I will see what I can do to help.
Once you have verified the backup and removed the old domain, keep an eye on google analytics to make sure everything looks ok. (on both sites) and that no 404 errors are starting to show up.
As for how long to keep the 301 in place, indefinitely. That is until you stop seeing any backlinks and traffic coming through them.
Make sure you keep an eye on traffic volumes through this process and rankings in the search engines. You will likely see a small drop off in rankings and traffic due to the rebrand but that should recover. If not then make sure that the pages you are redirecting from are close enough to the ones you are redirecting to.
Its been a long day and I feel like I am rambling so I will leave it there.
If you have any questions let me know
Steve
-
Hi Steve,
Thanks for your kind reply, and here some info that you need:
- I redirected old-domain.com to new-domain.com with a 301 redirect
- I've been tested all the pages on my old domain/URL and that's work finely
- This redirect happen because I want to rebrand my website
- I've checked my old domain on Screaming Frog and all my old URL redirected to my new URL successfully
And I would like to take your suggestion to backup and delete all my content on my old website, maybe this can free up my hosting space, right?
One more question, how long I need to redirect the old domain to new domain? permanently or what?
Thank you.
Matthew
-
Hi,
We might need some more info to answer this correctly.
However, I will do my best to answer.
First, let me explain what I think you are asking.
You have launched a new domain let say www.example-new.com and you have redirected your pages with a 301 from www.example-old.com to the www.example-new.com.
If this is the case, then all of the traffic that would have gone to the old domain will now be redirected to the new domain, so you can do whatever you want with the old content as no one will see it.
I would suggest making a backup of the old domain before you do anything else. I would also suggest testing the old URLs to ensure that all are being redirected correctly. You can do this with numerous tools if you have a lot of URLs. Screaming frog spider will do it for up to 500 URLs for free.
Also, don't forget that for the link juice to be passed from the old domain to the new domain you need to be redirecting to a page that is considered the same, similar or better on the same topic.
I hope this helps.
Steve
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Google is still indexing the old domain a year after 301 redirects are put in place
Hi there, You might have experienced this before but for me this is the first. A client of mine moved from domain A (www.domainA.com) to domain B (www.domainB.com). 301 redirects are all in place for over a year. But the old domain is still showing in Google when you search for "site:domainA.com" The HTTP Header check shows this result for the URL https://www.domainA.com/company/cookie-policy.aspx HTTP/1.1 301 Moved Permanently =>
Technical SEO | | iQi
Cache-Control => private
Content-Length => 174
Content-Type => text/html; charset=utf-8
Location => https://www.domain_B_.com/legal/cookie-policy
Server => Microsoft-IIS/10.0
X-AspNetMvc-Version => 5.2
X-AspNet-Version => 4.0.30319
X-Powered-By => ASP.NET
Date => Fri, 15 Mar 2019 12:01:33 GMT
Connection => close Does the redirect look wrong? The change of address request was made on Google Console when the website was moved over a year ago. Edit: Checked the domainA.com on bing and it seems that its not indexed, and replaced with domainB.com, which is the right. Just Google is indexing the old domain! Please let me know your thoughts on why this is happening. Best,0 -
301 Redirects
Hi, We have migrated to a new domain name and I wrote my redirects as follows: Redirect 301 / http://www.healthpointe.net Redirect 301 /urgent_care_locations.shtml http://www.healthpointe.net/healthpointe-locations/ Redirect 301 /locations.shtml http://www.healthpointe.net/healthpointe-locations/ Redirect 301 /career_client_relations_rep.shtml http://www.healthpointe.net/careers/ My issue is that when I include the first redirect, which is to the main page of the website that the other redirects stop working. Any idea what the problem could be?
Technical SEO | | healthpointeseo0 -
Soft 404's on a 301 Redirect...Why?
So we launched a site about a month ago. Our old site had an extensive library of health content that went away with the relaunch. We redirected this entire section of the site to the new education materials, but we've yet to see this reflected in the index or in GWT. In fact, we're getting close to 500 soft 404's in GWT. Our development team confirmed for me that the 301 redirect is configured correctly. Is it just a waiting game at this point or is there something I might be missing? Any help is appreciated. Thanks!
Technical SEO | | MJTrevens0 -
301 redirect question
Hi Everyone When doing 301 redirects for a large site, if a page has 0 inbound links would you still redirect it or just leave it? Im just curious on the best practice for this Thanks in advance
Technical SEO | | TheZenAgency0 -
301 Redirect keep html files on server?
Hello just one quick question which came up in the discussion here: http://moz.com/community/q/take-a-good-amount-of-existing-landing-pages-offline-because-of-low-traffic-cannibalism-and-thin-content When I do 301 redirects where I put together content from 2 pages, should I keep the page/html which redirects on the server? Or should I delete? Or does it make no difference at all?
Technical SEO | | _Heiko_0 -
Help creating a 301 redirect in my htaccess file
Hi Guys, I'm trying to build a 301 file with the file requirements: It should be visible only for Google and other Search Engine Agents. It will have a few direct redirects. A few URL must be dynamic redirect. For example each page the starts with olddomain.com/category and is not in the list of of direct redirects should be redirect for newdomain.com/category Here is my start point: #301 Starts here Set the agents RewriteEngine On
Technical SEO | | Felip3
RewriteCond %{HTTP_USER_AGENT} Googlebot [OR]
RewriteCond %{HTTP_USER_AGENT} msnbot [OR]
RewriteCond %{HTTP_USER_AGENT} Slurp Make the direct redirect. Redirect 301 /category/sub1 http://www.newdomain.com/category/sub1
Redirect 301 /category/sub2 http://www.newdomain.com/category/sub2 Redirect everything else Redirect 301 /category/* http://www.newdomain.com/category #End of my 301 Will that work how I want? is there anything wrong?0 -
Quick Seo question regarding 301 redirect
Hi everyone and thank you for showing interested in my problem and for helping me out with this easy thing i have going on Here is how it puts out : I have 2 websites, same niche, mostly same keywords. Site #1 holding strong on google #2 ranking for months now. Site #2 was holding strong in google top 10 rankings until 2 weeks ago when it got sandboxed for some reason I want to use a 301 permanent redirect from Site #2 to Site #1 to pass all the link juice onto Site #1 and hopefully beat the #1 spot The question: Will this affect Site #1 is anyway, considering Site #2 is in somehow sandbox ( i assume that, since he dropped more then 70 positions over night ) Is thins a good think to do or i risk damaging Site #1 by doing this ? Thanks allot in advance. Best regards,
Technical SEO | | caw_ro
Trinca Alexandru0 -
301 redirect to 1 of 3 locations based on browser languge? Is this ok?
Hi all, I'm taking over a site that has some redirect issues that need addressed and I want to make sure this is done right the first time. The problem: Our current setup starts with us allowing both non-www and www pages. I'll address this with a proper rewrite so all pages will have www. Server info: IIS and runs PHP. The real concern is that we currently run a browser detection for language at the root and then do a 302 redirect to /en, /ge or /fr. There is no page at the www.matchware.com. It's an immediate redirect to a language folder. I'd like to get these to a 301(Permanent) redirect but I'm not sure if a URL can have a 301 redirect that can go to 3 different locations. The site is huge and a site overhaul is not an option anytime soon. Our home page uses this: <%
Technical SEO | | vheilman
lang = Request.ServerVariables("HTTP_ACCEPT_LANGUAGE")
real_lang = Left(lang,2)
'Response.Write real_lang
Select case real_lang
case "en"
Response.Redirect "/en"
case "fr"
Response.Redirect "/fr"
case "de"
Response.Redirect "/ge"
case else
Response.Redirect "/en" End Select
%> Here is a header response test. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ HTTP Request Header Connect to 87.54.60.174 on port 80 ... ok GET / HTTP/1.1[CRLF] Host: www.matchware.com[CRLF] Connection: close[CRLF] User-Agent: Web-sniffer/1.0.37 (+http://web-sniffer.net/)[CRLF] Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7[CRLF] Cache-Control: no-cache[CRLF] Accept-Language: de,en;q=0.7,en-us;q=0.3[CRLF] Referer: http://web-sniffer.net/[CRLF] [CRLF] HTTP Response Header --- --- --- Status: HTTP/1.1 302 Object moved Connection: close Date: Fri, 13 May 2011 14:28:30 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Location: /ge Content-Length: 124 Content-Type: text/html Set-Cookie: ASPSESSIONIDQSRBQACT=HABMIHACEMGHEHLLNJPMNGFJ; path=/ Cache-control: private Content (0.12 <acronym title="KibiByte = 1024 Byte">KiB</acronym>) <title></span>Object moved<span class="tag"></title> # Object Moved This object may be found <a< span="">HREF="/ge">here. +++++++++++++++++++++++++++++++++++++++++++++++++++++ To sum it up, I know a 302 is a bad option, but I don't know if a 301 is a real option for us since it can be redirected to 1 of 3 pages? Any suggestions?</a<>1