Is there any difference in using an underscore vs. a dash in the directory portion of the url?
-
A friend who is a software developer asked this question regarding the directory portion of the url: Is it better to use dashes or underscores? I know in the domain name Matt Cutts recommends dashes, but what about the directory extension?
-
As far as I know underscores are not seen as separators so that means two words with an underscore between will be tagged as one word.
My personal suggestion is to avoid underscores as much as possible. All separators are good beside underscores.
We work a lot with hyphens and the results are good.
Hope it helps !
-
Hyphens are always best! Good luck.
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
-
I am Using <noscript>in All Webpage and google not Crawl my site automatically any solution</noscript>
| |
Web Design | | ahtisham2018
| | <noscript></span></td> </tr> <tr> <td class="line-number"> </td> <td class="line-content"><meta http-equiv="refresh" content="0;url=errorPages/content-blocked.jsp?reason=js"></td> </tr> <tr> <td class="line-number"> </td> <td class="line-content"><span class="html-tag"></noscript> | and Please tell me effect on seo or not1 -
Multiple H1 Tags for different section on one webpage in HTML5 Website? Should I have only one?
https://www.tcs.com website has multiple H1 tag on around 40 out of 1000 pages. Webpage has different section and each section is important that's why used multiple H1 tag (one h1 for each section) **I understand, google will not penalize for multiple H1. But having multiple H1, for site like tcs, is it good or should use only one H1 tag? **Pls check https://www.tcs.com to see heading tag(6 heading tag used).
Web Design | | JayprakashSEO0 -
Second Store URL
Our store has been up and running for about 18 months and has been more successful than expected. Unfortunately we have run into a few minor issues with customers wanting to pick up in store but much of the online parts we sell are drop ship. We have made the decision to open a second store. One will support our brand (using current URL)and reflect products and pricing we offer at our B&M locations. The second will continue down the path we have been going but under a completely different brand (and URL) in no way tied to our B&M stores. My question is this: Would it be smarter to re brand the store we have now and change the URL.?We would then create the second site as our corporate branded site. Or do we adjust the currently site and then create a second site with the new brand. The only real hold up is that the re branded store will generate far more revenue and the current site is optimized very well. However if i change the URL the optimization will go out the window .
Web Design | | Rillik0 -
The impact of using directories without target keyword on our Rankings
Hello all, I have a question regarding a website I am working on. I’ve read a lot of Q en A’s but couldn’t really find the best answer. For one of our new websites we are thinking about the structure of this website and the corresponding URL-structure. Basically we have a main product (and a few main keywords) which should drive the most traffic to our website, and for which we want to optimize our homepage. Besides those main keywords, we have an enormous base of long-tail keywords from which we would like to generate traffic. This means we want to create a lot of specific pages which are optimized. My main question is the following: We are thinking of two options: Option 1: www.example.com/example-keyword-one Option 2: www.example.com/directory/example-keyword-one With option 1 we will link directly from our homepage to the most important pages (which represent our most important keywords). All the pages with the long tail content will be linked from another section on our website, which is one click away from our homepage (specifically a /solutions page which is linked from the footer). All the pages with long-tail content will have this structure www.example.com/example-keyword-one so the URLs will not contain the directory /solutions With option 2 we will use more subdirectories in our URLs. Specifically, for all the long tail content we would use URLs like this: www.example.com/solutions/example-keyword-one
Web Design | | NielsB
The directories we want to use wouldn't really have added value in terms of SEO, since they don’t represent important keywords. So what is the best way to go? Option 1, straightforward, short URL’s which don’t really represent the linking structure of our website, but only contain important keywords. Or option 2, choose for more directories in our URLs which represent the linking structure of our website, but contain directories which don’t represent important keywords. Would the keyword ‘solutions’ in the directory (which doesn’t really relate to the content on the page) have a negative impact on our rankings for that URL?0 -
Bizarre PDF URL string
Hey folks, I'm getting literally hundreds of Duplicate Title and Duplicate Content errors for a site, and most of them are a result of the same issue. The site uses javascript container pages a lot, but each gets their own URL. Unfortunately, it seems like each page is also loading all the content for all the other pages, or something. For instance, I have a section of the site under /for-institutions/, and then there are 5 container pages under that. Each container page has it's own URL, so when you select it, you get the URL /for-institutions/products/ or /for-institutions/services/ etc. However, the institutions container page doesn't change, just the content within. In my SEO results, I'm getting the following: /for-institutions/$%7Bpdf%7D/ /for-institutions/$%7Bpdf%7D/$%7Bpdf%7D/ etc, each as a duplicate title and content page. How can I eliminate this? Is there a regular expression that rewrites URL segments beginning with $ ? For your reference: The page is set up so that any URL that doesn't exist just refers to the subdirectory. /for-institutions/$%7Bpdf%7D/ displays /for-institutions/, but does not rewrite the URL. So too if I were to enter /for-institutions/dog.
Web Design | | SpokeHQ0 -
What is the difference between a bunch of microsites and a link network?
Hello SEO community. I have started an online marketing company that focuses on a specific niche and have been researching how micro sites can be beneficial for SEO. For example the "Nifty" presentation mentioned how micro sites are going to be key for local seo. However I have also heard that link networks are increasingly bad and are penalized by the Panda updated. While we are writing good, original content for our clients, I like the microsites because: URL - we can choose urls for the main keywords Content Focus - we can focus on specific content Ranking - these sites seem to rank pretty well Citations - we are able to give citations for our clients from these sites But am I worried, am I creating a link network? Even thought I am putting out useful, good content, is this more hurting me than helping me? Should I give up on this strategy or continue? Help!
Web Design | | jshiraz0 -
Entering different but related industry, keep it on the same domain or new domain?
We rank well across many online furniture keywords within google.ie here in Ireland, this is our core business and it is successful. Now we want to branch out into the related field of "kitchens". So the question is do we setup a new domain (a sister site) or keep it on the same domain with a new sub category. So the main categories off the home page would be: Sofas Bedroom Furniture Dining Furniture Kitchens I know all the benefits of keeping to the one domain (the domain has age, and already has DA of 30 with many landing pages with PA from 30 to 49), so for the short term SEO angle keep it on the same domain. But from a Branding perspective this is not a great approach. Is it better to have a dedicated domain/site for kitchens (and the bonus of having a keyword match in the domain)? We are always thinking longer term so we see this as a 3 year plan outwards rather than a get rich quick. There is an additional overhead of course with managment of the domain, templates SSL, PCI etc etc and we are conscious that a new domain is not a easy route to success. Looking at the top 10 for the main keywords within the "kitchen" keyword cloud most if not all are dedicated kitchen sites, or kitchens are the main business so their homepage is there kitchens landing page. The competition in the google.ie space have 20-30 DA and PAs roughly 30 being the highest DA, we are thinking that this has not a huge challenge to overcome? Thanks for any help, assistance or comments really appreciated. Ware regards, Eunan @ Love Furniture
Web Design | | eunaneunan0