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. Technical SEO Issues
    4. 301 Redirect Attribute-Based Dynamic URL to Renamed Attributes

    301 Redirect Attribute-Based Dynamic URL to Renamed Attributes

    Technical SEO Issues
    2 2 175
    • 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.
    • OfficeFurn
      OfficeFurn last edited by

      I work with a number of ecommerce sites that have dynamically-created urls based off of product attributes we've assigned in our cms. I am updating a handful of these attributes to more seo-friendly terms because they are outdated but am not certain how to go about redirecting all the urls that each attribute is in/could be in.

      For example: If I had the attributes hoagie and beanie and changed them to sandwich and headwear, a dynamic url might change like this:

      • .com/hoagie/french-bread ---> .com/sandwich/french-bread
      • .com/beanie/hoagie/novelty ----> .com/headwear/sandwich/novelty

      Since the urls are dynamically created, I am not sure how I go about redirecting all of them, or if I need to redirect all of them at all (instead just redirecting the urls indexed by Google, etc.)

      I also have a number of links within copy on each of the sites that contain linked anchor text using attributes that will be changing. I am assuming I will need to 301 each of these or update them manually to reflect the new attributes.

      I am new to the seo field and would appreciate any and all advice or direction to guides and tutorials that could aid me with this project.  Thanks!

      1 Reply Last reply Reply Quote 0
      • MichaelC-15022
        MichaelC-15022 last edited by

        Update all internal links to point to the new URLs.  301 redirects don't pass 100% of the link juice.

        The best option is to create a 301 redirect rule(s) that handle all possible situations.  If that's not practical, then just worry about the ones that are linked to by external websites.  You can spot these by making the transition to the new URLs, then watching for 404 errors in Webmaster Tools, and looking for pages linked to by external sites.

        If you're using IIS, you can actually do some pretty complex logic in your 404 handler and make it return a 301 in certain cases.  Check this post I did a while back.

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post
        • 301 redirect from dynamic url to static page
          alstam
          alstam
          0
          3
          297

        • 301 redirecting a previously abused URL
          Tenlo
          Tenlo
          0
          2
          35

        • 301 redirects for all urls - legal dispute
          Hurf
          Hurf
          0
          2
          64

        • Redirect a 301 Redirect
          RedCaffeine
          RedCaffeine
          0
          5
          98

        • 301 Redirecting weird URLs with % in them
          Jinx14678
          Jinx14678
          0
          4
          989

        • 301 redirects and Dynamic URLs
          Barrycliff68
          Barrycliff68
          0
          3
          1.1k

        • 301 Redirect Domain or 301 Redirect Domain + Interior Pages
          Room214
          Room214
          0
          7
          1.1k

        • Trailing Slashes In Url use Canonical Url or 301 Redirect?
          RyanKent
          RyanKent
          0
          7
          2.7k

        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