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
-
Wordpress: Why do the URLs of my posts keep changing to match the posts titles?
I'll try to keep this brief. The URLs of my posts keep snapping back to exactly match their post titles, no matter how often I try to change them. e.g. title: How to Tie Your Shoelaces desired URL: tie-shoelaces BUT actual URL: how-to-tie-your-shoelaces Anyone come across/ resolved this issue before?
On-Page Optimization | | GerardAdlum0 -
Weird 404 Error URL's - Where to redirect?
For some reason, I end up with a bunch of weird 404 error URLs like these. /KRVWZ/SVfSZ/ /wp-content/upl /MKWTZ/RKYQZ/ /wp-content/upload What should I do with them? Should I redirect them or is there a better way to do something with them. I do use Yoast Premium if that makes a difference. Thanks in advance.
On-Page Optimization | | photoseo10 -
can we include iframe content if we properly reference the source in the url?
can we safely include iframe content if we properly source the source url. eg we have a travel company we are looking to produce another website, but use the same hotel descriptions in the hotel directory. can we do this?
On-Page Optimization | | Direct_Ram0 -
Important keywords in product names
Hi! among other we sell motorcycle clothing, which you can buy as a set (both jacket and pants) or single piece. Currently we name the products with the labeling in the beginning, e.g: Motorcycle pants R2000, Motorcycle jacket R2000, Motorcycle kit R2000 Motorcycle pants R4000, Motorcycle jacket R4000, Motorcycle kit R4000 This is causing keyword stuffing and cannibalization in the category pages as all the product names include important keywords. On the other hand it would be beneficial to keep the labeling in the name for search queries for the exact product. What be your recommendations? I tend to take the labeling away.
On-Page Optimization | | RomiSverige0 -
CSS family names and whitespace
A CSS validation notes the following: Family names containing whitespace should be quoted. If quoting is omitted, any whitespace characters before and after the name are ignored and any sequence of whitespace characters inside the name is converted to a single space. Not sure what this means or how to fix. Help. thanks
On-Page Optimization | | casper4340 -
Slash at the end of a url
I keep reading contradicting information, so I figured I'll ask here. What's the best practice for slash '/' at the end of a URL? Should it be idealchooser.com/search/laptop/ or idealchooser.com/search/laptop (no trailing slash)? The options: 1. Accept both equally 2. Accept 1 and redirect the other with 301 3. Accept 1 and treat the other as a wrong URL returning 404 Which would be the best for SEO? Thank you.
On-Page Optimization | | corwin0 -
What is the best way to handle e-commerce Product title names?
Hello, I'm having a little bit of a conundrum, and I'm hoping someone will be able to help! We have an ecommerce site, and were trying to figure out what is the most SEO friendly way to handle product titles. With our ecommerce software, it currently sets the Product title as the H1 tag (which could be changed if needed). In addition, the product title is what is used as anchor text for any built in links that the ecommerce software builds from the category pages, etc (just like any other ecommerce site). Here's where I'm stuck. I'm trying to determine if it makes sense to use the specific keyword we are aiming for as the product title, or to put variations of the title that would be more descriptive. Here is an example: We have a Wizard of Oz Dorothy Deluxe Girls Shoes. According to all accounts, the best keyword to attack for this would be "dorothy shoes". However, it loses the more accurate description of "Wizard of Oz Dorothy Deluxe Girl Shoes". But, my thinking is that the H1 tag and anchor text would make more sense to use the term "Dorothy Shoes". The title tag could go something like this: "Wizard of Oz Dorothy Deluxe Girls Shoes | Dorothy Shoes" In a situation like this, what do you think would be the "best" way to handle the title tag, product name, H1 tag, and anchor text? I'm sure there will be many different opinions, so I would like to hear what you think is best - and why.
On-Page Optimization | | clickshipcommerce0 -
Redirecting to a keyword-rich domain URL
It's best practice to choose a domain that has keyword in it. But if someone has just launched a website and the domain name does not have keyword, is it better to purchase a new domain name that has a keyword in the name and redirect existing domain to the new domain? Will that help SEO? (This just launched website does not have any traffic or links yet.)
On-Page Optimization | | Amjath0