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. Intermediate & Advanced SEO
    4. How to use a 301 Redirect when the first 301 Redirect is not the same as what's indexed?

    How to use a 301 Redirect when the first 301 Redirect is not the same as what's indexed?

    Intermediate & Advanced SEO
    3 2 66
    • 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.
    • PatriotOutfitters81
      PatriotOutfitters81 last edited by

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

        Hey Jessica,

        Due to the way your CMS works, the segment between the /p/ and the /19635 part is irrelevant to getting the right data from the database in order to display the correct product. In fact, you can write anything there and the URL will still work.

        For example: http://www.patriotoutfitters.com/p/random-string/19635

        It's probably quite difficult to hack your CMS in order for this not to happen, or change it to another CMS completely. The easy solution (might still require some small modifications or perhaps a plug-in) is using a rel="canonical" tag to always specify the right URL that you want for that specific page. This way the search engine won't read the separate URLs as duplicate content.

        There's also the alternative of using the meta refresh tag (instead of the rel="canonical") to do a 301 redirect, since you will probably not be able to do it with .htaccess. I wouldn't use it though, especially since the users aren't affected by the different URLs, and you're only interested in informing the search engines.

        Hope this helps!

        PatriotOutfitters81 1 Reply Last reply Reply Quote 1
        • PatriotOutfitters81
          PatriotOutfitters81 @mihaiaperghis last edited by

          Thanks so much, Mihai! I'll investigate into the rel="canonical" tag solution.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • What's the best redirect to use for a newer version of a blog post?
            Edward_Sturm
            Edward_Sturm
            0
            3
            45

          • Any issue? Redirect 100's of domains into one website's internal pages
            Chris.Menke
            Chris.Menke
            0
            4
            116

          • Is 301 redirecting your index page to the root '/' safe to do or do you end up in an endless loop?
            MikeRoberts
            MikeRoberts
            0
            4
            136

          • Do I need to use canonicals if I will be using 301's?
            BlueprintMarketing
            BlueprintMarketing
            0
            6
            382

          • Should I 301 Poorly Worded URL's which are indexed and driving traffic
            RobertFisher
            RobertFisher
            0
            2
            478

          • Best solution to get mass URl's out the SE's index
            James77
            James77
            0
            3
            583

          • What tactics can I use to ensure that my company shows up on Google's first page for all results?
            RyanKent
            RyanKent
            0
            6
            907

          • Don't want to lose page rank, what's the best way to restructure a url other than a 301 redirect?
            marig
            marig
            0
            6
            1.0k

          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