Change url structure and keeping the social media likes/shares
-
Hi guys,
We're thinking of changing the url structure of the tutorials (we call it knowledgebase) section on our website. We want to make it shorter URL so it be closer to the TLD.
So, for the convenience we'll call them old page (www.domain.com/profiles/profile_id/kb/article_title) and new page (www.domain.com/kb/article_title)
What I'm looking to do is change the url structure but keep the likes/shares we got from facebook. I thought of two ways to do it and would love to hear what the community members thinks is better.
1. Use rel=canonical
I thought we might do a rel=canonical to the new page and add a "noindex" tag to the old page.
In that way, the users will still be able to reach the old page, but the juice will still link to the new page and the old pages will disappear from Google SERP and the new pages will start to appear.
I understand it will be pretty long process. But that's the only way likes will stay
2. Play with the og:url property
Do the 301 redirect to the new page, but changing the og:url property inside that page to the old page url. It's a bit more tricky but might work.
What do you think? Which way is better, or maybe there is a better way I'm not familiar with yet?
Thanks so much for your help!
Shaqd
-
Shaqd
I have done this, although I am not familiar with the canonical method you mentioned. Social share counts are tied directly to a URL so if the structure of a URL changes at all the old count will be attributed with the shares. You can create a custom social share button that pulls the data from the old pre url structure change. Mike King has an awesome post about how to do that here (which is what I believe you are referring to with the og: url propterty?): http://searchenginewatch.com/article/2172926/How-to-Maintain-Social-Shares-After-a-Site-Migration
You can read a thread where he and I discussed it here: http://moz.com/community/q/preserving-social-shares-through-url-changes
His method works.
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
-
Changing URL's During a Site Redesign
What are the effects of changing URL's during a site redesign following all of the important processes (ie: 301 redirects, reindexing in google, submitting a new sitemap) ?
Intermediate & Advanced SEO | | jennifer-garcia0 -
How to take out international URL from google US index/hreflang help
Hi Moz Community, Weird/confusing question so I'll try my best. The company I work for also has an Australian retail website. When you do a site:ourbrand.com search the second result that pops up is au.brand.com, which redirects to the actual brand.com.au website. The Australian site owner removed this redirect per my bosses request and now it leads to a an unavailable webpage. I'm confused as to best approach, is there a way to noindex the au.brand.com URL from US based searches? My only problem is that the au.brand.com URL is ranking higher than all of the actual US based sub-cat pages when using a site search. Is this an appropriate place for an hreflang tag? Let me know how I can help clarify the issue. Thanks,
Intermediate & Advanced SEO | | IceIcebaby
-Reed0 -
Mixing static.htm urls and dynamic urls on a Windows IIS Server?
Hi all, We've had a website originally built using static html with .htm extensions ranking well in Google hence we want to keep those pages/urls. We are on a dedicated sever (Windows IIS). However our developer has custom made a new DYNAMIC section for the site which shows new added products dynamically and allows them to be booked online via shopping cart. We are having problems displaying them both on the same domain even if we put the dynamic section withing its own subfolder and keep the static htms in the root. Is it possible to have both function on IIS (even if they may have to function a little separately)? Does anyone have previous experience of this kind of issue or a way of making both work? What setup do we need to do on the dedicated server.
Intermediate & Advanced SEO | | emerald0 -
Doubts with URL's structure
Hi guys i have some doubts with the correct URL structure for a new site. The question is about how show the city, the district and also the filters. I would do that: www.domain.com/category/city/disctict but maybe is better do that: **www.domain.com/category/city-district ** I also have 3 filters that are "individual/colective" "indoor/outdoor" and "young/adult" but that are not really interesting for the querys so where and how i put this filtters? At the end of the url showing these: **www.domain.com/cateogry/city/district#adult#outdoor#colective ** ? Well really i don't know what to do with the filters. Check if you could help me with that please. I also have a lof of interest in knowing if maybe is better use this combination **www.domain.com/category-city or domain.com/category/city **and know about the diference. Thank you very much!
Intermediate & Advanced SEO | | omarmoscatt0 -
Pretty URLs... do they matter?
Given the following urls: example.com/warriors/ninjas/ example.com/warriors/ninjas/cid=WRS-NIN01 Is there any difference from an SEO perspective? Aesthetically the 2nd bugs me but that's not a statistical difference. Thank you
Intermediate & Advanced SEO | | nymbot0 -
Can changing dynamic url of over 2000 pages site after a year will change its ranking
Hi- Have built site in joomla The urls are dynamic in nature with over a year - all pages are well indexed and backlinks been built over with these dynamic urls Need to know if i hire an agency to change over dynamic url to static url of these 2000 pages - will it also change all Search engine ranking positions of existing urls Will all the seo effort and backlinks build over 15 months will still hold valid or this will just back to square one due to change of urls is it advisable to get the url changed from dynamic to static one - especially when site is receiving over 75,000 visitors every month Thanks in advance. Look for expert suggestions
Intermediate & Advanced SEO | | Modi0 -
Social Media - big ranks it seems from it
Hi there, one of our big competitors is ranking first for a huge key term. We were wondering how they did it, so i went through normal processes: Age of domain - reasonable. Unique content - a little but the ranking page has pretty much none - meaning panda update isn't applying here, Back-links - nothing special really, not enough to be above everyone in my opinion. Then i had a look at social media shares, over 2,000 mainly as facebook shares. So i went on their facebook profile and it does not seem like they are spamming content on there. Are these shares from users sharing the link? if so can i find out how many per post? i imagine there is a team setup to share this content when it is published on their facebook page? It just seems so very unfair they are ranking number one like this, the content in their site is poor, it's not a relevant domain either. So much for panda update eh? Any thoughts appreciated.
Intermediate & Advanced SEO | | pauledwards0 -
New folder structure
We are in the process of relaunching one of our website's that will use a totally need folder structure. Previously we used mydomain.com/content/country/region/city/district/hotel_name/ Now we are changing to make the URL shorter, more precise - since we are using a new CMS, to be mydomain.com/gb_Hotel-Name/ My question is currently we've in the region of 10,000 pages indexed in Google. So we are going to have to create 301 permanent redirects from the old URLs to the new URLs. From your previous experience, is this the correct way of approaching the task.
Intermediate & Advanced SEO | | NeilTompkins0