The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. 301 from old domain to new domain

    301 from old domain to new domain

    Technical SEO Issues
    3 3 503
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MJMarketing
      MJMarketing last edited by

      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

      1 Reply Last reply Reply Quote 0
      • hostsurfuk
        hostsurfuk last edited by

        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

        1 Reply Last reply Reply Quote 1
        • Jinx14678
          Jinx14678 last edited by

          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

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Changing Domains - 301 old https to new https
            BlueprintMarketing
            BlueprintMarketing
            1
            5
            81

          • Old domain to new domain
            AL123al
            AL123al
            0
            3
            121

          • Old domain still being crawled despite 301s to new domain
            backcash
            backcash
            1
            10
            1.7k

          • Redirecting old domain to new domain with wordpress
            bobrock4
            bobrock4
            0
            4
            277

          • Old domain vs. New keyword domain - Thoughts?
            EGOL
            EGOL
            0
            2
            279

          • New Website, New URL, New Content - What do we do with the old site? Are 301's the only option?
            Valarlf
            Valarlf
            0
            3
            342

          • Should a 301 from a penalised domain to a new domain be removed?
            Ewan.Kennedy
            Ewan.Kennedy
            1
            5
            324

          • Any way around buying hosting for an old domain to 301 redirect to a new domain?
            MarkFasel51
            MarkFasel51
            0
            17
            1.7k

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy