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
-
Weight of content further down a page
Hi, A client is trying to justify a design decision by saying he needs all the links for all his sub pages on the top level category page as google won't index them; however the links are available on the sub category and the sub category is linked to from the top level page so I have argued as long as google can crawl the links through the pages they will be indexed and won't be penalised. Am I correct? Additionally the client has said those links need to be towards the top of the page as content further down the page carries less weight; I don't believe this is the case but can you confirm? Thanks again, Craig.
Intermediate & Advanced SEO | | CSIMedia1 -
Location Pages On Website vs Landing pages
We have been having a terrible time in the local search results for 20 + locations. I have Places set up and all, but we decided to create location pages on our sites for each location - brief description and content optimized for our main service. The path would be something like .com/location/example. One option that has came up in question is to create landing pages / "mini websites" that would probably be location-example.url.com. I believe that the latter option, mini sites for each location, would be a bad idea as those kinds of tactics were once spammy in the past. What are are your thoughts and and resources so I can convince my team on the best practice.
Intermediate & Advanced SEO | | KJ-Rodgers0 -
Swapping page keyword?
If we have swopped the keyword (leaflet printing) from this page http://www.fastprint.co.uk/leaflet-flyer-printing/ and moved it to http://www.fastprint.co.uk/ But the inner page is still ranking for the keyword is there a way to tell Google?
Intermediate & Advanced SEO | | BobAnderson0 -
I have 2 keywords I want to target, should I make one page for both keywords or two separate pages?
My team sells sailboats and pontoon boats all over the country. So while they are both boats, the target market is two different types of people... I want to make a landing page for each state so if someone types in "Pontoon Boats for sale in Michigan" or "Pontoon boats for sale in Tennessee," my website will come up. But I also want to come up if someone is searching for sailboats for sale in Michigan or Tennessee (or any other state for that matter). So my question is, should I make 1 page for each state that targets both pontoon boats and sailboats (total of 50 landing pages), or should I make two pages for each state, one targeting pontoon boats and the other sailboats (total of 100 landing pages). My team has seen success targeting each state individually for a single keyword, but have not had a situation like this come up yet.
Intermediate & Advanced SEO | | VanMaster0 -
Imange name and html page name same are count spammy contents ?
Imange name and html page name same is count spammy contents ex. watertreatment - plan.jpg watertreatment - plan.html
Intermediate & Advanced SEO | | Poojath0 -
NoIndex Purchase Page
We ran a ScreamingFrog report of one of our websites and found that there are thousands of instances of a single page with a different URL parameter, for example: purchase.cfm?id=1234
Intermediate & Advanced SEO | | ErnieB
purchase.cfm?id=1235
purchase.cfm?id=1236
purchase.cfm?id=1237 and we do not need purchase.cfm to be indexed for any reason as there is practically no content on that page to begin with, but it's just part of the purchase steps in our website. What is the best way to deal with this for Google & SEO? Should we do a Meta NoIndex of this purchase.cfm page? Thank you.0 -
Merging your google places page with google plus page.
I have a map listing showing for the keyword junk cars for cash nj. I recently created a new g+ page and requested a merge between the places and the + page. now when you do a search you see the following. Junk Cars For Cash NJ LLC
Intermediate & Advanced SEO | | junkcars
junkcarforcashnj.com/
Google+ page - Google+ page the first hyperlink takes me to the about page of the G+ and the second link takes me to the posts section within g+. Is this normal? should i delete the places account where the listing was originally created? Or do i leave it as is? Thanks0 -
Brand Name in Domain name
I am thinking to make a site for amazon affiliate ,but hesitate to get a domain name related to brand name like samsungxxxxxxxxx.com .getting such domain name is good or bad ? advice me to proceed
Intermediate & Advanced SEO | | innofidelity0