Should I replace underscores in page file names with hyphens?
-
Many of the 1000s of pages at our Web store that were established several years ago but still relevant today have underscores separating words in page file names. For example: http://www.audiobooksonline.com/whats_new_compact_disc_audiobooks_audio_books.html
Should I replace the underscores with hyphens like this:
http://www.audiobooksonline.com/whats-new-compact-disc-audiobooks-audio-books.html
or should I duplicate pages with underscores using hyphens and have the older pages with underscores 304 re-directed to the new pages with hyphens?
-
No worries. And, I agree with you on the drawbacks. I know I've made changes like this before and caused more problems than I think I had in the first place
-
Shoot, I just realized I linked to the same video. Thumbs up for that.
-
Hi Larry,
Truth be told - I would leave them alone.
It's true that Google treats underscores differently than dashes - or at least they did as recently as 2011. In this Webmaster Video, Matt Cutts explains that underscores act as a "joiner" - joining the two words together.
http://www.youtube.com/watch?feature=player_embedded&v=AQcSFsQyct8
But he also states that it's a minor effect, that's it's not worth changing if you don't have to.
I happen to agree with Matt on this. Changing your urls and/or redirecting them usually doesn't cause much problems, but in certain cases it can have a negative effect on your SEO, resulting in a loss of traffic and rankings. We generally advise folks not to change your URLs unless you have to - and in this case you don't have to.
CAVEAT: The only situation I would actually advise you to make this change is if you were overhauling your website/CMS and had to change your URL structure anyway. In this situation it would make sense, and you would want to redirect the old URLs via 301 to the new structure.
Hope this helps! Best of luck with your SEO.
-
Check out the attached video.
If it were me, I would look at the link profile of the pages that could potentially change and, assuming I didn't find something that told me to just keep it as is, I'd make the change and then 301 all of the underscored URLs to the rewritten URLs.
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
-
Few pages without SSL
Hi, A website is not fully secured with a SSL certificate.
Intermediate & Advanced SEO | | AdenaSEO
Approx 97% of the pages on the website are secured. A few pages are unfortunately not secured with a SSL certificate, because otherwise some functions on those pages do not work. It's a website where you can play online games. These games do not work with an SSL connection. Is there anything we have to consider or optimize?
Because, for example when we click on the secure lock icon in the browser, the following notice.
Your connection to this site is not fully secured Can this harm the Google ranking? Regards,
Tom1 -
Drop in Indexed pages
Hope everyone is having an Awesome December! I first noticed a drop in my index in the beginnings of November. My site drop in indexed pages from 1400 to 600 in the past 3-4 weeks. I don't know the cause of it, and would like the community to help me figure out why my indexing has dropped. Thank you for taking time out of your schedule to read this.
Intermediate & Advanced SEO | | BSC0 -
Pages Disappearing from Search
Hi, We have had a strongly ranking site since 2004. Over the past couple of days, our Google traffic has dropped by around 20% and some of our strong pages are completely disappearing from the rankings. They are still indexed, but having ranked number 1 are nowhere to be found. A number of pages still remain intact, but it seems they are increasingly disappearing. Where should we start to try and find out what is happening? Thanks
Intermediate & Advanced SEO | | simonukss0 -
Help with duplicate pages
Hi there, I have a client who's site I am currently reviewing prior to a SEO campaign. They still work with the development team who built the site (not my company). I have discovered 311 instances of duplicate content within the crawl report. The duplicate content appears to either be 1, 2, or 3 versions of the same pages but with differing URL's. Example: http://www.sitename.com http://sitename.com http://sitename.com/index.php And other pages follow a similar or same pattern. I suppose my question is mainly what could be causing this and how can I fix it? Or, is it something that will have to be fixed by the website developers? Thanks in advance Darren
Intermediate & Advanced SEO | | SEODarren0 -
Putting "noindex" on a page that's in an iframe... what will that mean for the parent page?
If I've got a page that is being called in an iframe, on my homepage, and I don't want that called page to be indexed.... so I put a noindex tag on the called page (but not on the homepage) what might that mean for the homepage? Nothing? Will Google, Bing, Yahoo, or anyone else, potentially see that as a noindex tag on my homepage?
Intermediate & Advanced SEO | | Philip-DiPatrizio0 -
Category Pages up - Product Pages down... what would help?
Hi I mentioned yesterday how one of our sites was losing rank on product pages. What steps do you take to improve the SERPS of product pages, in this case home/category/product is the tree. There isn't really any internal linking, except one link from the category page to each product, would setting up a host of internal links perhaps "similar products" linking them together be a place to start? How can I improve my ranking of these more deeply internal pages? Not just internal links?
Intermediate & Advanced SEO | | xoffie0 -
Pages that were ranking now are not?
Hi Folks Noticed something strange just now pages that were ranking on position 10 on Google for searches such as 'ufc trainer kinect best price' at the start of this week are no longer ranking? Is what has happened to the site the famous google dance or sandbox effect as the site only officially went live on Monday If this is the case what is the recommended course of action to get back ranking competitively again? as I have no idea on what has gone wrong as I has always tried to follow best practice from these forums and the SEOMOZ and YOUMOZ articles My site is www.cheapfindergames.com Many Thanks Ian
Intermediate & Advanced SEO | | ocelot0 -
There's a website I'm working with that has a .php extension. All the pages do. What's the best practice to remove the .php extension across all pages?
Client wishes to drop the .php extension on all their pages (they've got around 2k pages). I assured them that wasn't necessary. However, in the event that I do end up doing this what's the best practices way (and easiest way) to do this? This is also a WordPress site. Thanks.
Intermediate & Advanced SEO | | digisavvy0