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
-
Virtual URL Google not indexing?
Dear all, We have two URLs: The main URL which is crawled both by GSC and where Moz assigns our keywords is: https://andipaeditions.com/banksy/ The second one is called a virtual url by our developpers: https://andipaeditions.com/banksy/signedandunsignedprintsforsale/ This is currently not indexed by Google. We have been linking to the second URL and I am unable to see if this is passing juice/anything on to the main one /banksy/ Is it a canonical? The /banksy/ is the one that is being picked up in serps/by Moz and worry that the two similar URLs are splitting the signal. Should I redirect from the second to the first? Thank you
On-Page Optimization | | TAT1000 -
Will page be marked as 404 if you replace country specific letters from url?
What I'm reffering to is replacement of Polish characters from i.e "ł" to "l" or "ę" to "e". I believe it relates same way as other similar Slavic languages.
On-Page Optimization | | Optimal_Strategies0 -
301 and the base URL
Hi, please bear with me as I'm pretty new to all this! I've my base URL but obviously want to add keywords to it for seo purposes. Should I redirect from the base URL to the URL with the keywords appended? So my landing page goes from say www.moz.com to www.moz.com/keywords-here. If I do that, should I replicate all the meta data (descriptions etc) on the original landing page? Or does it not matter? Thanks, Nick
On-Page Optimization | | nickwoodward0 -
Image naming best practices?
While I have found many good sources of information for naming images for SEO purposes, I'm having trouble finding an up-to-date, exhaustive and authoritative source for image names, alt tags, etc. For instance... Max characters for image name? Max hyphens? How descriptive should you be? "ice-cream-flavors-icon_._jpg" or "ice-cream-flavors.jpg" or simply "ice-cream.jpg" How similar should the image name, alt text and page title be? At what point are you overusing a keyword? Rules to follow? So much more, but you get the idea! Anyone have a good reference or an answer to all things related to images and SEO? Thanks!
On-Page Optimization | | OSD0 -
Title tag and URL Optimization
Hello guys, Should the URL reflect the structure of the title of a webpage? This is the old title with the Url: 20mm O/D Black Polypropylene LSZH Flexible Conduit 100m Coil /Product/20mm-o-d-black-polypropylene-lszh-conduit-100m-coil/1352 I changed the keyword position and it looks like this: 20mm Flexible Conduit | O/D Black Polypropylene LSZH | 100m I kept the same Url for now, should I change that too? Thanks
On-Page Optimization | | PremioOscar0 -
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 -
Which Canonical URL Tag tag should we remove?
Hi guys, We are in the process of optimizing the pages of our new site. We have used the 'on page' report card feature in the Seomoz Pro Campaign analyser. On several pages we got the following result No More Than One Canonical URL Tag Number of Canonical tags <dl> <dd>2</dd> <dt>Explanation</dt> <dd>The canonical URL tag is meant to be employed only a single time on an individual URL (much like the title element or meta description). To ensure the search engines properly parse the canonical source, employ only a single version of this tag.</dd> <dt>Recommendation</dt> <dd>Remove all but a single canonical URL tag</dd> </dl> I have looked into the source code of one of the pages http://www.sabaileela.co.uk/acupuncture-london and can see that there are two "canonical" tags. Does anyone have any advise on which one I should ask the developer to remove? I am not sure how to determine the relative importance of either link.
On-Page Optimization | | brian.james0 -
On page Analysis... how does seomoz choose to match a keyword to a url?
On my "On Page" analysis report it show me a couple pages that have D ratings... one key phrase is "my destination lodging" and it is matching it up with a url like mydomain.com/my-destination-hotels.html. It says I'm ranking 37th for this term.... Is it just suggesting that I optimize this url because it is already ranking for that term? So should I create a different page with a different url to better match this phrase? Thanks for any ideas.
On-Page Optimization | | PillarMarketing0