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.
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
-
What are best page titles for sub-domain pages?
Hi Moz communtity, Let's say a website has multiple sub-domains with hundreds and thousands of pages. Generally we will be mentioning "primary keyword & "brand name" on every page of website. Can we do same on all pages of sub-domains to increase the authority of website for this primary keyword in Google? Or it gonna end up as negative impact if Google consider as duplicate content being mentioned same keyword and brand name on every page even on website and all pages of sub domains? Thanks
Intermediate & Advanced SEO | | vtmoz0 -
Parking page for domain names
Hi all, I represent a hosting company which has thousands of domain names that is parked for the clients until they start using them. Currently we are presenting the client and visitors information about the situation in the top of the pages and we have placed information about all the main products in the last part of the page. You can see an example here:
Intermediate & Advanced SEO | | proisp-no
http://prodesign.no/ Would you recommend utilizing these pages in a better way than how we are doing today (SEO wise towards our own website)? We have the ability to instantly change all of these pages at once and we are also able to present different pages for every single parked domain name if we want to. Best regards,
Jon0 -
Links / Top Pages by Page Authority ==> pages shouldnt be there
I checked my site links and top pages by page authority. What i have found i dont understand, because the first 5-10 pages did not exist!! Should know that we launched a new site and rebuilt the static pages so there are a lot of new pages, and of course we deleted some old ones. I refreshed the sitemap.xml (these pages are not in there) and upload it in GWT. Why those old pages appear under the links menu at top pages by page authority?? How can i get rid off them? thx, Endre
Intermediate & Advanced SEO | | Neckermann0 -
Multi Store On Page Optimization
We have an online multistore which is running in three different countries. For Example: yourdomain.com yourdomain.com/us-en/ yourdomain.com/wo-en yourdomain.com/ch-fr/ Should I create different meta tags for different stores or should I just use Hreflang Tag? Should we create meta tags for individual store?
Intermediate & Advanced SEO | | Envisionecommerce0 -
301'd an important, ranking page to the wrong new page, any recourse?
Our 1,300 page site conversion from static html to Wordpress platform went flawlessly with the exception of 1 significant issue....an old, important, highly ranking page was 301 redirected to the wrong corresponding new page. The page it was redirected to is about a similar product, but not the same. This was an oversight that slipped through. It was brought to my attention when I noticed this new page was still holding the old page's rankings but the bounce rate skyrocketed (clearly because the content on the wrong new page was not relevant). Once identified, we cleaned up the redirect. My fear is that all the juice built up on the old .html page that ranked well has now permanently been passed to an irrelevant, insignificant page. -Is there any way to clean up this mistake? -Is there anything I can do to assist Google in associating the correct 'new' page with correct 'old' page after the wrong redirect was initially set-up? -Am I going to have to start from scratch with the new page in terms of trust, backlinks, etc. since google already noted the redirect? Thanks!
Intermediate & Advanced SEO | | seagreen0 -
301 redirect for page 2, page 3 etc of an article or feed
Hey guys, We're looking to move a blog feed we have to a new static URL page. We are using 301 redirects but I'm unsure of what to regarding page 2, page 3 etc. of the feed. How do I make sure those urls are being redirected as well? For example: Moving FloridaDentist.com/blog/dental-tips/ to a new page url FloridaDentist.com/dental-tips. So, we are using a 301 on that old url to the new one. My questions is what to do with the other pages like FloridaDentist.com/blog/dental-tips/page/3. How do we make sure that page is also 301'd to the new main url?
Intermediate & Advanced SEO | | RickyShockley0 -
Is there an optimal ratio of external links to a page vs internal links originating at that page ?
I understand that multiple links fro a site dilute link juice. I also understand that external links to a specific page with relevant anchortext helps ranking. I wonder if there is an ideal ratioof tgese two items
Intermediate & Advanced SEO | | Apluswhs0 -
Why duplicate content for same page?
Hi, My SEOMOZ crawl diagnostic warn me about duplicate content. However, to me the content is not duplicated. For instance it would give me something like: (URLs/Internal Links/External Links/Page Authority/Linking Root Domains) http://www.nuxeo.com/en/about/contact?utm_source=enews&utm_medium=email&utm_campaign=enews20110516 /1/1/31/2 http://www.nuxeo.com/en/about/contact?utm_source=enews&utm_medium=email&utm_campaign=enews20110711 0/0/1/0 http://www.nuxeo.com/en/about/contact?utm_source=enews&utm_medium=email&utm_campaign=enews20110811 0/0/1/0 http://www.nuxeo.com/en/about/contact?utm_source=enews&utm_medium=email&utm_campaign=enews20110911 0/0/1/0 Why is this seen as duplicate content when it is only URL with campaign tracking codes to the same content? Do I need to clean this?Thanks for answer
Intermediate & Advanced SEO | | nuxeo0