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. On-Page / Site Optimization
    4. Should I use a 301, or a 302 for a link which expires within 24 hours?

    Should I use a 301, or a 302 for a link which expires within 24 hours?

    On-Page / Site Optimization
    5 3 105
    • 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.
    • Khani_Khan
      Khani_Khan last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • DmitriiK
        DmitriiK last edited by

        Hi there,

        Well, the answer is in the name - are those 24hr links redirected permanently or temporarily? Are these links redirected forever, or they come back in some time? Considering your type of website, I would assume it should be 301s, since typically those download links never come back.

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

          This post is deleted!
          DmitriiK 1 Reply Last reply Reply Quote 0
          • Christy-Correll
            Christy-Correll last edited by

            Hi Dmitri,

            Did you see Kani's reply to your questions?

            1 Reply Last reply Reply Quote 0
            • DmitriiK
              DmitriiK @Khani_Khan last edited by

              Yes, you should.

              Here is a better definition for you:

              302 redirect shall be used when the original URL was working as a normal web page, but then for some reason that page needed to be redirected for, let's say, next 24 hours only. An example would be if you are redesigning an existing page of a website and need to redirect users to another page for a few days so that users do not see the mess while you redesign.

              301 redirect is pretty much when the original URL is not going to exist anymore, as in telling google to not check, not to render, not to try to index that URL.

              Actually, I have a better question - since these temporary URLs are indeed temporary, why to even have them? and not just have straight forward normal URLs? It's not like those temporary URLs will be ever ranking..

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • When using external links for onsite optimization, should they be follow or nofollow links?
                musculos_espartanos
                musculos_espartanos
                1
                2
                60

              • Site has 302 redirects for HTTP to HTTPS when it should be 301
                Dalerio-Consulting
                Dalerio-Consulting
                1
                2
                55

              • Linking back to the homepage im trying to rank - Using exact match anchor? Linking from footer?
                advertisingcloud
                advertisingcloud
                0
                3
                71

              • No difference anymore between 301 and 302
                dohertyjf
                dohertyjf
                0
                5
                133

              • Can Javascript Links Be Used to Reduce Links per Page?
                Jay-T
                Jay-T
                0
                5
                650

              • Use External Links
                LeeC
                LeeC
                0
                5
                252

              • 301 vs 302 redirect
                Everett
                Everett
                0
                6
                269

              • Site wide 301 or canonical links.
                absoauto
                absoauto
                0
                6
                544

              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