Is it worth switching from underscores to hyphens in the URL?
-
I work for a website that recently did a redesign, and switched from hyphens to underscores. We have seen some drop in traffic, although that may be attributed to the migration.
I have read that while Google prefers hyphens, the underscore problem is not as much of an issue as it used to be.
Is it worth 301'ing the page to a version of itself with hyphens instead of underscores in the URL?
-
Darren is absolutely right. However, it seems unclear as to whether or not you set up 301-redirects from your old URLs to your new URLs. If you did, then the drop should only be temporary as Google figures out where the new URLs are and the old authority is passed to the new pages (or at least most of it). If you didn't do any 301-redirects, and you still have access to a spreadsheet or sitemap of your old URLs I'd encourage you to set up 301 redirects as soon as possible. Otherwise, it will indeed be like starting completely over with a new site, regardless of hyphens or underscores.
-
The drop in traffic isn't because Google prefers hyphens, it's because all your page URLs changed. You had a bunch of web pages that Google knew about, were in its index, and now they're gone. You now have a bunch of new pages that have to start building trust and authority from scratch.
I'd change them back to dashes, then set up 301 redirects for all the underscore versions.
-
Sorry, let me clarify. By used to I mean before the domain was migrated over. So it was hyphens on the old site, but was changed to underscores on the new site.
-
Hyphens vs underscores doesn't make a difference any more. If you're purely thinking of making the change for SEO purposes, I wouldn't do it. I agree that the drop in traffic you are seeing has more to do with replatforming and rewriting all of your URLs. This is pretty normal. Hope that helps!
-
You said it used to be hyphens and then was changed to underscores. if this was done recently then change it back and don't bother 301'ing unless you got a decent amount of links in that time period. i am assuming you 301'd the hyphens to the underscores, if so you need to undo that was well.
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
-
Should I include URLs that are 301'd or only include 200 status URLs in my sitemap.xml?
I'm not sure if I should be including old URLs (content) that are being redirected (301) to new URLs (content) in my sitemap.xml. Does anyone know if it is best to include or leave out 301ed URLs in a xml sitemap?
Intermediate & Advanced SEO | | Jonathan.Smith0 -
Massive URL Migration with thousands of 301
Hey Everyone! I'm currently working on a project that we have A Lot of product pages and we have thousands of URL's that need to be 301'd over. I know this can be a major issue and could lead to tons of errors. What is everyone's thought of doing such a huge Migration, Should I do it all in phases? or should I do them all at once so they can all be indexed together? What would you suggest to be the best way to go about doing such a massive migration?
Intermediate & Advanced SEO | | rpaiva0 -
URL rewrite traffic drop
Hello, A while ago (Sep. 19 2013) we had a new url structure upgrade for products pages within our website (with all the needed 301 redirects in place,internal links & sitemaps updates), but our new urls lost the serps of the old ones and with that we experienced a big traffic drop (and since September I can't see any sign of recovery).
Intermediate & Advanced SEO | | Silviu
Here are just 3 examples of old and coresponding new urls: http://www.nobelcom.com/phone-cards/calling-Mexico-from-United-States-1-182.html
http://www.nobelcom.com/Mexico-phone-cards-182.html http://www.nobelcom.com/es/phone-cards/calling-Mexico-from-United-States-1-182.html
http://www.nobelcom.com/es/Mexico-tarjetas-telefonicas-182.html http://www.nobelcom.com/phone-cards/calling-Angola-Cell-from-Canada-55-407.html
http://www.nobelcom.com/Angola-Cell-phone-cards/from-Canada-55-407.html We followed every seo/usability rule and have no clue why this happened. Any ideea? Cheers,
S.0 -
Multilingual and Multiregional SEO URL Structure
Hello 2 questions: I have a client that has country specific TLDs and has pages for each city and wants to target languages. What's the best practice? or does the order not matter? www.domain.ca/fr-ca/toronto www.domain.ca/toronto/fr-ca 2. This client currently has the following URL structure, is this not SEO friendly? does it matter to have Canada repeated? www.domain.ca/canada/fr-ca/toronto Thanks!
Intermediate & Advanced SEO | | nrv0 -
Overly-Dynamic URL
Hi, We have over 5000 pages showing under Overly-Dynamic URL error Our ecommerce site uses Ajax and we have several different filters like, Size, Color, Brand and we therefor have many different urls like, http://www.dellamoda.com/Designer-Pumps.html?sort=price&sort_direction=1&use_selected_filter=Y http://www.dellamoda.com/Designer-Accessories.html?sort=title&use_selected_filter=Y&view=all http://www.dellamoda.com/designer-handbags.html?use_selected_filter=Y&option=manufacturer%3A&page3 Could we use the robots.txt file to disallow these from showing as duplicate content? and do we need to put the whole url in there? like: Disallow: /*?sort=price&sort_direction=1&use_selected_filter=Y if not how far into the url should be disallowed? So far we have added the following to our robots,txt Disallow: /?sort=title Disallow: /?use_selected_filter=Y Disallow: /?sort=price Disallow: /?clearall=Y Just not sure if they are correct. Any help would be greatly appreciated. Thank you,Kami
Intermediate & Advanced SEO | | dellamoda2 -
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 -
Is it worth re-doing SEO for all existent products
We have a website and when we started, we had no clue about SEO, nor did we really understand the full extent of CRO amongst other things. We have slowly learnt that there are many changes that need to happen to our site; however...do we need to re SEO all the content that is already on the website or can we purely start a fresh with the new products we feed through? The website is: www.onlineforequine.co.uk if you need to take a look at the kind of platform we are working with.
Intermediate & Advanced SEO | | onlineforequine0 -
Changing URL Structure
We are going to be relaunching our website with a new URL structure. My question is, how is it best to deal with the migration process in terms of old URLS appearing whilst we launch the new ones. How best should we launch the new structure, considering we've in the region of 10,000 pages currently indexed in Google.
Intermediate & Advanced SEO | | NeilTompkins0