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
-
Should i be using shortcodes for my my page content.
Hello, I have a question. Sorry if this is been answered before. Recently I decided to do a little face lift to my main website pages. I wanted to make my testimonials more pretty. Found this great plugin for testimonials which creates shortcodes. I love how it looks like, but just realised that when I use images in shortcodes, these are not picked up by search engines 😞 only text is. Image search ability is pretty important for me and I'm not sure if I should stick with my plain design and upload images manually with all alt tags and title tags or there is a way to adjust shortcode so it shows images to search engines. You can see example here. https://a-fotografy.co.uk/maternity-photographer-edinburgh/ Let me know your thoughts guys. Regards, Armands
Web Design | | A_Fotografy1 -
URL Structure
Hello, Within the last few months, my company launched a brand new website for our clients. Unfortunately, the web developers we went through aren't very knowledgeable on SEO practices and as a result, our URL structure is a total mess. I'm looking for some advice on the best way to go about a possible restructure of the URL's or what you suggest I should do from here. Any advice helps. Thanks! Lauren McLaughlin
Web Design | | LMcLaughlin0 -
Wordpress: Pages vs Posts vs Portfolio
Hi All, I'm looking to put pen to paper and design my main structual template for my website. I will be creating the new site in Wordpress. My understanding of Wordpress is broken into the Static Pages, Posts and Portfolio. Static PAGE
Web Design | | Mark_Ch
Static one off content.
No tags, categories or archived Posts
content entries, which is listed in reverse chronological order.
Update post entry to maintain overall freshness of your website.
tags, categories & archived Portfolio
????? Question What are the benefits of a portfolio page over Static Pages & Posts When creating feature rich articles should i use static pages, posts or portfolio. Thanks Mark0 -
Using H tags and its maximum Limits
hi..
Web Design | | funclub247
I want to Know what is a Maximum limit of using H tags in One Page : for Eg : I Know That I Can use Only One H1 Tag per Page, What about Other H tag Limit..
h1 - 1 time Maximum
h2 - ..?
h3 - ..?
h4 - ..?
h5 - ..?
h6 - ..?
h7 - ..?
.....
i want to target more than 30 key word using H tag as a header of the paragraph...1 -
Yes or No for Ampersand "&" in SEO URLs
Hi Mozzers I would like to know how crawlers see the ampersand (& or &) in your URLs and if Google frown upon this or not? As far as I know they purely recognise this as "and" is this correct and is there any best practice for implementing this, as I know a lot of people complained before about & in links and that it is better to use it as &, but this is not on links, this is on URLs. Reason for this is that we looking to move onto an ASP.Net MVC framework (any suggestions for a different framework are welcome, we still just planning out future development) and in order to make use of the filter options we have on our site we need a parameter to indicate the difference on a routing level (routing sends to controller, controller sends to model, model sends to controller and controller sends to view < this is pattern of a request that comes in on the framework we will be using). I already have -'s and /'s in the URLs (which is for my SEO structuring) so these syntax can't be used for identifying filters the user clicks or uses to define their search as it will create a complete mess in the system. Now we looking at & to say; OK, when a user lands on /accommodation and they selects De Kelders (which is a destination in our area) the page will be /accommodation/de-kelders on this page they can define their search further to say they are looking for 5 star accommodation and it should be close to the beach, this is where the routing needs some guidance and we looking to have it as follow: /accommodation/de-kelders/5-star&close-to-the-beach. Now, does the "&" get identified by search engines on a URL level as "and" and does this cause any issues with crawling or indexation or would it be best to look at another solution? Thanks, Chris Captivate
Web Design | | DROIDSTERS0 -
Website using javascript to serve up content - SEO Friendly?
I'm checking out a dentist website http://www.sagedentalnj.com/ I was referred by a friend so just taking a little peek at it. When you click on the menu items, the url at the top doesn't change. When you view source, the page titles are all the same. when I do site:http://www.sagedentalnj.com/ none of his pages are indexed by google. What can be done with his site so that google sees his pages? Maybe submit sitemap?
Web Design | | Czubmeister0 -
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 -
Websites using Flash?
Can you optimise websites using flash? is it exactly the same aspects to optimise or does it cause problems??
Web Design | | wazza19850