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. Moz Pro
    4. 301 Redirects

    301 Redirects

    Moz Pro
    3 3 116
    • 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.
    • healthpointeseo
      healthpointeseo last edited by

      Hi,

      Going to be redirecting our current domain to a new domain. Can anyone verify for me that I'm doing it correctly. I want to forward the entire domain plus individual urls. My current structure is below:

      Options +FollowSymLinks
      RewriteEngine on

      RedirectMatch 301 ^(.*)$ http://www.new-site.net

      Redirect 301 /old-page.html http://www.new-site.net/web-page

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

        Hey,

        Make sure to have a complete structure & SEO plan in place before starting redirection. There is nothing wrong with this Syntax, but for better understanding I'd suggest you to go through this guide one more time,

        https://moz.com/learn/seo/redirection

        Good luck!

        Umar

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

          It looks like your last line is just redirecting one page? This has worked for me to redirect them all to their corresponding pages on the new domain (*You'll want to test this first):

          <code>RewriteEngine On
          RewriteBase /
          RewriteCond %{HTTP_HOST} !newdomain.com$ [NC]
          RewriteRule ^(.*)$ http://newdomain.com/$1 [L,R=301]</code> 
          
          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Redirect Chain
            waqid
            waqid
            0
            4
            97

          • Only 2 Inbound Links which are the Redirect 301 Links
            DmitriiK
            DmitriiK
            0
            2
            56

          • 404 errors High Priority Issues in Moz Pro: change to 301 or not ?
            AaronHemmelgarn
            AaronHemmelgarn
            0
            5
            273

          • How do I set-up a 301 redirect?
            Mobilio
            Mobilio
            0
            9
            249

          • SEO and page redirects from a high ranking site quandary
            Squee
            Squee
            0
            3
            72

          • Home Page Location Redirect
            SSBCI
            SSBCI
            0
            4
            94

          • Getting Redirect Loop and Oauth Error When Adding Facebook Page
            kenc138
            kenc138
            0
            3
            1.3k

          • 302 Redirects on Xcart Store
            breakloose
            breakloose
            0
            8
            4.5k

          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