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. White Hat / Black Hat SEO
    4. Can I 301 redirect old URLs to staging URLs (ex. staging.newdomain.com) for testing?

    Can I 301 redirect old URLs to staging URLs (ex. staging.newdomain.com) for testing?

    White Hat / Black Hat SEO
    3 2 260
    • 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.
    • esiow2013
      esiow2013 last edited by

      I will temporarily remove a few pages from my old website and redirect them to a new domain but in staging domain. Once the redirection is successful, I will remove the redirection rules in my .htaccess and get the removed pages back to live.

      Thanks in advance!

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

        If the redirect to the testing site actually is temporary, this is one of the very few instances I would recommend using a 302 redirect.  This way, the engines will understand that you aren't making this a permanent move and will, hopefully soon, remove the redirect when the staging site goes live.

        1 Reply Last reply Reply Quote 2
        • esiow2013
          esiow2013 last edited by

          But what if I remove the 301 redirect rules in my .htaccess file right(a few minutes) after successfully checking the redirected URLs?

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Deleting 301 Redirect URLs from the CMS
            KevinBudzynski
            KevinBudzynski
            0
            4
            80

          • Spam signals from old company site are hurting new company site, but we can't undo the redirect.
            VeroBrain
            VeroBrain
            1
            2
            58

          • Suggestions in redirecting an old URL to new URL with parenthesis () ?
            ThompsonPaul
            ThompsonPaul
            0
            4
            306

          • URL structure: 301 redirect or leave as is?
            stever999
            stever999
            0
            3
            102

          • How long we can keep 302 redirection for a webpage url?
            MickEdwards
            MickEdwards
            0
            2
            418

          • Redirecting an image url to a more SEO friendly image url
            BrettCollins
            BrettCollins
            0
            2
            666

          • Should I redirect old pages
            john4math
            john4math
            0
            2
            216

          • 301 Redirect?
            john4math
            john4math
            0
            3
            550

          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