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
-
Changing Domains - 301 old https to new https
Brief History: Our company made change to a new domain. Both domains had an SSL configured on it in which the old domain SSL was controlled and created by Shopify which gave us limited control. Because we couldn't redirect the old https:// to the new https:// So basically we duplicated our new HTML website and put canonical ref on all duplicate pages to the final domain to help get search to navigate to the newer domain. Question: In the near future I would like to take down the old domain and do a 301 domain forwarding. What is the correct course of action to complete this? Our old domain was indexed and SERP results were tied to it's https:// url's.
Technical SEO | | bnewt1 -
Site hacked in Jan. Redeveloped new site. Still not ranking. Should we change domain?
Our top ranking site in the UK was hacked at the end of 2014. http://www.ultimatefloorsanding.co.uk/ The site was the subject of a manual spam action from Google. After several unsuccessful attempts to clean it up, using Securi.net and reinstating old versions of the site, changing passwords etc. we took the decision to redevelop the site. We also changed hosting provider as we had received absolutely no support from them whatsoever in resolving the issue. So far we have: Removed the old website files off the server Developed a new website having implemented 301's for all the old URL's (except the spam ones) Submitted a reconsideration request for the manual spam action, which was accepted. Disavowed all the spammy inbound links through Webmaster Tools Implemented custom URL parameters through Google to not index the SPAM URLs ( which were using parameters) Our organic traffic is down by 63% compared to last year, and we are not ranking for most of our target keywords any longer. Is there anything that I am missing in the actions I have taken so far? We were advised that at this stage changing domain and starting again might be the way to go. However the current domain has been used by us since 2007, so it would be a big call. Any advice is appreciated, thanks. Sue - http://www.ultimatefloorsanding.co.uk/
Technical SEO | | galwaygirl0 -
Blogging on multiple domains
We have three different domains for geotargeting (za,uk and .com). Each site at at the moment has the same content with only country specific details changed like currency etc. What is the best way to get maximum SEO benefit when posting new content.When we post new content should we repost to all three domains (the same content) or will Google only index the url on the domain which is crawled first. Thanks in advance
Technical SEO | | aquaspressovending0 -
Changed URL of all web pages to a new updated one - Keywords still pick the old URL
A month ago we updated our website and with that we created new URLs for each page. Under "On-Page", the keywords we put to check ranking on are still giving information on the old urls of our websites. Slowly, some new URLs are popping up. I'm wondering if there's a way I can manually make the keywords feedback information from the new urls.
Technical SEO | | Champions0 -
Prospective new client it by webspam looking for new resource
Background:
Technical SEO | | tcmktg
Prospective client recently hit by webspam update. (I have verified hundreds of low-quality links, porn links, backlink exchanges etc.) They want us to step in and remove bad links and start over. Question:
What is the best way to examine all the links to determine which need to be removed? We can create the report from open site, but how can we identify the bad links? Here are the site metrics. 5000+ linking domains, so in this example we need to research the 5000 links, and possibly send notifications to thousands of webmasters to remove the links? Open site states about 25,000 total links, but root links are shown below. Yikes. Domain Authority 75
External Followed Links 112,000
Total External Links 115,000
Total Links 150,000,
Followed Linking Root Domains 3,900
Total Linking Root Domains 5,300
Linking C Blocks 2,7000 -
Vanity Virgin Domains
Hi, I've acquired a vast amount of domains related to my industry over the past 2-3 years. The domains themselves are keyword rich, and likely to be highly searched in their respective terms. Most of the domains are virgin names, some are expired and re-registered names. I can appreciate re-registered names likely retain little value, but I'm wondering, if one was to setup each of the virgin vanity domains as a 301 re-direct, and add the redirected domains as a new submit to google, would there be any keyword relevance, or would this likely be a wasted effort or result in a penalty? I initially registered the domains to protect intellectual property, or prevent others from benefiting from the competitive terms (evil, I know), but I'd like benefiting from them, rather than renew each year and have them site there and do nothing. Thanks!
Technical SEO | | ispone0 -
301 an old URL with a ? in the URL?
I am redoing a site and the URL's are changing structure. The client's site was in magento and in the store they would get two URLs, for example: /store/categoryname/productname and /store/categoryname/productname?SID=dslkajsfdoiu947598whouieht983hg98 Do I have to 301 redirect both of these URL's to their new counterpart? Both go to the same content but magento seemed to add these SIDs into the navigation and Google has both versions in the index.
Technical SEO | | DanDeceuster0 -
A client will be translating their entire site into French in addition to English. For SEO purposes, should I host it on the same domain or create its own dedicated domain?
The current site is a long-standing site with good authority and a good number of links. Thanks....
Technical SEO | | JamesBSEO0