Need to change 1 million page URLs
-
Hey all,
I have a community site where users are uploading photos and videos. Launched in 2003, back then it wasn't such a bad idea to use keywords/tags in the URLs, so I did that. All my content pages (individual photo/video) are looking like this:
www.domain.com/12345-kw1-kw2-kw3-k4-k5 and so on. Where the 12345 is the unique content ID and the rest are keywords/tags added by the uploader.
I would like to get rid of of the keywords after the ID in the URL. My site is well coded, so this can be easily done by changing a simple function, so my content page URLs become this:
What is the best course of action? 301 the KW URLs to non-KW version? Canonical?
I really want to do this the proper way. Any advice is highly appreciated.
Thanks in advance.
-
" Launched in 2003, back then it wasn't such a bad idea to use keywords/tags in the URLs, so I did that." - it's not necessarily a bad idea now - I'd question why you feel the need to change them? Shorter is often better though.
If you do go ahead, 301 would be the best practice. Canonicals pass link juice too but they're not always honoured.
A couple of extra things - make sure to update all of your internal links to the new URLs as millions of 301s could negatively impact the speed of your server. And check a sample of the old URLs just to make sure everything is working as expected.
-
No worries! I have digged into the canonicals questions so many times, thought I will clarify.
Basically in me belief canonical links are a two edged weapon; if miss-used, they can lead to a total disaster.
-
Hi Keszi,
Thanks for the clarification on canonicals.
Lewis
-
What I would add to Lewis's answer, just to make it clear, canonicals do pass link juice. If you are interested, you can check this article from Dr. Pete: http://moz.com/blog/an-seos-guide-to-http-status-codes
But for sure the 301 would be the best practice in your case. Because there would be no good use to have the pictures on 2 urls (the kws and the non kws versions).
I hope this helps.
Keszi
-
Hi there,
You'll want to 301 all of the old URLs to the new ones in order to transfer any authority the pages have built up. Canonicalling will not pass any link juice, so I wouldn't do this.
Cheers,
Lewis
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
-
Does you page need to be unique to rank
What I mean by unique is : Let's imagine I want to rank one "seo ranking factors." In order to compete do I need to have (in terms of design) that is totally different than everything out there or can I rank with a page that is presented in a very similar way than everything out there but with different content. Thank you,
Intermediate & Advanced SEO | | seoanalytics0 -
On 1 of our sites we have our Company name in the H1 on our other site we have the page title in our H1 - does anyone have any advise about the best information to have in the H1, H2 and Page Tile
We have 2 sites that have been set up slightly differently. On 1 site we have the Company name in the H1 and the product name in the page title and H2. On the other site we have the Product name in the H1 and no H2. Does anyone have any advise about the best information to have in the H1 and H2
Intermediate & Advanced SEO | | CostumeD0 -
Changing old style WP menu built with child pages or not?
Hi Mozzers, the very old theme of my client's site doesn't support the new WP menus, so the menu structure is built in the old way, with parent and child pages. For example the page whose url is www.site.com/rent/ is top level and the sub pages are like www.site.com/rent/cars/ or www.site.com/rent/trucks/ Also there are third generation pages like www.site.com/rent/cars/fiat500/ Since I am changing the theme, I am going to use the new WP menu system and I'd like to know if this parent/child url structure may hurt link equity propagation. My question is: should I detach the child pages from the parents and, according to that, change the urls of the child pages from:
Intermediate & Advanced SEO | | DoMiSoL
www.site.com/rent/cars/ to www.site.com/rent-cars/ (and of course 301 redirect them) ? Or is it ok to leave the pages' url in the old parenting way? What is the best practice? Thank you very much! DoMiSoL Rossini0 -
How to ask customers to +1 the page of the service/product they used and liked on Google+ of website
What format to use (how to write) to ask customers to +1 the page of the service/product they used and liked on Google+?
Intermediate & Advanced SEO | | MasonBaker0 -
Weird 404 URL Problem - domain name being placed at end of urls
Hey there. For some reason when doing crawl tests I'm finding pages with the domain name being tacked on the end and causing 404 errors.
Intermediate & Advanced SEO | | Jay328
For example: http://domainname.com/page-name/http://domainname.com This is happening to all pages, posts and even category type 1. Site is in Wordpress
2. Using Yoast SEO plugin Any suggestions? Thanks!0 -
Will Canonical tag on parameter URLs remove those URL's from Index, and preserve link juice?
My website has 43,000 pages indexed by Google. Almost all of these pages are URLs that have parameters in them, creating duplicate content. I have external links pointing to those URLs that have parameters in them. If I add the canonical tag to these parameter URLs, will that remove those pages from the Google index, or do I need to do something more to remove those pages from the index? Ex: www.website.com/boats/show/tuna-fishing/?TID=shkfsvdi_dc%ficol (has link pointing here)
Intermediate & Advanced SEO | | partnerf
www.website.com/boats/show/tuna-fishing/ (canonical URL) Thanks for your help. Rob0 -
Mobile URLs stolen and I need them back!
Hi guys, Mobile SEO question. So some time in the past, my client accidentally got a whole bunch of m.example.co.nz URLs indexed due to a link on another website and the awesome relative URL links on my client website. However, now they're building a mobile website and they want all those m.example.co.nz URLs. My question is, if we build a new mobile website and use those mobile website URLs including those already indexed by Google, will Google automatically know after crawling those URLs that they are now for mobile users? Will it change the pages to it's mobile index? Or will it be a case of duplicate content? Thanks Kim
Intermediate & Advanced SEO | | Voonie0 -
Blocking Pages Via Robots, Can Images On Those Pages Be Included In Image Search
Hi! I have pages within my forum where visitors can upload photos. When they upload photos they provide a simple statement about the photo but no real information about the image,definitely not enough for the page to be deemed worthy of being indexed. The industry however is one that really leans on images and having the images in Google Image search is important to us. The url structure is like such: domain.com/community/photos/~username~/picture111111.aspx I wish to block the whole folder from Googlebot to prevent these low quality pages from being added to Google's main SERP results. This would be something like this: User-agent: googlebot Disallow: /community/photos/ Can I disallow Googlebot specifically rather than just using User-agent: * which would then allow googlebot-image to pick up the photos? I plan on configuring a way to add meaningful alt attributes and image names to assist in visibility, but the actual act of blocking the pages and getting the images picked up... Is this possible? Thanks! Leona
Intermediate & Advanced SEO | | HD_Leona0