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. Preserving Social Shares Through URL Changes

    Preserving Social Shares Through URL Changes

    Technical SEO Issues
    4 2 3.0k
    • 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.
    • RMATVMC
      RMATVMC last edited by

      We are making significant URL changes to our website. Because the URL is changing the social sharing buttons are not showing previous shared counts. I have read several resources like the one below that is linked to in several other similar questions.

      http://searchenginewatch.com/article/2172926/How-to-Maintain-Social-Shares-After-a-Site-Migration

      However I would love to get some insight from someone who has done this and there thoughts on the outcome. As an ecommerce site the "Social Proof" of products that have received social shares is a big deal to us.

      In Mike Kings example above the counts are being attributed to the OLD URL which is problematic over time. Our site has been up for over 12 years and has had several major changes to it, and I am certain there will be more in the future, being able to preserve the count on the current URL is ideal. While I agree with him that over time I believe social platforms will let data pass through 301 redirects, until then I need to find the best way to do this.  Also with his example and others I have seen people mention than new likes from the new url can reset the counter. If you have gone through this and have ideas pleas share them. I look forward to your thoughts thanks.

      1 Reply Last reply Reply Quote 1
      • iPullRank
        iPullRank last edited by

        Hey Jared,

        As you might imagine I have done this. In fact we did it with the iAcquire.com redesign when I was still there. Basically we built something custom to grab the social counts and display them in our custom social share buttons. Our Creative Director wanted to make custom share buttons because they are otherwise different sizes and it looks silly. Then we just set the old URL in one place in the CMS and it pinged SharedCount.com's API to get all the different share counts and display them.

        A quick update to my post, from what I understand, social shares are hopping 301s for Google +1s only right now.

        As far as your issue with the new shares being attributed to old URLs, that's something I've thought about as well. You could potentially build a similar solution that we had, but allow the new social shares to go with the new URL and check the number of social shares between the new and old URL whenever the page loads. Once the new URL surpasses the old one's share count just skip grabbing the old URL's share counts altogether and use the new URL for both displaying share counts and capturing new shares.

        Let me know if that helps. I'm sure we can perfect a solution for you, but it will involve getting a little creative.

        -Mike

        RMATVMC 1 Reply Last reply Reply Quote 3
        • RMATVMC
          RMATVMC @iPullRank last edited by

          Mike,

          Thanks a ton for jumping in, I really appreciate it! I may have a hybrid solution using part of your suggestion.

          We have toyed with the idea of creating a custom URL for each product (easy to automate on our end) that is tied to the product number. That way if the URL changes in the future (if we did an architecture redesign which will happen again I am sure) the share count will still be connected to the unique url so it will last over time. The URL that is shared just redirects to the product page just like if I was using a URL shortner. In testing we are having issues with Twitter being able to recognize this and increase the shared count number on the product page, even though shared count is recognizing it. So if we amended our code to call from the shared count API to pull the old numbers until passed by the new numbers like you suggested I believe it would give a very accurate result. Also moving forward url changes down the line would not affect the numbers because they are unique to the product number.

          What are your thoughts on this? Do you see any pitfalls?

          1 Reply Last reply Reply Quote 1
          • iPullRank
            iPullRank last edited by

            I think that's a great idea actually.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Category URL Pagination where URLs don't change between pages
              whiteonlySEO
              whiteonlySEO
              0
              7
              656

            • Changing URLs for SEO
              mikekeeper
              mikekeeper
              0
              4
              130

            • Changing URLs
              PatrickDelehanty
              PatrickDelehanty
              0
              2
              85

            • Should I change or redirect this URL?
              KempRugeLawGroup
              KempRugeLawGroup
              0
              6
              115

            • We have designed a new site and are in dilemna whether or not to change the site's URL structure or maybe few odd looking urls. How exactly do we go about the URL thing in toto? thanks in advance, any suggestion(s) would be dearly welcome
              ShaunPhilips
              ShaunPhilips
              1
              7
              109

            • Page URL Change
              SpadaMan
              SpadaMan
              0
              2
              215

            • Changing all urls
              NCMM
              NCMM
              0
              4
              216

            • Changing url structure
              RyanKent
              RyanKent
              0
              5
              971

            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