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. Search Engine Trends
    4. Vanity URL's and http codes

    Vanity URL's and http codes

    Search Engine Trends
    4 2 589
    • 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.
    • Shawn_Huber
      Shawn_Huber last edited by

      We have a vanity URL that as recommended is using 301 http code, however it has been discovered the destination URL needs to be updated which creates a problem since most browsers and search engines cache 301 redirects.

      Is there a good way to figure out when a vanity should be a 301 vs 302/307?

      If all vanity URL's should use 301, what is the proper way of updating the destination URL?

      Is it a good rule of thumb that if the vanity URL is only going to be temporary and down the road could have a new destination URL to use 302, and all others 301?

      Cheers,

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

        Let me make sure I understand you. You have a vanity URL like bit.ly or something. It redirects to your website which is bitly.com or something like that. This redirect is a 301 permanent redirect.

        Are you asking if bitly.com changed what you should do with the redirect? That's how I understood the question. So say bitly.com now goes to bitly.com/new or something along those lines.

        If this is the case, all you want to do is change your 301 redirect of bit.ly to the new destination URL and keep it a 301. That is, unless bitly.com/new is only a temporary URL. If it will be reverting back to bitly.com then don't do that.

        Instead, when you redirect bitly.com to bitly.com/new use a 302 redirect, keeping the 301 from bit.ly to bitly.com in tact. Hopefully that answers your question. Let me know if your scenario is different.

        Shawn_Huber 1 Reply Last reply Reply Quote 0
        • Shawn_Huber
          Shawn_Huber @DanDeceuster last edited by

          That does answer my question partly. How do you handle the cached URL for the original 301 that points to the invalid URL?

          Example. www.bob.com/hello points to www.bob.com/directory/folder/file.aspx

          It needs to now point to www.bob.com/directory/folder2/file2.aspx

          If browsers and search engines cache the first 301 since it's meant to be permanent, visitors that have been to the first URL will not get passed off to the new one.

          DanDeceuster 1 Reply Last reply Reply Quote 0
          • DanDeceuster
            DanDeceuster @Shawn_Huber last edited by

            Like I said in the last paragraph, if this is temporary, 302 redirect the original destination URL to the new destination URL as well as the redirecting URL to the new destination. If these changes are permanent, make them 301 instead of 302 redirects.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Keyword optimisation: Google's eyes before users' eyes?
              PatrickDelehanty
              PatrickDelehanty
              0
              2
              37

            • I have a page that I took down a while ago, but it's ranking on the first page for it's key word, and displaying a 404 :(
              Linda-Vassily
              Linda-Vassily
              0
              8
              69

            • How Google's "Temporarily remove URLs" in search console works?
              PatrickDelehanty
              PatrickDelehanty
              0
              3
              518

            • Sitemap Question - Should I exclude or make a separate sitemap for Old URL's
              Southbay_Carnivorous_Plants
              Southbay_Carnivorous_Plants
              0
              5
              446

            • Soft 404's versus hard 404's
              Branagan
              Branagan
              0
              3
              9.8k

            • Duplicate Pate Content - 404's or 301's?
              donford
              donford
              0
              4
              369

            • Don't use an h1 and just use h2's?
              bronxpad
              bronxpad
              0
              5
              718

            • (Ireland & USA) Speilling 'Z' v's 'S'
              GlenBOB
              GlenBOB
              0
              5
              860

            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