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

          • 301 and rel=canonical AGAINNNN
            Igor.Go
            Igor.Go
            0
            2
            159

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

          • 301 Redirects - But still duplicate content?
            Chris.Menke
            Chris.Menke
            0
            2
            112

          • Home Page Location Redirect
            SSBCI
            SSBCI
            0
            4
            94

          • Temporary Redirect Notice regarding Wordpress
            MikeRoberts
            MikeRoberts
            0
            6
            700

          • 301 Redirect & Canonical Tags
            sourabhrana39
            sourabhrana39
            0
            4
            299

          • HTC access 301 redirect rules regarding pagination and striped category base (wp)
            ThompsonPaul
            ThompsonPaul
            0
            3
            644

          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