301 from old domain to new domain
-
Hi,
I need to create a 301 redirect for all internal pages located on organic7thheaven.com to the homepage of our new site at http://www.7thheavennaturals.com/
Currently internal pages of the old site such as the following are returning a page not found
www.organic7thheaven.com/products/deepcleansing/miraclemud.asp
Can anyone help me in setting up a .htaccess file for this problem please?
Thanks
-
Hi,
Looks like you might have already figured it out cause it redirect properly?
www.organic7thheaven.com/products/deepcleansing/miraclemud.asp
Redirects to
http://www.7thheavennaturals.com/products/deepcleansing/miraclemud.asp/
HTTP/1.1 301 Moved Permanently => Connection => close Date => Fri, 13 Apr 2012 13:39:22 GMT Server => Microsoft-IIS/6.0 X-Powered-By => ASP.NET X-AspNet-Version => 2.0.50727 Location => http://www.7thheavennaturals.com/products/deepcleansing/miraclemud.asp Cache-Control => private Content-Length => 0
But the code would be (All one line formatting here is bad)
Redirect 301 /products/deepcleansing/miraclemud.asp http://www.7thheavennaturals.com/products/deepcleansing/miraclemud.asp/
If you used the code
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(.)yourdomain.com [NC]
RewriteRule ^(.)$ http://yournewdomain.com/$1 [R=301,L]SInce it appears you have the same directory structure, then technically this is a chain redirect, even though Google says this is "okay" it is preferred to do it page by page.
Shane
-
Hi,
Information on moving sites can be found here on SEOMoz:
http://www.seomoz.org/learn-seo/redirection
http://www.seomoz.org/blog/seo-guide-how-to-properly-move-domains
Thanks
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
-
Changed domains, saw significant drop in domain authority
Hello, A little over a month ago we switched our domain from A to B. The original was .com and the new one is at a .tech for good measure. We have meticulously done 301 redirects page by page but there has been a massive drop in traffic and I checked here to see that we've gone from a 30 domain authority to a 9. The company is a few months over 1 year old, but we're really looking at traffic accumulated in just about 8 months for the old domain. Is there any way to recover some of the old juice in this one other than the re-directs? Our number of backlinks have also severely dropped despite re-directs.
Technical SEO | | SteveSaf0 -
301 for a Very Long URL
Hey gang, Thanks ahead of time for the help. I have a url somehow that is very very long: http://www.colbysphotography.com/wedding-caterers-knoxville-east-tennessee/Here is an extensive list of wedding venues in the Knoxville and East Tennessee region. If you find that any of these links are not working, that the venues are no longer in business, or have a suggestion for an additional venue (at no charge), please contact Colby. Colby's Photography works hard on keeping this list helpful. I have tried Yoast Premium on a wordpress site to redirect the url but it doesn't seem to keep. I've tried a few other redirect plugins with not help either. I would love some suggestions on this one! Colby
Technical SEO | | littlecolby0 -
301 with nofollow ?
Hi, our ecommerce link penalty was revoked by google back in Feb 26th 2013, but to this day we have not seen any improvement on our rankings. Due to 80% revenue loss we had to layoff quite a few people to stay alive. Situation now is more dire then ever for our company. We have millions of dollars invested in our business and google just busted it for some "low quality" or "spammy links" as they call it. We want to try to move to a different domain and do a 301 from the old domain to make sure our previous customers can still find us as a last effort to stay alive. But doing so we do not want to the bad links juice to flow to our new domain. Can we do a 301 with nofollow and will that have any negative impact or any impact at all.? any suggestion is greatly appreciated. Thank you Nick We are planning on moving to a different domain after 10 years, and laying off bunch of people due to loss of revenue.
Technical SEO | | orion680 -
Forwarding kw rich domains to main domain
Hi My client has a clutch of kw rich domains that want to point to main domain, apart from being good for promotional reasons is there any seo benefit for doing so (i know there used to be years ago but under impression hasn't been any benefit for a long while) Most importantly though can any bad come from doing this ? Best Rgds Dan
Technical SEO | | Dan-Lawrence0 -
301 redirect to new website
We are migrating to a new website that will be using entirely new URLs under the same domain as the old website. The old website is a custom PHP script and the new website uses Drupal. I know that I should use individual 301 redirects to the corresponding new pages. My question is just how to set up the hundreds of 301 redirects from the old website to the new one? Here is the process I've come up with. Please let me know if there is an easier and better way for this. Before actually changing to the new website: download an advanced report with all pages on this domain from OSE. Find corresponding pages on the new website Make the hundreds of 301 redirect lines in an .htaccess file with the following code: redirect 301 /oldurl.html http://domain.com/the-full-url Thanks in advance for your help!
Technical SEO | | qbeeker0 -
Selling Domain,,,,, OOOOPPPPPPsssss!
Hey Everyone, I think I may have screwed up big time. I have an old 4 letter domain that I've been sitting on for many years. I had no idea what it was worth and ended up putting it up on ebay. I have since been told that it's quite valuable. I just tried to end the auction and ebay won't let me end it. My thinking is that someone here may want to take advantage of my mistake. Even better, let me know if there are any tricks to ending the auction. The domain is http://proa.com If for some reason it doesn't sell, where is a good place to sell it at a fair price? Have a good one. David
Technical SEO | | dmac0 -
Old owners links pointing to new owners domain
We have a number of web sites. We recently acquired an excellent domain name, it happened to be owned by one of our competitors. Our competitor has a lot of web sites, each domain having a basic 5 page unoptimized site with one of those pages little more than a link farm. They have over three hundred domains with all but lets say 10 of them consisting of basic 5 page sites with a link "directory" on one of those pages. - the directory page is the same on every single site/domain. One of the links from that directory is going to our newly acquired domain and newly optimized web site. Being new to this, should this pose any kind of concern for us? Thanks in advance!
Technical SEO | | PlasticCards0 -
301 redirect: Old pages to new
Hi, We have recently made some changes to our agency site. Looking in webmaster tools we have identified a number of old pages with existing link juice. Not a great deal mostly 32/100 PA. There are a mixture of URLs "meet the team" and people pages etc. The anchor text on the majority of pages is our brand name. Could we now 301 all these pages to one page, or is this a no no in the eyes of Google? Any help greatly appreciated. Best Regards Sean
Technical SEO | | Yozzer0