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. Changing URLs to include a fixed identifier or ID

    Changing URLs to include a fixed identifier or ID

    Intermediate & Advanced SEO
    4 4 152
    • 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.
    • Tit
      Tit last edited by

      The Scenario: I got pages that I need to track, located in a domain, within several folders. Adding a common identifier or ID (eg. www.domain.com/folder/page-name-identifier.html) in those URL's will ease my work so I would be able to select, in Anlx, all traffic including URL's with that specific identifier. URL's for which track is needed lack this identifier today.

      My Plan: add identifier (7 letters fixed and common for all URLs) to those existing pages and 301 redirect from old to new URL's

      My Question: will this change of URL's and redirections SEO-hurt me in anyway?

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

        Howdy!

        Instead of messing about with URLs, have you considered using Google Analytics custom variables?

        They're quite simple, and may make your life a lot easier: https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingCustomVariables

        Kind Regards,

        Andrew

        CleverPhD 1 Reply Last reply Reply Quote 0
        • Kurt_Steinbrueck
          Kurt_Steinbrueck last edited by

          In theory, nothing should change and it should not hurt your SEO, but there's always some risk involved whenever you start redirecting pages. There may be some authority that's lost or Google may take some time and shuffle things around for a while. So, I would consider if there are other options. If you have good rankings for these pages, see if there's another way that you can track the traffic in a reliable way before you go messing around with 301 redirects. If it's the only way to track what you need to track, then what you're planning should work in theory.

          1 Reply Last reply Reply Quote 0
          • CleverPhD
            CleverPhD @AndieF last edited by

            I agree with Andrew.  If you use GA, custom variables are the way to go.  You can actually put several parameters onto a page and have them in plain English without have to have a bunch of crazy stuff in the URL.  We use this on a site and it works quite nice.

            What is great about this too, is that since this is all in GA and if you have goal and goal values setup you get all types of insights into what are the most valuable categories etc on your site.

            If you do need to change the URL, setup the 301 redirects from the old URL to the new URL and you should be fine, especially if you have a 1 to 1 relationship with those 301 redirects.

            One thing to consider, we have setup urls for articles etc that read like this

            www.domain.com/folder/######-page-name-slug-here.html

            The ###### is a ID number for the content that we use internally in our CMS.   We are then able to use the ###### as a fail safe in the URL structure if there is some other error in the url when it is types in or linked to

            for example

            www.domain.com/folder/######-page-name-

            www.domain.com/folder/######-page-name-slug-here.

            www.domain.com/folder/######-page

            www.domain.com/folder/######-page-nam

            www.domain.com/folder/######-Page-Name-Slug-Here.html

            www.domain.com/folder/######-page-name-slug-here.htm

            www.domain.com/folder/######

            We setup our system so that if any of the examples wrong URLs occur above, the system can use the folder and the ID to always 301 redirect to

            www.domain.com/folder/######-page-name-slug-here.html

            As we have the ID as the absolute identifier.  We have found this helpful with the inevitable issues that may come up with an incomplete URL.

            Good luck!

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Regret changing the URL structure, Would it be appropriate to change it back?
              Alick300
              Alick300
              0
              2
              54

            • Changing URLs
              Yuki-hero
              Yuki-hero
              0
              5
              71

            • Does Google Read URL's if they include a # tag? Re: SEO Value of Clean Url's
              Atlanta-SMO
              Atlanta-SMO
              0
              6
              1.6k

            • Overly-Dynamic URLs & Changing URL Structure w Web Redesign
              Marcus_Miller
              Marcus_Miller
              0
              2
              257

            • Can changing dynamic url of over 2000 pages site after a year will change its ranking
              KevinBudzynski
              KevinBudzynski
              0
              3
              388

            • Changing my url name? Should I do it?
              JonathanSmith
              JonathanSmith
              0
              7
              386

            • Changing URL Structure
              NeilTompkins
              NeilTompkins
              0
              11
              865

            • We are changing ?page= dynamic url's to /page/ static urls. Will this hurt the progress we have made with the pages using dynamic addresses?
              h3counsel
              h3counsel
              0
              3
              806

            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