The Moz Q&A Forum

    • Forum
    • Questions
    • 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 Forum
    2. Categories
    3. Research & Trends
    4. Algorithm Updates
    5. Vanity URL's and http codes

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Vanity URL's and http codes

    Algorithm Updates
    4 2 1.5k
    • 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 @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
        • 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 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
            • 1 / 1
            • First post
              Last post

            Got a burning SEO question?

            Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


            Start my free trial


            Explore more categories

            • Moz Tools

              Chat with the community about the Moz tools.

              Getting Started
              Moz Pro
              Moz Local
              Moz Bar
              API
              What's New

            • SEO Tactics

              Discuss the SEO process with fellow marketers

              Content Development
              Competitive Research
              Keyword Research
              Link Building
              On-Page Optimization
              Technical SEO
              Reporting & Analytics
              Intermediate & Advanced SEO
              Image & Video Optimization
              International SEO
              Local SEO

            • Community

              Discuss industry events, jobs, and news!

              Moz Blog
              Moz News
              Industry News
              Jobs and Opportunities
              SEO Learn Center
              Whiteboard Friday

            • Digital Marketing

              Chat about tactics outside of SEO

              Affiliate Marketing
              Branding
              Conversion Rate Optimization
              Web Design
              Paid Search Marketing
              Social Media

            • Research & Trends

              Dive into research and trends in the search industry.

              SERP Trends
              Search Behavior
              Algorithm Updates
              White Hat / Black Hat SEO
              Other SEO Tools

            • Support

              Connect on product support and feature requests.

              Product Support
              Feature Requests
              Participate in User Research

            • See all categories

            • Can 'Jump link'/'Anchor tag' urls rank in Google for keywords?
              rwat
              rwat
              0
              2
              1.5k

            • How long does a news article stay on Google's 'News' section on the SERP?
              DanHill
              DanHill
              0
              2
              5.6k

            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

            Looks like your connection to Moz was lost, please wait while we try to reconnect.