Preserving Social Shares Through URL Changes
-
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.
-
I think that's a great idea actually.
-
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?
-
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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
blog url structure change affect on pagerank
We are looking to change our blog structure which will help us with the organization of the topics but the url structure will change if we do this. Right now all of the blogs are under a general news blog, which we will be breaking out articles into several blog category topics Current:
Technical SEO | | theblueprints
example of current structure
current site: https://domain/blogs/news/blog article name Proposed Change:
current site: https://domain/blogs/keyword-name-of-blog-category/blog article name We have ranked #1 for several keywords that we would like to preserve the ranking if we make this switch with 301 redirects. Looking for suggestion on the percentage of chance our ranking will be negatively affected and by how much? Also what everyones recommendation is if we should make this switch or not touch the urls. Your help is appreciated, thanks in advance.0 -
Change category of a post
Hi, Finally I decide to renovate my site structure, but I have a question, if I have an old post and I change its category there is some SEO problem? The post permalink is "www.sitename.com/namepost". Last question, it's better to have one category for post or more than one category for post? Thank You
Technical SEO | | Marco3961 -
URL removals
Hello there, I found out that some pages of the site have two different URL's pointing at the same page generating duplicate content, title and description. Is there a way to block one of them? cheers
Technical SEO | | PremioOscar0 -
Special characters in URL
Hi There, We're in the process of changing our URL structure to be more SEO friendly. Right now I'm struggling to find a good way to handle slashes that are part of a targeted keyword. For example, if I have a product page and my product title is "1/2 ct Diamond Earrings in 14K Gold" which of the following URLs is the right way to go if I'm targeting the product title as the search keyword? example.com/jewelry/1-2-ct-diamond-earrings-in-14k-gold example.com/jewelry/12-ct-diamond-earrings-in-14k-gold example.com/jewelry/1_2-ct-diamond-earrings-in-14k-gold example.com/jewelry/1%2F2-ct-diamond-earrings-in-14k-gold Thanks!
Technical SEO | | Richline_Digital0 -
Issues with trailing slash url
Recently, we have changed our website to www.example.com/super-rentals/ (example) and we have done a 301 redirection to the new urls from the old one. We have noticed in Google webmaster tool that urls without trailing slash as 404 error. www.example.com/super-rentals. Please let us know how to fix this issue as soon as possible. Note: Our previous urls are not the urls without trailing slash. It is a different url (www.example.com/super-rentals.htm) we have rewritten in to www.example.com/super-rentals/ only. I would like to know why GWT pulls out the urls without trailing slash and shows in 404 error. Thanks for your time
Technical SEO | | massimobrogi0 -
/out/ URLs in GWMTs
I am recently seeing some URLs come up as 404s in GWMTs for a client. They look like this: http://client-url/out/www.linkedin.com/company/client-linkedin-name /out/client-url/sub-directory/postname/ We thought they might have something to do with the social plugins but they are all over the place and they are sometime for internal pages on the site. Anyone run into these and know why they are happening?
Technical SEO | | DragonSearch0 -
Creating new website with possible Url change (301 involved?)
Hi, I am currently getting a web designer to upgrade my website. I have built lost of links to my internal pages, should I get him to 301 redirect example.com/about.html (old) to example.com/about (new) OR Is there any need for this once the page doesn't change to example.com/about-us? Thank you in advance 🙂
Technical SEO | | Socialdude0 -
Preserving Link Value
My client has an existing domain, domain A. They recently purchased and absorbed another company with their own domain, domain B. For marketing purposes company B will be rebranded as company A. They want to redirect domain B to domain A. The problem is that company B has by far the more visible domain, with 4x the number of inbound links. If I redirect domain B to domain A, what will happen to these links? I'm thinking their value will be lost.
Technical SEO | | waynekolenchuk0