URL extensions naming
-
I have always wrote URL extensions as www.mysite.com/two_words.html .... when I need to separate two words, I use _ as the separator ...
I am a first time SEO Moz user ... I
While looking around the tools on SEO Moz, I happened to stumble across the on-page analysis.
A great tool indeed, rather worryingly though, one issue it flagged to me was my URL extension
"Characters which are less commonly used in URLs may cause problems with accessibility, interpretation and ranking in search engines. It is considered a best practice to stick to standard URL structures to avoid potential problems."
Can someone advice me if this really is a problem, its just not this project, its tons of sites I have already developed that I am also worried about ...
I always write file extensions with more than one word using _ to separate the words.
How should I write the extension, I am almost embarrassed to ask this question ...
Surely, even Google's algorithms are not smart enough to decipher two words without some some sort of spacing ....
Regards
J
-
Thanks ....
Hmmm, I learn something new everyday .... Well I learn lots, but this one in particular will inevitably lead me to changing very old habits
-
Adam is correct,
When I was hired at my company 3 years ago everything was underscores, so I had to evaluate if renaming would be beneficial. At the time I came across this video from Matt Cutts
What I took away from this is the following, which I use today as general guidelines.
If the page already exist and is performing well
I leave it as itIf the page already exist but isn't performing well and only has 2 keywords separated
Content Update, and re-evaluate a month of so laterIf the page already exist isn't performing well and is separating 3 or more keywords with underscores (red_delicious_apples.html) Content update, and switch to dashes and 301 direct old page to new page
If the page is a new page
Just use dashesThat is my general strategy for handling pages. There are other things to consider such as site uniformity, some owners/marketing directors don't like their sites urls to be mixed, and some sites which use CMS systems may have to go for an all or none approach.
I hope that helps.
-
Generally it is considered best practice to separate words using a hyphen (-) rather than an underscore (_) as Google recognises hyphens as spaces. It also looks much neater using hyphens in urls as opposed to underscores which is why I advise using hyphens instead.
However, it doesn't really make a huge difference as Google can generally recognise the keywords without the use of hyphens. There are of course exceptions to this. The most famous example of this being www.expertsexchange.com. I'm sure you can see the issues with this domain.
Hope this helps.
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
-
Updating url name of a key page
One of my key pages has a url name that is completely non descriptive ('About') with no keywords in it that match the important content on that page. Should I create a new page with a proper url name and move the contents there (lose the authority of the current page), or create the url name only and redirect to the existing About page?
On-Page Optimization | | ppopov0 -
Two URL's for the same page
Hi, on our site we have two separate URL's for a page that has the same content. So, for example - 'www.domain.co.uk/stuff' and 'www.domain.co.uk/things/stuff' both have the same content on the page. We currently rank high in search for 'www.domain.co.uk/things/stuff' for our targeted keyword, but there are numerous links on the site to www.domain.co.uk/stuff and also potentially inbound links to this page. Ideally we want just the www.domain.co.uk/things/stuff URL to be present on the site, what would be the best course of action to take? Would a simple Canonical tag from the '/stuff' URL which points to the '/things/stuff' page be wise? If we were to scrap the '/stuff' URL totally and redirect it to the 'things/stuff' URL and change all our on site links, would this be beneficial and not harm our current ranking for '/things/stuff'? We only want 1 URL for this page for numerous reasons (i.e, easier to track in Analytics), but I'm a bit cautious that changing the page that doesn't rank may have an affect on the page that does rank! Thanks.
On-Page Optimization | | Jaybeamer2 -
Which URL Structure is best for New Website?
Hello All, I have one client and he want to develop his website but the he want the URL structure for his website page like below: http://www.example.com/category/xxproduct.html But I have suggest him below URL Structure http://www.example.com/category/xx-product.html So Can you people please suggest me that from above which URL structure is better from SEO side as well as from Visual side..? Is using - is better to separate the words in URL?
On-Page Optimization | | jemindesai0 -
What are the benefits of the URL meta tag?
We have too many meta tags and want to get rid of all the outdated ones. However, we don't want to eliminate valuable meta tags by mistake. So, before we say goodbye to the URL meta tag, we want to make sure we understand the pros and cons, if any. By the way, we are not referring to canonical URL tags, just URL as in:
On-Page Optimization | | GRIP-SEO0 -
Meta refresh - nojavascript url
seomox is telling me that I am getting a page that is not being indexed or crawled and since the crawl status code is 200 and there are no robots the meta-refresh url must be the problem. the meta refresh url is different than the on page report card url as it's the nojavascript url which my developer says should be ok. see his comments below. The is redirecting to http://mastermindtoys.com/store/nojavascript.html only in case if the JavaScript is disabled in the client browser. This is the right way to do it, I don’t understand why this might be a problem, otherwise MM has to implement Noscript pages that have a real content. I didn’t get what’s wrong about accessibility. The code 200 means it is accessible, and yes there is nothing to access if JavaScript is disabled on browser. I think there are no modern retail sites that would do any sensible business with the scripting disabled in browsers.The H1 is really present 2 times and second occurrence can be removed, though I highly doubt about importance of this change.Regarding duplicates – what URLs are considered duplicates? Can you please send me examples?I am not aware of canonical URL problem for MM site unless we consider old .asp links as duplicate links of the canonical product pages. I would appreciate if SEOMoz gave us an example what they mean.I suspect that the page is not getting indexed as a result of this or I'm just not getting a good score. Which is it?
On-Page Optimization | | mastermindtoys0 -
Product sorting and dynamic urls
On our weekly SEOmoz crawls, we get thousands of warnings about overly dynamic URLs as a result of our product sorting options at the top of our category pages. It seems like the ability to sort products by price, name, etc., is nice for the customer. For SEO is this really a problem or can we ignore these warnings?
On-Page Optimization | | teatable0 -
Domain Extension
I am creating a website in canada to target a specific region in my city and was wondering if i should USE a .com, .ca, .org or a .info extension? i can purchaes all, but which should be used? I noticed some other websites have .org or .info instead of .com.....what is the preferred extension for Google?
On-Page Optimization | | Souk0 -
Naming Pictures
Think of our company as a real estate company, having hundreds of homes, each home has an optimized page and comes with a WP light box and 15 specific photos of a property. The code of the property would be unique, and so is the title tag (key phrase) for each property unique. Each property has a picture of the front, the living room, the master bedroom, a bathroom, the pool, the kitchen... Say the home code is HC007FE and the keyword is "greatest home example ever". How would you suggest naming the pictures and additionally the alt txt for these pictures? Thanks for your help!
On-Page Optimization | | Discountvc0